On 2013-03-07 17:52 (GMT+0100) Johnny A. Solbu composed:

R James wrote:

After the installation, you can edit /boot/grub/menu.lst replacing each
UUID=<blahblahblah> with LABEL=<DEFANGED_label>. For example:

root=LABEL=mgaroot (and) resume=LABEL=swap

Similarly in /etc/fstab, you can have entries like:

LABEL=mgaroot  /     ext4  relatime  1 1
LABEL=swap     swap  swap  defaults  0 0

The problem with that is in those situations where one have two partitions with 
the same label, such as when one install into a new and bigger disk and keeps 
the old disk installed. A friend of mine does that quite often.

I still prefer UUID, as those are unique.

As there are something like 16 or more characters available for volume labels on native partitions, there's no need in the vast majority of situations for them to be non-unique. Even after cloning operations it's a simple enough matter in most cases to alter the copies' and/or originals' labels and UUIDs. I use labels liberally with native partitions in cmdlines and fstabs, UUIDs never. Volume labels can be readily remembered and typed as circumstances dictate, unlike UUIDs.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

Reply via email to