[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Overriding root in initrd?


I have the following problem with my Thecus N2100:

The Thecus won't boot with the installed kernel (stock debian,
vmlinuz-2.6.30-1-iop32x), as it is unable to find its root.
(serial console showing "Waiting for root device")

I traced the problem down; it seems that there is an discrepancy 
betweens Redboot's opionion of the location of the root device,
and the opinion of the initrd.

exec -c "console=ttyS0,115200 root=/dev/ram0 initrd=0xa0800000,42M


exec -c "console=ttyS0,115200 root=/dev/md0 initrd=0xa0800000,42M

would boot the system.

I don't know what changed, but currently I assume that 
a) the initrd should autodetect/override the root=/dev/ram0 to 
b) I should update the redboot boot script

Personally I don't like messing with b), so I'd like to override
to the correct root. 
For that, I'd need a pointer where to look....

Thanks for helping!

(The initrds are crafted with the initramfs-tools.)


Tobias Frost tobi ät coldtobi.de

Reply to: