On 11/28/20 11:48 PM, Fulko Hew wrote:
'DEVNAME': '/dev/sda1',
'DEVPATH':
'/devices/pci0000:00/0000:00:17.0/ata1/host0/target0:0:0/0:0:0:0/block/sda/sda1',
'ID_FS_TYPE': 'vfat',
'ID_PART_ENTRY_NAME': 'EFI\\x20System\\x20Partition',
'ID_PART_ENTRY_NUMBER': '1',
'ID_PART_ENTRY_OFFSET': '2048',
'ID_PART_ENTRY_SCHEME': 'gpt',
'ID_PART_ENTRY_SIZE': '409600',
'ID_PART_ENTRY_TYPE': 'c12a7328-f81f-11d2-ba4b-00a0c93ec93b',
'ID_PART_ENTRY_UUID': 'bf2ce45d-8dc0-4e11-869e-ec2e3e747ed3',
'ID_PART_TABLE_TYPE': 'gpt',
'ID_PART_TABLE_UUID': '1b5b5ada-1a00-40dc-b1b7-7b81b9a71ff1',
OK this is the EFI System Partition (ESP). You could simply create the
entry with:
efibootmgr -c -w -L Fedora -d /dev/sda -p 1 -l '\EFI\fedora\shimx64.efi'
Confirm with "efibootmgr -v"
The thing is that your UEFI firmware should at least pick up the
fallback bootloader located at:
/boot/efi/EFI/BOOT/BOOTX64.EFI
...and present you that within the menu (as something like "UEFI OS"
etc). Anyway the mentioned efibootmgr line should bring you back the
Fedora entry.
--
Jorge