-

Originally Posted by
garyng
I came across this problem once but unfortunately forgot how I fixed it(tried the same init=linuxrc to temperarily work around it, also root=/dev/ram0). I remember somehow I have to re-create the initrd tree(or fs) again from scratch and the problem disappeared.
May be I am asking for stupid question, have you checked the attribute of linuxrc, I remembered I need to change it to 0755.
Of course permission of linuxrc is ok - otherwise it wouldn't have worked as init=/linuxrc.
However, I found the problem and I'm curious why it doesn't ALWAYS happen. The workaround is trivial. I'll explain it here although I'm answering my own question
After digging in the kernel's initrd code for a while, I realized that it checks whether root=/dev/ram0. If it is, ram0 is processed as a real rootfs rather than initrd, which would be ok if the linuxrc script was called init and written differently.
When the kernel gets Knoppix's initrd, it checks for the default rootdev (unless specified in cmdline). If it happens to be /dev/ram0, knoppix won't work and you get a panic due to "No init found". I saw questions about such message in the list before, so this should answer them as well.
The workaround: just specify root=/dev/hda1 or some other non-ram0 device in cmdline. Doesn't matter which, since linuxrc will set it to /dev/ram0 later anyway.
I think knoppix's default cmdline should include root=something, just in case.
Maintainers, care to comment ?
Similar Threads
-
By juerg in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 04-08-2005, 02:45 PM
-
By yakirz in forum Hardware & Booting
Replies: 4
Last Post: 03-10-2005, 01:39 AM
-
By m0r7 in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 04-12-2004, 05:22 AM
-
By alex52 in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 02-01-2004, 06:08 AM
-
By mack in forum Customising & Remastering
Replies: 0
Last Post: 07-25-2003, 12:58 AM
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

Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit NEW
$13.89

V3 Robot Vacuum and Mop Combo,Self-Charging,5000pa Strong Suction,WiFi/Alexa NIB
$82.00

Compressed Air Duster & Vacuum, 320000RPM Rechargeable Mini Electric Blower
$44.99

Trucozie Cordless Vacuum Cleaner, Self-Standing Lightweight Stick Vacuum New Ope
$89.00

US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits
$13.89

Paladone USB Desk Vac Novelty Upright Mini Computer Vacuum Retro Vintage
$59.99

🔥 OEM Shark Cordless Vacuum Charger DK33-248080H-U for Shark Rocket
$18.75

KARDV Cordless Vacuum Cleaner, 500W/40Kpa Vacuum Cleaners for Home, 60Mins St...
$64.99

Gel-Pak Vacuum Release Gel-Paks VR-44-16CC-00B-X4-P0175 – Qty 25 Sets
$109.99

30Sets Lightproof 3D Filament Vacuum Storage Bags Kit with Pump
$29.80