-
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
![Quote](images/misc/quote_icon.png)
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 ThinkStation P910 2x Xeon E5-2667 V4 3.20GHZ 128GB DDR4 RAM No HDD TESTED picture](/store/img/cGoAAOSw1Wtl50pg/s-l225//Lenovo-ThinkStation-P910-2x-Xeon-E5-2667-V4-3-20GH.jpg)
Lenovo ThinkStation P910 2x Xeon E5-2667 V4 3.20GHZ 128GB DDR4 RAM No HDD TESTED
$409.95
![Dell Precision 5810 Workstation Xeon E5-1650 6C 3.5GHz 16GB 500GB Win10 K2200 picture](/store/img/60cAAOSwEIll-JnV/s-l225//Dell-Precision-5810-Workstation-Xeon-E5-1650-6C-3-.jpg)
Dell Precision 5810 Workstation Xeon E5-1650 6C 3.5GHz 16GB 500GB Win10 K2200
$149.00
![HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x256GB SSD Quadro K420 NO OS GA picture](/store/img/rIQAAOSwN9Nlnw4a/s-l225//HP-Workstation-Z640-2x-Xeon-E5-2623V4-32GB-Ram-2x2.jpg)
HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram 2x256GB SSD Quadro K420 NO OS GA
$140.23
![Lenovo ThinkStation P920 2x Xeon Gold 6128 3.40GHZ 32GB DDR4 RAM No HDD TESTED picture](/store/img/prkAAOSwafdmmXon/s-l225//Lenovo-ThinkStation-P920-2x-Xeon-Gold-6128-3-40GHZ.jpg)
Lenovo ThinkStation P920 2x Xeon Gold 6128 3.40GHZ 32GB DDR4 RAM No HDD TESTED
$479.99
![Intel Xeon E5-2699 V4 2.2GHZ 22-Core CPU Processor picture](/store/img/e-AAAOSwUktmoW6t/s-l225//Intel-Xeon-E5-2699-V4-2-2GHZ-22-Core-CPU-Processor.jpg)
Intel Xeon E5-2699 V4 2.2GHZ 22-Core CPU Processor
$129.99
![Intel Xeon Gold 6148 SR3B6 20-Core 2.4GHz 27.5MB LGA 3647 Processor picture](/store/img/2dcAAOSwrXRmo6lj/s-l225//Intel-Xeon-Gold-6148-SR3B6-20-Core-2-4GHz-27-5MB-L.jpg)
Intel Xeon Gold 6148 SR3B6 20-Core 2.4GHz 27.5MB LGA 3647 Processor
$80.00
![Intel Xeon E5-2680 V3 2.50Ghz 12 Core 30MB Cache LGA 2011-3 CPU SR1XP Tested picture](/store/img/M1EAAOSwdAdjG8AH/s-l225//Intel-Xeon-E5-2680-V3-2-50Ghz-12-Core-30MB-Cache-L.jpg)
Intel Xeon E5-2680 V3 2.50Ghz 12 Core 30MB Cache LGA 2011-3 CPU SR1XP Tested
$5.90
![Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W picture](/store/img/hLcAAOSwA81iMQ7h/s-l225//Intel-Xeon-E5-2680-V4-CPU-2-4-3-3GHz-14-Core-35M-L.jpg)
Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W
$15.99
![HP Z230 Workstation Towers Xeon E3-1231 V3 3.20ghz 8GB Ram NO HDD picture](/store/img/XR8AAOSwOV9mOOTQ/s-l225//HP-Z230-Workstation-Towers-Xeon-E3-1231-V3-3-20ghz.jpg)
HP Z230 Workstation Towers Xeon E3-1231 V3 3.20ghz 8GB Ram NO HDD
$35.96
![HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X picture](/store/img/itIAAOSwjT9mKCN6/s-l225//HP-Z440-Workstation-18Cores-Xeon-E5-2699-V3-128GB-.jpg)
HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X
$309.99