Score:1

Ubuntu SSD not detected as a bootable device

mc flag

I recently installed ubuntu 22.10 on a SSD to use a secondary OS for my laptop (I usually run it with windows). My intention was to connect the SSD using a USB cable and boot it from BIOS or using advanced restart (shift + reset) but its not showing up as bootable (UEFI) device from any of those places.

If I connect the SSD to my laptop it autodetects the ubuntu installation and boots it as the primary drive (which make no sense for me, since it is not detected as a bootable device when I look into it). I would like to be able to detect the disk from the bios since I will also be using it on my desktop too (I also tried to check if it was detected on my desktop without any luck).

I've checked the ubuntu installation and made sure to have an EFI partition (just to make sure that I didnt install the ubuntu as a Legacy drive (not really sure how this work)). Also tried reinstalling 22.04 and faced the same issue. Does any one have an idea why the ubuntu installation is not display as a bootable device on the BIOS? The pendrive I used to install it, its detected properly btw.

Thanks for your help!

oldfred avatar
cn flag
Ubuntu's Ubiquity installer only installs grub2's boot files into first drive's ESP -- efi system partition, no matter what you select. Old valid bug. https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379 If you have ESP on external SSD, change UUDI of mount of ESP in fstab, reboot so that ESP is mounted & reinstall grub. It will then install to external drive's ESP. External drives directly boot from /EFI/Boot/bootx64.efi or the drive entry. A grub install to the external drive will also create that entry.
Riki LC avatar
mc flag
Thanks for the help, will look into it and try it
Score:2
mc flag

Solved it using referring to the link sahred on the comment from my question: bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1396379

The easiest way to solve the issue is to remove any other disk on your pc and then install ubuntu again, the bootable partition will then be installed on your first drive (because its the only one), and then it will appear in the BIOS normally and you will be able to select that partition to boot your pc.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.