How to prevent changing UUIDs on install?
Tom H
tomh0665 at gmail.com
Tue Dec 29 15:16:43 UTC 2009
>> 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!
> Yes, Eric, but it's preferable to do grub-mkconfig.
> update-grub2 does more than just creating a new .cfg file which is
> unnecessary and is created for the benefit for those getting use to
> grub2 where update-grub is a common useful command.
?!
# cat /usr/sbin/update-grub
#!/bin/sh -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
# cat /usr/sbin/update-grub2
#!/bin/sh -e
exec update-grub "$@"
update-grub and update-grub2 just run grub-mkconfig. update-grub used
to be used for grub1 so it seems to have been kept for continuity (as
well as brevity).
More information about the ubuntu-users
mailing list