Re: booting without initrd

From: Arjan van de Ven
Date: Thu Jun 08 2006 - 20:40:16 EST


On Thu, 2006-06-08 at 13:40 -0400, Rahul Karnik wrote:
> On 6/7/06, Ram Gupta <ram.gupta5@xxxxxxxxx> wrote:
> > I am trying to boot with 2.6.16 kernel at my desktop running fedora
> > core 4 . It does not boot without initrd generating the message "VFS:
> > can not open device "804" or unknown-block(8,4)
> > Please append a correct "root=" boot option
> > Kernel panic - not syncing : VFS:Unable to mount root fs on unknown-block(8,4)
>
> AFAIK Fedora sets up the kernel command line with "root=LABEL=/" in
> grub.conf and therefore needs the initrd in order to work correctly.
> If you do not want an initrd, then change this to
> "root=/dev/<your_disk>" in grub.conf.

it's more than that; also udev is used from the initrd to populate a
ramfs /dev, if you go without the initrd you need to populate the
*real* /dev manually first

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/