I have installed fedora 40 on empty ssd with no issues
After rebooting i have no boot option in my BIOS menu, only “UEFI: Built-in EFI Shel”
What should i do to start Fedora?
I have installed fedora 40 on empty ssd with no issues
After rebooting i have no boot option in my BIOS menu, only “UEFI: Built-in EFI Shel”
What should i do to start Fedora?
Which ssd partitioning option have you selected? UEFI needs a special partition to find and load the boot loader.
Were other ssds or hdds connected during the install process?
Your BIOS/UEFI should also have a boot priority option, where you can select the device (i.e SATA port 0 or nvme port 0 ). This may enable the system to find the EFI system partition and boot.
Otherwise boot the live image and get the partition layout with the command sudo fdisk -l
.
it shouid like similar to this output
# Start End Size Type Name
1 2048 411647 200M EFI System EFI System Partition
2 411648 1435647 500M Microsoft basic
3 1435648 37748702 17.3G Linux LVM
ignore the Micsosoft basic
here, that’s my CentOS 7 VM
I have only this ssd and live usb connected
sudo fdisk -l
:
Disk /dev/sda: 232.89 GiB, 250059350016 bytes, 488397168 sectors
Disk model: SSD 250GB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E25B3BBB-81F2-4C33-9843-E8003B3E47D1
Device Start End Sectors Size Type
/dev/sda1 2048 1230847 1228800 600M EFI System
/dev/sda2 1230848 3327999 2097152 1G Linux extended boot
/dev/sda3 3328000 488396799 485068800 231.3G Linux filesystem
GPT PMBR size mismatch (4484087 != 30320639) will be corrected by write.
The backup GPT table is not on the end of the device.
Disk /dev/sdb: 14.46 GiB, 15524167680 bytes, 30320640 sectors
Disk model: USB DISK 2.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: BD0CE27D-A6E0-4C37-BEEC-AB4B6F9B6A73
Device Start End Sectors Size Type
/dev/sdb1 64 4457875 4457812 2.1G Microsoft basic data
/dev/sdb2 4457876 4483423 25548 12.5M EFI System
/dev/sdb3 4483424 4484023 600 300K Microsoft basic data
Disk /dev/loop0: 1.97 GiB, 2110570496 bytes, 4122208 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 8 GiB, 8592031744 bytes, 16781312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/live-rw: 8 GiB, 8592031744 bytes, 16781312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/live-base: 8 GiB, 8592031744 bytes, 16781312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/zram0: 8 GiB, 8589934592 bytes, 2097152 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
And my ssd not in priority options, i cant choose it
Try enabling Secure Boot and manually adding/trusting the Fedora GRUB shim (something like EFI\boot\shimx64.efi). Then disable Secure Boot.
I needed to do that on a few Acer computers with InsydeH2O UEFI firmware, but haven’t needed it with Aptio.
Another option is to boot from a Linux LiveUSB and manually add an EFI boot entry with efibootmgr
And worst-case, your motherboard’s UEFI implementation could just be out-of-spec weird and it might just be better to use Legacy boot (I opted for this on an older Dell laptop recently)
Where can i manually add fedora? From BIOS?
let’s also check if the installer populated the EFI partition on the ssd.
sudo mount /dev/sda1 /mnt
sudo find /mnt -iname "*.efi"
if it’s empty then you need to follow the procedure described here, to reinstall the grub2 installer.
sudo efibootmgr
should print the current boot settings of the system
I have
liveuser@localhost-live:~$ sudo mount /dev/sda1 /mnt
liveuser@localhost-live:~$ sudo find /mnt -iname "*.efi"
/mnt/EFI/BOOT/BOOTIA32.EFI
/mnt/EFI/BOOT/BOOTX64.EFI
/mnt/EFI/BOOT/fbia32.efi
/mnt/EFI/BOOT/fbx64.efi
/mnt/EFI/fedora/gcdia32.efi
/mnt/EFI/fedora/gcdx64.efi
/mnt/EFI/fedora/grubia32.efi
/mnt/EFI/fedora/grubx64.efi
/mnt/EFI/fedora/mmia32.efi
/mnt/EFI/fedora/mmx64.efi
/mnt/EFI/fedora/shim.efi
/mnt/EFI/fedora/shimia32.efi
/mnt/EFI/fedora/shimx64.efi
and
liveuser@localhost-live:~$ sudo efibootmgr
BootCurrent: 0006
Timeout: 1 seconds
BootOrder: 0002,0006,0007,0000,0003
Boot0000* Fedora VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0002* UEFI: Built-in EFI Shell VenMedia(5023b95c-db26-429b-a648-bd47664c8012)0000424f
Boot0003* ubuntu VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)
Boot0006* UEFI: USB DISK 2.0 PMAP, Partition 2 PciRoot(0x0)/Pci(0x1a,0x0)/USB(0,0)/USB(3,0)/HD(2,GPT,bd0ce27d-a6e0-4c37-beee-ab4b6f9b6a73,0x440594,0x63cc)0000424f
Boot0007* Hard Drive BBS(HD,,0x0)0000474f00004e4fa1000000010000006900200055005300420020004400490053004b00200032002e003000200050004d004100500000000501090002000000007fff040002010c00d041030a0000000001010600001a0305060000000305060003007fff040001043600ef47642dc93ba041ac194d51d01b4ce6390030003000300036003800330034003300410044003700420030003100380000007fff04000000424f
No idea what this is.
what’ the output of sudo efibootmgr -v
and sudo lsblk -o +partuuid
there is a fedora and a ubuntu entry. Were both installed before?
I assume fedora and ubuntu were previously installed, either on this or on another lun. I guess we can delete these entries and recreate a new one for Fedora.
sudo efibootmgr -b 0000 -B
sudo efibootmgr -b 0003 -B
check with sudo efibootmgr
that these entries are gone.
sudo efibootmgr -b 0000 -c -d /dev/sda -L "Fedora" -l '\EFI\FEDORA\SHIMX64.EFI'
check again with sudo efibootmgr
. The Fedora entry should look like this, might depend on the UEFI version, though
Boot0000* Fedora HD(1,GPT,<UUID>,0x<HEX>,0x<HEX>)/\EFI\FEDORA\SHIMX64.EFI
I have added new entry with efibootmgr, checked and it looks like
Boot0000* Fedora HD(1,GPT,<UUID>,0x<HEX>,0x<HEX>)/\EFI\FEDORA\SHIMX64.EFI
But after restart, there is no boot entry in bios and from livecd with efiibotmgr i have VinHw(...)
for recently added entry
Maybe this system needs some other BIOS settings changed. What system is this?
Try to search for hints at vendor’s website + forum and also try search engines.
Attache screenshot from Advanced in Bios.
Also Is RST activated??