Re: booting without initrd

From: David Lang
Date: Thu Jun 08 2006 - 16:08:19 EST


On Thu, 8 Jun 2006, Mark Lord wrote:

Rahul Karnik wrote:

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. Note that the reason Fedora uses
the LABEL is so you can move disks around in your system without a problem

Heh.. except for people like me, who regularly swap disks around
to boot from different distros, in which case the LABEL=/ continuously
causes nothing but grief until I remember to edit it away.

not to mention the fact that the label checking code only checks the first several drives (I don't know how many, but I know that it won't find a label on sdq :-)

David Lang
-
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/