On Sun, Nov 29, 2020 at 8:23 AM Jorge Fábregas <jorge.fabregas@xxxxxxxxx> wrote:
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.
Yes, that brought back an entry, but it booted right into the
Dell maintenance application. For laughs I changed the statement
to point to partition 2 (the ext4 partition) and tried again.
It went to the maintenance app again.
The ext4 partition appears to be my boot partition. It contains
the following. I looked because I was looking to find /boot/efi/EFI/BOOT/BOOTX64.EFI
somewhere. It's not in that partition/fs
So I also tried to mount sda1 that you mentioned, but that just hung the mount command
with an eventual "Can't read superblock on /dev/sda1".
Have I reached a dead end, and am stuck with a re-install now?
# ls -R /mnt
/mnt:
config-4.15.17-200.fc26.x86_64 initramfs-4.16.7-100.fc26.x86_64.img
config-4.16.11-100.fc26.x86_64 lost+found
config-4.16.7-100.fc26.x86_64 memtest86+-5.01
efi System.map-4.15.17-200.fc26.x86_64
elf-memtest86+-5.01 System.map-4.16.11-100.fc26.x86_64
extlinux System.map-4.16.7-100.fc26.x86_64
grub2 vmlinuz-0-rescue-7e2a43f9b2494d79a3cfbfb2b3512518
initramfs-0-rescue-7e2a43f9b2494d79a3cfbfb2b3512518.img vmlinuz-4.15.17-200.fc26.x86_64
initramfs-4.15.17-200.fc26.x86_64.img vmlinuz-4.16.11-100.fc26.x86_64
initramfs-4.16.11-100.fc26.x86_64.img vmlinuz-4.16.7-100.fc26.x86_64
/mnt/efi:
/mnt/extlinux:
cat.c32 cpuid.c32 dmitest.c32 host.c32 ldlinux.c32 linux.c32 pci.c32 reboot.c32 vesainfo.c32
chain.c32 cpuidtest.c32 elf.c32 ifcpu64.c32 lfs.c32 ls.c32 pcitest.c32 rosh.c32 vesamenu.c32
cmd.c32 debug.c32 ethersel.c32 ifcpu.c32 libcom32.c32 lua.c32 pmload.c32 sanboot.c32 vpdtest.c32
cmenu.c32 dhcp.c32 gfxboot.c32 ifmemdsk.c32 libgpl.c32 mboot.c32 poweroff.c32 sdi.c32 whichsys.c32
config.c32 dir.c32 gpxecmd.c32 ifplop.c32 liblua.c32 memdisk prdhcp.c32 sysdump.c32 zzjson.c32
cptime.c32 disk.c32 hdt.c32 kbdmap.c32 libmenu.c32 meminfo.c32 pwd.c32 syslinux.c32
cpu.c32 dmi.c32 hexdump.c32 kontron_wdt.c32 libutil.c32 menu.c32 pxechn.c32 vesa.c32
/mnt/grub2:
grub.cfg grubenv themes
/mnt/grub2/themes:
system
/mnt/grub2/themes/system:
background.png fireworks.png
/mnt/lost+found:
/mnt:
config-4.15.17-200.fc26.x86_64 initramfs-4.16.7-100.fc26.x86_64.img
config-4.16.11-100.fc26.x86_64 lost+found
config-4.16.7-100.fc26.x86_64 memtest86+-5.01
efi System.map-4.15.17-200.fc26.x86_64
elf-memtest86+-5.01 System.map-4.16.11-100.fc26.x86_64
extlinux System.map-4.16.7-100.fc26.x86_64
grub2 vmlinuz-0-rescue-7e2a43f9b2494d79a3cfbfb2b3512518
initramfs-0-rescue-7e2a43f9b2494d79a3cfbfb2b3512518.img vmlinuz-4.15.17-200.fc26.x86_64
initramfs-4.15.17-200.fc26.x86_64.img vmlinuz-4.16.11-100.fc26.x86_64
initramfs-4.16.11-100.fc26.x86_64.img vmlinuz-4.16.7-100.fc26.x86_64
/mnt/efi:
/mnt/extlinux:
cat.c32 cpuid.c32 dmitest.c32 host.c32 ldlinux.c32 linux.c32 pci.c32 reboot.c32 vesainfo.c32
chain.c32 cpuidtest.c32 elf.c32 ifcpu64.c32 lfs.c32 ls.c32 pcitest.c32 rosh.c32 vesamenu.c32
cmd.c32 debug.c32 ethersel.c32 ifcpu.c32 libcom32.c32 lua.c32 pmload.c32 sanboot.c32 vpdtest.c32
cmenu.c32 dhcp.c32 gfxboot.c32 ifmemdsk.c32 libgpl.c32 mboot.c32 poweroff.c32 sdi.c32 whichsys.c32
config.c32 dir.c32 gpxecmd.c32 ifplop.c32 liblua.c32 memdisk prdhcp.c32 sysdump.c32 zzjson.c32
cptime.c32 disk.c32 hdt.c32 kbdmap.c32 libmenu.c32 meminfo.c32 pwd.c32 syslinux.c32
cpu.c32 dmi.c32 hexdump.c32 kontron_wdt.c32 libutil.c32 menu.c32 pxechn.c32 vesa.c32
/mnt/grub2:
grub.cfg grubenv themes
/mnt/grub2/themes:
system
/mnt/grub2/themes/system:
background.png fireworks.png
/mnt/lost+found:
there
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx