How to prevent changing UUIDs on install?
Eric Parapini
zanterian at gmail.com
Mon Dec 28 09:24:47 UTC 2009
Goh Lip wrote:
> As Res earlier mentioned, in fstab, you can use /dev/sdax instead of
> UUID=; personally, I prefer LABEL=.
>
> As for grub, even if UUID does not change, you've to update each time
> when there are kernel updates in other OS as well; otherwise, it'll boot
> up using the older kernel. For grub-legacy, 'update-grub'; for grub2,
> 'grub-mkconfig -o /boot/grub/grub.cfg' and any UUID change is factored
> into it as well. So I think keeping UUID the same has minimal
> advantages. But that's for you to call.
>
> Happy Holidays,
> Goh Lip
>
>
>
>
For grub2, you could put in 'update-grub2' and it would do the same as
'grub-mkconfig -o /boot/grun/grub.cfg'
It does the same thing, only you type far less characters!
Huzzah!
-Eric P.
More information about the ubuntu-users
mailing list