On Sat, Jun 05, 2021 at 04:28:20PM -0500, Martin McCormick wrote: > There's 1 UUID for the root file system in /boot/grub/grub.cfg > which is the file one must not normally edit by hand. It > reads > > menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu > --class os $menuentry_id_option > 'gnulinux-simple-658da8df-942e-4ad7-8c5b-695f2f2eb4ed' {
Yes, there's probably a UUID for the root file system somewhere in this entry, in the part you omitted. The part you included just has a *name* which was automatically generated to refer to this boot option. This name happens to include the same UUID that the root file system designation uses, but this name is only a name, and does not invoke any functionality. Here's part of mine, for comparison: menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c4691ccb-2090-491e-8e82-d7cc822db04a' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 set root='hd0,gpt7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 c4691ccb-2090-491e-8e82-d7cc822db04a else search --no-floppy --fs-uuid --set=root c4691ccb-2090-491e-8e82-d7cc822db04a fi echo 'Loading Linux 5.10.0-7-amd64 ...' linux /boot/vmlinuz-5.10.0-7-amd64 root=UUID=c4691ccb-2090-491e-8e82-d7cc822db04a ro echo 'Loading initial ramdisk ...' initrd /boot/initrd.img-5.10.0-7-amd64 } The actual UUID for the root file system appears down at the bottom, three lines above the closing curly brace. It's where it says root=UUID=.... Of course, this is just one menu entry. I have three kernels installed at the moment, so I have 6 of these menu entries, 2 per kernel (one called "simple" and one called "advanced").