Screwed up by moving boot partition
Hello everybody!
After reading the rules, especially the one aimed to not waste the time of those who'll try to help me, I'll try to keep this post as short as possible π
if you'd like to read more details there's a longer version of the story on reddit Well, long story short: I moved all the bazzite partition, including EFI (hd0, gpt5) and boot (hd0, gpt6), and now GRUB goes directly in rescue mode. I am still able to make it work and complete the Bazzite boot by manually loading the correct config file (which is stored in (hd0,gpt5)) and I'd like to fully repair GRUB so that this can happen automatically. On a non-immutable distro this would be fairly straightforward, IIUC, but Bazzite prevents me to simply sudo grub-install (and I have a doubt that this would not work even if I could do that). Does anyone have an idea on how reinstalling GRUB without reinstalling Bazzite from scratch? TYVM! For the record: I've also got a plan B (reinstalling GRUB by installing a new Bazzite instance and overwriting the EFI and boot partitions, and then clean up from there), but as a Computer Science teacher I'd like to learn the clean way to do it, if possible, so that I can pass the knowledge on π Reinstalling Bazzite from scratch is the plan C, and I'd rather keep that as a last resort.
if you'd like to read more details there's a longer version of the story on reddit Well, long story short: I moved all the bazzite partition, including EFI (hd0, gpt5) and boot (hd0, gpt6), and now GRUB goes directly in rescue mode. I am still able to make it work and complete the Bazzite boot by manually loading the correct config file (which is stored in (hd0,gpt5)) and I'd like to fully repair GRUB so that this can happen automatically. On a non-immutable distro this would be fairly straightforward, IIUC, but Bazzite prevents me to simply sudo grub-install (and I have a doubt that this would not work even if I could do that). Does anyone have an idea on how reinstalling GRUB without reinstalling Bazzite from scratch? TYVM! For the record: I've also got a plan B (reinstalling GRUB by installing a new Bazzite instance and overwriting the EFI and boot partitions, and then clean up from there), but as a Computer Science teacher I'd like to learn the clean way to do it, if possible, so that I can pass the knowledge on π Reinstalling Bazzite from scratch is the plan C, and I'd rather keep that as a last resort.
Solution:Jump to solution
UPDATE: fixed by reverse engineering GRUB conf files from an Ubuntu live USB and discovering that, for whatever reason, the main .cfg was pointing to the WRONG partition's UUID. Manually repairing that line made it work immediately.
1 Reply
Solution
UPDATE: fixed by reverse engineering GRUB conf files from an Ubuntu live USB and discovering that, for whatever reason, the main .cfg was pointing to the WRONG partition's UUID. Manually repairing that line made it work immediately.