-
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
Lenovo Desktop Computer PC Xeon, up to 32GB RAM, 3TB SSD, Windows 11/10 Pro WiFi
$99.00
HP ProLiant DL380 Gen9 8SFF Server - E5-2698 v3 - 32 Cores- 128 GB Ram - 600 GB
$229.00
Dell Poweredge R630 2x Xeon E5-2670 v3 2.3ghz 24-Cores 32gb 180GB SSD 495w
$169.99
Intel Xeon Gold 6248 SRF90 2.5GHz 20-Core 28MB CPU Processor C5
$139.49
Intel Xeon E5-2697 V2 2.7GHz 12 Core 30M LGA2011 130W SR19H CPU Processor
$24.99
Intel SR2N7 Xeon E5-2680V4 2.40Ghz 14-Core Socket 2011 CPU Processor Broadwell
$15.00
Dell Precision 3640 Tower Intel Xeon W-1250 3.3GHz 16GB RAM 256GB NVME
$225.98
INTEL XEON X5675 3.06GHz FCLGA1366 CPU Processor Tested Working
$11.99
Matched Pair - Intel Xeon E5-2683 v4 2.1GHz 16-Core Processor CPU LGA2011 SR2JT
$39.99
HP ProLiant DL380 Gen10 8SFF Server - Intel Xeon Gold 6142 - 32 Cores- 128GB Ram
$499.00