-
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 Soviet Computer Analog ZX Spectrum 48K picture](/store/img/g/bSoAAOSwvGFmhPDN/s-l225/Vintage-Soviet-Computer-Analog-ZX-Spectrum-48K.jpg)
Vintage Soviet Computer Analog ZX Spectrum 48K
$229.99
![NEW Aquarius+ Computer Signature Edition - 8Bit Retro System picture](/store/img/g/IlUAAOSwPmZlBzrJ/s-l225/NEW-Aquarius-Computer-Signature-Edition-8Bit-Retro.jpg)
NEW Aquarius+ Computer Signature Edition - 8Bit Retro System
$209.00
![Vintage Gateway 2000 Computer Intellimouse PC Mouse Pad Excellent NOS Analog Era picture](/store/img/g/4EQAAOSwb5llJfBu/s-l225/Vintage-Gateway-2000-Computer-Intellimouse-PC-Mous.jpg)
Vintage Gateway 2000 Computer Intellimouse PC Mouse Pad Excellent NOS Analog Era
$17.49
![CH Products MACH III Analog Joystick Beige Orange Black.** Untested ** picture](/store/img/g/W0wAAOSwMjNmLZlX/s-l225/CH-Products-MACH-III-Analog-Joystick-Beige-Orange-.jpg)
CH Products MACH III Analog Joystick Beige Orange Black.** Untested **
$49.99
![Apple II V2 ANALOG VGA & Z80 PCPI Applicard Softcard PicoPal IIe Ralle version picture](/store/img/g/F7cAAOSwn8hlkYHJ/s-l225/Apple-II-V2-ANALOG-VGA-Z80-PCPI-Applicard-Softcard.jpg)
Apple II V2 ANALOG VGA & Z80 PCPI Applicard Softcard PicoPal IIe Ralle version
$69.00
![Tandy TRS 80 Computer 2 w/Disc Drive FD-501, Joystick & Original Boxes & Manuals picture](/store/img/g/dToAAOSw~R9mPt-B/s-l225/Tandy-TRS-80-Computer-2-w-Disc-Drive-FD-501-Joysti.jpg)
Tandy TRS 80 Computer 2 w/Disc Drive FD-501, Joystick & Original Boxes & Manuals
$224.99
![Vintage CH Computer Gamer Joystick Gaming7Pin Analog - UNTESTED picture](/store/img/g/Dr8AAOSwfk5mK9mC/s-l225/Vintage-CH-Computer-Gamer-Joystick-Gaming7Pin-Anal.jpg)
Vintage CH Computer Gamer Joystick Gaming7Pin Analog - UNTESTED
$30.00
![Dual Systems AOM-12 Digital to Analog S-100 Computer picture](/store/img/g/YuIAAOSwM5tmC0L9/s-l225/Dual-Systems-AOM-12-Digital-to-Analog-S-100-Comput.jpg)
Dual Systems AOM-12 Digital to Analog S-100 Computer
$95.00
![Extron RGB-160XI Analog Computer Video 60-378-01 picture](/store/img/g/acQAAOSw0rdcMWoG/s-l225/Extron-RGB-160XI-Analog-Computer-Video-60-378-01.jpg)
Extron RGB-160XI Analog Computer Video 60-378-01
$199.00
![Apple 661-0287 5.25](/store/img/g/4cYAAOSwz9hlQ79Z/s-l225/Apple-661-0287-5-25-Unidisk-Analog-CD-Card-Vintage.jpg)
Apple 661-0287 5.25" Unidisk Analog CD Card Vintage 1986 820-0190-A
$154.00