How to prevent changing UUIDs on install?

Goh Lip g.lip at gmx.com
Tue Dec 29 16:24:49 UTC 2009


On 29/12/09 23:16, Tom H wrote:
>>> 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).
>


Thanks for the update. I stand corrected.

Regards,
Goh Lip





More information about the ubuntu-users mailing list