How to force update-grub to use UUID?
- by user276851
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.