Am 04.10.2011 07:09, schrieb Canek Peláez Valdés:
> On Mon, Oct 3, 2011 at 10:02 PM, Adam Carter <adamcart...@gmail.com> wrote:
>>> By the way, is it possible to use LABELs without and initrd? I'll start
>>> using an initrd before too long, I'll also mess with decorations, but for
>>> now, I'd like to keep my setup simple, no initrd.
>>
>> AND what bootloaders can use LABEL/UUID? Can grub's device.map use them?
> 
> I believe grub uses its own partition scheme (hd(0,0)), so fstab
> should not matter to it unless you use the root= option. But even with
> the root= option, grub can understand labels, and so grub2 (I'm using
> it with labels right now).
> 
> LILO I don't know, I haven't used it in years.
> 
> Regards.

In my experience, grub's partition numbering is more stable than /dev.
hd(0,*) tends to be the device on which grub is installed, even if
device numbering in /dev changes.

The more tricky stuff is defining the root=/dev/* kernel parameter.
Fortunately, starting with 2.6.37, you can use a UUID here as well (but
not label, that support was removed a few years ago):
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=b5af921ec02333e943efb59aca4f56b78fc0e100

Regards,
Florian Philipp

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to