r/linuxmint • u/Excellent-Bag5389 • 49m ago
GRUB error
GRUB error
Yo, hey everyone.
I recently installed Linux Mint XFCE on my computer. Being a bit too adventurous, I bought a 64GB flash drive today and decided to install a full OS on it—not just an ISO image, but a complete system, essentially creating a portable PC. I set everything up correctly and partitioned the drives properly. While using the system, I ran a command—suggested by an AI—to check which EFI file the system was linking to; it turned out the flash drive was using the EFI partition on my SSD to function. Then, following another command from the AI, I blocked (or added to an "ignore list") the EFI partition on the SSD itself. After that, I finished setting up the system on the flash drive—everything seemed fine. But now, when I try to boot into my main Linux Mint installation (on the SSD), I get a GRUB error. As I understand it, this is necessary for the distribution to boot, and now I have no idea how to fix it.
1
u/svprdga 45m ago
Run from a live USB, from there you can fix the EFI partition of your disk, use an LLM to guide you through the process.
1
u/Specialist-Dog-501 39m ago
1.Get a live usb bootable stick- I recommend Rescuezilla for that purpose. Always handy
2.Enter your BIOS/UEFI, set the usb stick as 1 bootable device.
3.Boot into it. close the backup/restore stuff from rescuezilla, open "Gparted", then you see your partitions on both devices- first the USB stick and via the dropdown, the SSD. Check what names/Ids your partitions have.
4.Now comes the part where my knowhow is weak- restore/unhide the EFI partition- not sure what you used and what is now the reverse command..hope others can help here-if you get no help, ask in r/debian, some true experts there.