-
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
![Vintage Windows 98/95 Master Cook Deluxe 5.0 CD-Rom Software Recipes Cookbook picture](/store/img/g/gnsAAOSwcU5kDAQZ/s-l225/Vintage-Windows-98-95-Master-Cook-Deluxe-5-0-CD-Ro.jpg)
Vintage Windows 98/95 Master Cook Deluxe 5.0 CD-Rom Software Recipes Cookbook
$17.95
![Mouse Pad Large Logitech Scanpad Mousepad Scanman New Old Stock Vintage Retro picture](/store/img/g/suUAAOSwlMVg-z7h/s-l225/Mouse-Pad-Large-Logitech-Scanpad-Mousepad-Scanman-.jpg)
Mouse Pad Large Logitech Scanpad Mousepad Scanman New Old Stock Vintage Retro
$17.95
![Vintage Radeon X700 Pro Just Box picture](/store/img/g/qm0AAOSwHrhme3KI/s-l225/Vintage-Radeon-X700-Pro-Just-Box.jpg)
Vintage Radeon X700 Pro Just Box
$30.00
![Vintage Disney Presents The Animation Studio Amiga - RARE USED Software picture](/store/img/g/PuwAAOSwP4Nme5Jo/s-l225/Vintage-Disney-Presents-The-Animation-Studio-Amiga.jpg)
Vintage Disney Presents The Animation Studio Amiga - RARE USED Software
$19.99
![NOS VINTAGE COMPAQ PORTABLE III KEYBOARD NEW IN BOX picture](/store/img/g/qsAAAOSwEvRmeuzq/s-l225/NOS-VINTAGE-COMPAQ-PORTABLE-III-KEYBOARD-NEW-IN-BO.jpg)
NOS VINTAGE COMPAQ PORTABLE III KEYBOARD NEW IN BOX
$150.00
![Vintage ATI VGA Wonder+ ISA VGA Video Graphics Card picture](/store/img/g/jOYAAOSwya1mevYL/s-l225/Vintage-ATI-VGA-Wonder-ISA-VGA-Video-Graphics-Card.jpg)
Vintage ATI VGA Wonder+ ISA VGA Video Graphics Card
$135.00
![BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model picture](/store/img/g/GXUAAOSwWZRmPnHK/s-l225/BlueSCSI-V2-WiFi-Desktop-Modern-Storage-for-Vintag.jpg)
BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model
$53.50
![BlueSCSI V2 WiFi (Narrow DB25) - Modern Storage for Vintage Computers picture](/store/img/g/-Q4AAOSwI3hmPnUb/s-l225/BlueSCSI-V2-WiFi-Narrow-DB25-Modern-Storage-for-Vi.jpg)
BlueSCSI V2 WiFi (Narrow DB25) - Modern Storage for Vintage Computers
$51.50
![Vintage Retro PC Case Beige AT Computer Case w/ PSU picture](/store/img/g/v4sAAOSwjcJmeyuY/s-l225/Vintage-Retro-PC-Case-Beige-AT-Computer-Case-w-PSU.jpg)
Vintage Retro PC Case Beige AT Computer Case w/ PSU
$109.99
![Vintage Commodore 64C Computer Matching #'s w/Power Supply TESTED Works C64 C-64 picture](/store/img/g/NhYAAOSwY89meykV/s-l225/Vintage-Commodore-64C-Computer-Matching-s-w-Power-.jpg)
Vintage Commodore 64C Computer Matching #'s w/Power Supply TESTED Works C64 C-64
$169.95