Timeline for GRUB config file is set to an old /root partition after every kernel update
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 10, 2021 at 15:43 | comment | added | oldfred | You cannot have duplicate UUID. This is why I typically suggest a new install, so then you have new UUID and avoid issues. And if you restore from your backup, you can have confidence that your backup procedure is complete. And just in case you still have old install. Also does house clean of old logs and other cruft that builds up over time. You can change UUID on old install, but then it will not be bootable without reinstalling grub in it and editing several files including fstab with new UUID. | |
| Jan 10, 2021 at 14:09 | vote | accept | Blume | ||
| Jan 10, 2021 at 14:01 | vote | accept | Blume | ||
| Jan 10, 2021 at 14:09 | |||||
| Jan 10, 2021 at 14:01 | comment | added | Blume |
UEFI, and the /efi/ubuntu/grub.cfg had the correct UUID. It appears I was having this problem because the two / partitions had the same UUID's, so both of them were added as GRUB entries but with exactly the same UUID and the old one was always the one chosen by grub
|
|
| Jan 10, 2021 at 1:00 | answer | added | telcoM | timeline score: 2 | |
| S Jan 9, 2021 at 21:50 | history | suggested | Marco | CC BY-SA 4.0 |
formatted commands
|
| Jan 9, 2021 at 18:40 | review | Suggested edits | |||
| S Jan 9, 2021 at 21:50 | |||||
| Jan 9, 2021 at 15:19 | comment | added | oldfred | UEFI or BIOS install? If BIOS, look at this: #To see what drive grub2 uses see this line - grub-pc/install_devices: sudo debconf-show grub-pc # for BIOS with grub-pc But that does not exist with UEFI as it uses fstab for mount of ESP & /efi/ubuntu/grub.cfg in ESP has UUID of full grub in your install. | |
| Jan 9, 2021 at 13:28 | review | First posts | |||
| Jan 9, 2021 at 18:40 | |||||
| Jan 9, 2021 at 13:23 | history | asked | Blume | CC BY-SA 4.0 |