r/linuxmint • • 4h 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 Upvotes

6 comments sorted by

2

u/svprdga 4h 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.

2

u/Specialist-Dog-501 4h 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.

1

u/apt-hiker Linux Mint 1h ago

In the future, unplug the ssd while installing an os to an external storage device. If that's not practical , the next time you try this make you sure you choose "Something Else" and choose the usb when you create the bootloader partition.

0

u/Due-Result7928 1h ago

Not the solution and not the problem.

1

u/mkhanwrites_ 22m ago

Then, following another command from the AI, I blocked (or added to an "ignore list") the EFI partition on the SSD itself.

Some other commenters are providing help on how to fix this, so you can refer to those comments for help. My question is, why did you do that? What was the thought process behind that decision.

-1

u/Due-Result7928 1h ago

Ask AI..not us poor mortals.

The last system you install with UEFI is ALWAYS the first on the boot list.

Because you did not want to read the doc..the first system to boot is now the flash drive and when the flash drive is not here..you can not boot.

Boot your system, use the bios and change the boot order or boot your mint usb, open a terminal and use efibootmgr to change the boot order.

For efibootmgr..read the doc available on internet.

Last but not least installing a mint system on a flash drive is a total nonsense.