-
starting linuxrc and init
Hi Folks,
I try to build my own Knoppix based CD. For this I try to build my own initrd.
Ok my first problem was that the kernel didn't start my linuxrc. I found the reason. If the
root-Filesystem (root= parameter from syslinux) is the same as ram0 (in my case the initrd-fs) the kernel didn't execute linuxrc and step over to execute init.
(this is in do_mounts.c in function "void prepare_namespace(void)" - Linux 2.4.20)
Ok.. I that this is no problem. I will pass no root boot option (or a wrong) and I'll set this in linuxrc but... in this case the kernel stops because he couldn't load modules and other messages (depending with root-option you give)
My question: Do you know how knoppix handle this issue?
Thanks,
Thomas
-
Senior Member
registered user
You are probally best to start off by remastering before trying to build one from scratch.
see http://www.knoppix.net/docs/index.ph...masteringHowto
also you may be interested to see how to replace the kernel :
http://www.knoppix.net/docs/index.ph...tomKernelHowto
-
Hi eadz,
thx for posting a reply. I read the both Webpages, but they didn't cover my questions.
It would be cool if someone has an idea how to solve this prob.
Thanks,
Thomas
-
Senior Member
registered user
Re: starting linuxrc and init
Originally Posted by
thomas
Hi Folks,
I try to build my own Knoppix based CD. For this I try to build my own initrd.
Ok my first problem was that the kernel didn't start my linuxrc. I found the reason. If the
root-Filesystem (root= parameter from syslinux) is the same as ram0 (in my case the initrd-fs) the kernel didn't execute linuxrc and step over to execute init.
(this is in do_mounts.c in function "void prepare_namespace(void)" - Linux 2.4.20)
Ok.. I that this is no problem. I will pass no root boot option (or a wrong) and I'll set this in linuxrc but... in this case the kernel stops because he couldn't load modules and other messages (depending with root-option you give)
Okay, i'll give it a shot. If i understand correctly, you are trying to boot your initrd filesystem with the root= option. However, to load a filesystem into ram to boot with (as root), you need the initrd= kerneloption instead. Then, linuxrc should be executed like usual.
Hope this helps,
Similar Threads
-
Replies: 0
Last Post: 09-01-2004, 06:20 PM
-
By ManiOne in forum General Support
Replies: 1
Last Post: 08-11-2004, 11:36 AM
-
By bongski55 in forum The Lounge
Replies: 2
Last Post: 05-11-2004, 11:56 AM
-
By darthczyz in forum Customising & Remastering
Replies: 0
Last Post: 04-08-2004, 01:15 PM
-
By berdy in forum General Support
Replies: 12
Last Post: 08-18-2003, 06:25 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
SAMSUNG SSD 870 EVO 2.5" SATA III Solid State Drive 2TB 1TB 500GB 250GB lot
$25.64
ORICO 2.5'' SATA SSD 1TB 2TB 4TB SATA III Internal Solid State Hard Drive SSD
$104.39
ORICO Y20 2TB SSD 2.5" SATA III Internal Solid State Drive 500MB/s 512GB 1TB DIY
$115.99
Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive - TESTED
$23.49
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$15.29
Netac 256GB SSD 2.5'' SATA III 6Gb/s Internal Solid State Drive 500MB/s PC/Latop
$14.39
Netac 2TB 1TB 512GB 240GB Internal SSD 2.5'' SATAIII 6Gb/s Solid State Drive lot
$10.69
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$12.59
ORICO 2.5" SSD 256GB SATA III 6Gbps Internal Solid State Drive SATA3.0 500MB/s
$19.99
Fanxiang SSD sata 4TB SSD 2.5'' SSD 6Gb/s 550MB/s Internal Solid State Drive PC
$183.98