On Wed, Apr 02, 2014 at 02:08:36PM +0200, Yamaban wrote:
On Wed, 2 Apr 2014 09:45, Sascha Peilicke <saschpe@...> wrote:
our default grub2 configuration always uses UUIDs. For several reasons, I'd like to use labels instead but when looking at the scripts that generate /boot/grub2/grub.cfg it looks like UUID is more or less the only thing that works. So before I start tinkering with the scripts I'm curious if there is some prior art around already.
A warning: If you use /dev/disk/by-label/* be prepared for the case where one has a internal disk, and plugs in a 'old'-system disk either internal or external and does a reboot.
That's the same with UUID, so by switching to LABEL it does not change.
I'm using /dev/disk/by-id/ata-{disk-id}-part{part-no}, for me thats readable, unique (disk-id contains serial-no of disk), and safe in handling.
If it works for you, be happy. But of course the default was not changed for fun. The feature request to use UUID list 8 bugreports where the old setup did not work. Sorry, some are internal so I will not even try to post the links here. Regards, Arvin -- Arvin Schnell, <aschnell@suse.de> Senior Software Engineer, Research & Development SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org