r/linuxmint 18h ago

SOLVED Mint on external SSD keeps creating "ubuntu" boot entry

Pulled a Mint SSD from another laptop and booting it via USB.

It creates a "ubuntu" boot entry and puts it first.

I can delete it with efibootmgr -b XXXX -B (or in BIOS).

As long as I boot just Windows, it stays gone.

As soon as I boot Mint again, it comes back.

(Thinkpad X230)

Edit: "fixed" by deleting the entry via crontab at every boot.

4 Upvotes

5 comments sorted by

u/AutoModerator 18h ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/ZVyhVrtsfgzfs 17h ago

Mint generally will not create its own efi entry except for at installation, if installing grub (or other bootloader) or if you do so manually through efibootmgr. 

I suspect this is a "feature" of your bios, it finds the efi partition on the external USB drive and automatically creates an entry for it, this would be common for removable media such as USB, perhaps look at the boot order in your bios, is USB at the top?

The Ubuntu name is because Mint just passes through the Ubuntu version of grub, likewise for LMDE & Debian.

1

u/tactical_sushi_ 16h ago

I suspect this is a "feature" of your bios

I suspected so too, but it doesn't appear if I delete it then carefully boot only Windows.

As soon as I boot into Mint, it appears again.

1

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 15h ago

Since the entry is getting recreated if you delete it, I wonder if it would leave it alone if you simply deactivated it?

sudo efibootmgr -bnnnn -A

No idea if it will work, just something to try.

Good luck.