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

Re: How to boot w/o initrd?



> On Wed, 2004-08-25 at 16:54, Deidre Nair wrote:
> > hd:<patition number>,/boot/vmlinux.old root=/dev/hda4 initrd=initrd.old ro
>
> I tried /boot/vmlinux.old root=/dev/hda2 initrd=initrd.old ro.  I also
> tried root=/dev/discs/disc0/part2 as that is the DevFS version of the
> root paramater you suggested.
>
> It starts off OK but panics when it gets to mounting the root device.
> It always says "cannot open root device hda2 or unknown-block(0,0)".

So it absolutely needs the initrd image, because the drivers for IDE disk
are on it - as modules. The initrd image is loaded into RAM by yaboot -
there's no simple way to have OF boot a kernel that requires initrd. Boot
from CD and fix yaboot.conf.

	Michael



Reply to: