How to force update-grub to use UUID?
Posted
by
user276851
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user276851
Published on 2014-06-05T21:16:21Z
Indexed on
2014/06/05
21:42 UTC
Read the original article
Hit count: 184
When I run "update-grub", the file "grub.cfg" will contain lines like this.
menuentry 'Ubuntu...' {
...
linux /boot/vmlinuz... root=/dev/md124 ...
...
}
For the line of linux, is it possible to let it use UUID? Like,
linux /boot/vmlinux... root=UUID=xxx
Right now, every time after I do update-grub, I have to manually edit the line to use UUID. Otherwise, the boot will fail.
Thanks for the help.
© Ask Ubuntu or respective owner