Closed ipilcher closed 1 year ago
Using efibootmgr version 18 on a new Fedora 37 install. Trying to create a boot entry for systemd-boot, which is installed at /EFI/systemd/systemd-bootx64.efi on sda1.
efibootmgr
systemd-boot
/EFI/systemd/systemd-bootx64.efi
sda1
Current boot menu looks like this:
# efibootmgr -v BootCurrent: 0000 BootOrder: 0000 Boot0000* Fedora HD(1,GPT,e2ad6743-023d-4ef0-a726-e089f94f686b,0x800,0x1ff801)/File(\EFI\fedora\shimx64.efi) dp: 04 01 2a 00 01 00 00 00 00 08 00 00 00 00 00 00 01 f8 1f 00 00 00 00 00 43 67 ad e2 3d 02 f0 4e a7 26 e0 89 f9 4f 68 6b 02 02 / 04 04 34 00 5c 00 45 00 46 00 49 00 5c 00 66 00 65 00 64 00 6f 00 72 00 61 00 5c 00 73 00 68 00 69 00 6d 00 78 00 36 00 34 00 2e 00 65 00 66 00 69 00 00 00 / 7f ff 04 00
Try to create the new entry:
# efibootmgr -c -b 0001 -d /dev/sda -p 1 -L 'Linux Boot Manager' -l /EFI/systemd/sdboot.efi -v -v creator.c:167 efi_va_generate_file_device_path_from_esp(): partition:1 linux.c:387 device_get(): partition:1 dev->part:1 linux.c:428 device_get(): dev->link: ../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda linux.c:173 set_disk_and_part_name(): dev->disk_name:(nil) dev->part_name:(nil) linux.c:174 set_disk_and_part_name(): dev->part:1 linux.c:175 set_disk_and_part_name(): ultimate:'sda' linux.c:176 set_disk_and_part_name(): penultimate:'block' linux.c:177 set_disk_and_part_name(): approximate:'0:0:0:0' linux.c:178 set_disk_and_part_name(): proximate:'target0:0:0' linux.c:179 set_disk_and_part_name(): psl5:'host0' linux.c:215 set_disk_and_part_name(): disk:sda part:sda1 linux.c:446 device_get(): dev->disk_name: sda linux.c:447 device_get(): dev->part_name: sda1 linux.c:484 device_get(): searching for driver from in sda linux.c:484 device_get(): trying /sys/block/sda/device/driver linux.c:484 device_get(): trying /sys/block/sda/device/device/driver linux.c:512 device_get(): searching for device nodes in ../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda linux.c:526 device_get(): trying pmem linux-pmem.c:69 parse_pmem(): entry linux.c:561 device_get(): dev_probes[1]: 0x7fe9476e6020 dev->interface_type: 0 linux.c:526 device_get(): trying acpi_root linux-acpi-root.c:40 parse_acpi_root(): entry linux-acpi-root.c:50 parse_acpi_root(): current:'../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:0 pos0:14 pos1:-1 linux.c:561 device_get(): dev_probes[2]: 0x7fe9476e61a0 dev->interface_type: 0 linux.c:526 device_get(): trying pci_root linux-pci-root.c:38 parse_pci_root(): entry linux-pci-root.c:46 parse_pci_root(): current:'../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:2 pos0:0 pos1:25 linux-pci-root.c:47 parse_pci_root(): ^^^^^^^^^^^^^^^^^^^^^^^^^ linux-acpi.c:28 parse_acpi_hid_uid(): entry linux-acpi.c:33 parse_acpi_hid_uid(): path:devices/pci0000:00 rc:18 linux-acpi.c:43 parse_acpi_hid_uid(): Setting ACPI root path to '\_SB_.PCI0' linux-acpi.c:62 parse_acpi_hid_uid(): rc:1 hid:0x00000a08 linux-acpi.c:77 parse_acpi_hid_uid(): acpi root HID:0x0a0341d0 linux-acpi.c:100 parse_acpi_hid_uid(): acpi root UID:0x0 uidstr:'(null)' linux-pci-root.c:64 parse_pci_root(): current:'0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' sz:25 linux.c:536 device_get(): pci_root matched '../../devices/pci0000:00/' linux-pci-root.c:73 dp_create_pci_root(): entry buf:(nil) size:0 off:0 linux-pci-root.c:74 dp_create_pci_root(): returning 0 linux-pci-root.c:89 dp_create_pci_root(): creating acpi_hid dp hid:0x0a0341d0 uid:0x0 linux-pci-root.c:102 dp_create_pci_root(): returning 12 linux-pci-root.c:73 dp_create_pci_root(): entry buf:0x7ffe10ac33a0 size:12 off:0 linux-pci-root.c:74 dp_create_pci_root(): returning 0 linux-pci-root.c:89 dp_create_pci_root(): creating acpi_hid dp hid:0x0a0341d0 uid:0x0 linux-pci-root.c:102 dp_create_pci_root(): returning 12 dp-acpi.c:157 _format_acpi_dn(): formatting ACPI HID 0x0a0341d0 dp-acpi.c:157 _format_acpi_dn(): formatting ACPI HID 0x0a0341d0 linux.c:365 print_dev_dp_node(): Device path node is PciRoot(0x0) linux.c:552 device_get(): current:'0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' linux.c:521 device_get(): not testing soc_root because flags is 0x5 linux.c:521 device_get(): not testing virtual_root because flags is 0x5 linux.c:526 device_get(): trying pci linux-pci.c:37 parse_pci(): entry linux-pci.c:51 parse_pci(): searching for 0000:00:00.0/ linux-pci.c:54 parse_pci(): current:'0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:4 pos0:0 pos1:13 linux-pci.c:55 parse_pci(): ^^^^^^^^^^^^^ linux-pci.c:60 parse_pci(): found pci domain 0000:00:1f.02 linux-pci.c:95 parse_pci(): driver:../../../bus/pci/drivers/ahci linux-pci.c:51 parse_pci(): searching for 0000:00:00.0/ linux-pci.c:54 parse_pci(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:1 pos0:0 pos1:-1 linux-pci.c:102 parse_pci(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' sz:13 linux.c:536 device_get(): pci matched '0000:00:1f.2/' linux-pci.c:112 dp_create_pci(): entry buf:(nil) size:0 off:0 linux-pci.c:114 dp_create_pci(): creating PCI device path nodes linux-pci.c:116 dp_create_pci(): creating PCI device path node 0 linux-pci.c:128 dp_create_pci(): returning 6 linux-pci.c:112 dp_create_pci(): entry buf:0x7ffe10ac33b0 size:6 off:0 linux-pci.c:114 dp_create_pci(): creating PCI device path nodes linux-pci.c:116 dp_create_pci(): creating PCI device path node 0 linux-pci.c:128 dp_create_pci(): returning 6 linux.c:365 print_dev_dp_node(): Device path node is Pci(0x1f,0x2) linux.c:552 device_get(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' linux.c:526 device_get(): trying virtio block linux-virtblk.c:41 parse_virtblk(): entry linux-virtblk.c:43 parse_virtblk(): searching for virtio0/ linux-virtblk.c:45 parse_virtblk(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:0 pos0:0 pos1:-1 linux.c:561 device_get(): dev_probes[7]: 0x7fe9476e6260 dev->interface_type: 0 linux.c:526 device_get(): trying sas linux-sas.c:149 parse_sas(): entry linux-scsi.c:36 parse_scsi_link(): entry linux-scsi.c:88 parse_scsi_link(): searching for host4/ linux-scsi.c:90 parse_scsi_link(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:0 pos0:-1 pos1:-1 linux.c:561 device_get(): dev_probes[8]: 0x7fe9476e62a0 dev->interface_type: 0 linux.c:526 device_get(): trying sata linux-sata.c:138 parse_sata(): entry linux-sata.c:148 parse_sata(): searching for ata1/ linux-sata.c:150 parse_sata(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:1 pos0:0 pos1:5 linux-sata.c:151 parse_sata(): ^^^^^ linux-sata.c:162 parse_sata(): searching for host0/ linux-sata.c:164 parse_sata(): current:'host0/target0:0:0/0:0:0:0/block/sda' rc:1 pos0:0 pos1:6 linux-sata.c:165 parse_sata(): ^^^^^^ linux-sata.c:171 parse_sata(): searching for target0:0:0:0/ linux-sata.c:174 parse_sata(): current:'target0:0:0/0:0:0:0/block/sda' rc:3 pos0:0 pos1:12 linux-sata.c:175 parse_sata(): ^^^^^^^^^^^^ linux-sata.c:181 parse_sata(): searching for 0:0:0:0/ linux-sata.c:184 parse_sata(): current:'0:0:0:0/block/sda' rc:4 pos0:0 pos1:8 linux-sata.c:185 parse_sata(): ^^^^^^^^ linux-sata.c:202 parse_sata(): current:'block/sda' sz:31 linux.c:536 device_get(): sata matched 'ata1/host0/target0:0:0/0:0:0:0/' linux-sata.c:212 dp_create_sata(): entry buf:(nil) size:0 off:0 linux-sata.c:212 dp_create_sata(): entry buf:0x7ffe10ac33a0 size:10 off:0 linux.c:365 print_dev_dp_node(): Device path node is Sata(0,65535,0) linux.c:552 device_get(): current:'block/sda' creator.c:217 efi_va_generate_file_device_path_from_esp(): EFIBOOT_ABBREV_HD creator.c:313 efi_va_generate_file_device_path_from_esp(): = 98 loadopt.c:35 efi_loadopt_create(): entry buf:(nil) size:0 dp:(nil) dp_size:98 creator.c:167 efi_va_generate_file_device_path_from_esp(): partition:1 linux.c:387 device_get(): partition:1 dev->part:1 linux.c:428 device_get(): dev->link: ../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda linux.c:173 set_disk_and_part_name(): dev->disk_name:(nil) dev->part_name:(nil) linux.c:174 set_disk_and_part_name(): dev->part:1 linux.c:175 set_disk_and_part_name(): ultimate:'sda' linux.c:176 set_disk_and_part_name(): penultimate:'block' linux.c:177 set_disk_and_part_name(): approximate:'0:0:0:0' linux.c:178 set_disk_and_part_name(): proximate:'target0:0:0' linux.c:179 set_disk_and_part_name(): psl5:'host0' linux.c:215 set_disk_and_part_name(): disk:sda part:sda1 linux.c:446 device_get(): dev->disk_name: sda linux.c:447 device_get(): dev->part_name: sda1 linux.c:484 device_get(): searching for driver from in sda linux.c:484 device_get(): trying /sys/block/sda/device/driver linux.c:484 device_get(): trying /sys/block/sda/device/device/driver linux.c:512 device_get(): searching for device nodes in ../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda linux.c:526 device_get(): trying pmem linux-pmem.c:69 parse_pmem(): entry linux.c:561 device_get(): dev_probes[1]: 0x7fe9476e6020 dev->interface_type: 0 linux.c:526 device_get(): trying acpi_root linux-acpi-root.c:40 parse_acpi_root(): entry linux-acpi-root.c:50 parse_acpi_root(): current:'../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:0 pos0:14 pos1:-1 linux.c:561 device_get(): dev_probes[2]: 0x7fe9476e61a0 dev->interface_type: 0 linux.c:526 device_get(): trying pci_root linux-pci-root.c:38 parse_pci_root(): entry linux-pci-root.c:46 parse_pci_root(): current:'../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:2 pos0:0 pos1:25 linux-pci-root.c:47 parse_pci_root(): ^^^^^^^^^^^^^^^^^^^^^^^^^ linux-acpi.c:28 parse_acpi_hid_uid(): entry linux-acpi.c:33 parse_acpi_hid_uid(): path:devices/pci0000:00 rc:18 linux-acpi.c:43 parse_acpi_hid_uid(): Setting ACPI root path to '\_SB_.PCI0' linux-acpi.c:62 parse_acpi_hid_uid(): rc:1 hid:0x00000a08 linux-acpi.c:77 parse_acpi_hid_uid(): acpi root HID:0x0a0341d0 linux-acpi.c:100 parse_acpi_hid_uid(): acpi root UID:0x0 uidstr:'(null)' linux-pci-root.c:64 parse_pci_root(): current:'0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' sz:25 linux.c:536 device_get(): pci_root matched '../../devices/pci0000:00/' linux-pci-root.c:73 dp_create_pci_root(): entry buf:(nil) size:0 off:0 linux-pci-root.c:74 dp_create_pci_root(): returning 0 linux-pci-root.c:89 dp_create_pci_root(): creating acpi_hid dp hid:0x0a0341d0 uid:0x0 linux-pci-root.c:102 dp_create_pci_root(): returning 12 linux-pci-root.c:73 dp_create_pci_root(): entry buf:0x7ffe10ac33a0 size:12 off:0 linux-pci-root.c:74 dp_create_pci_root(): returning 0 linux-pci-root.c:89 dp_create_pci_root(): creating acpi_hid dp hid:0x0a0341d0 uid:0x0 linux-pci-root.c:102 dp_create_pci_root(): returning 12 dp-acpi.c:157 _format_acpi_dn(): formatting ACPI HID 0x0a0341d0 dp-acpi.c:157 _format_acpi_dn(): formatting ACPI HID 0x0a0341d0 linux.c:365 print_dev_dp_node(): Device path node is PciRoot(0x0) linux.c:552 device_get(): current:'0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' linux.c:521 device_get(): not testing soc_root because flags is 0x5 linux.c:521 device_get(): not testing virtual_root because flags is 0x5 linux.c:526 device_get(): trying pci linux-pci.c:37 parse_pci(): entry linux-pci.c:51 parse_pci(): searching for 0000:00:00.0/ linux-pci.c:54 parse_pci(): current:'0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:4 pos0:0 pos1:13 linux-pci.c:55 parse_pci(): ^^^^^^^^^^^^^ linux-pci.c:60 parse_pci(): found pci domain 0000:00:1f.02 linux-pci.c:95 parse_pci(): driver:../../../bus/pci/drivers/ahci linux-pci.c:51 parse_pci(): searching for 0000:00:00.0/ linux-pci.c:54 parse_pci(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:1 pos0:0 pos1:-1 linux-pci.c:102 parse_pci(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' sz:13 linux.c:536 device_get(): pci matched '0000:00:1f.2/' linux-pci.c:112 dp_create_pci(): entry buf:(nil) size:0 off:0 linux-pci.c:114 dp_create_pci(): creating PCI device path nodes linux-pci.c:116 dp_create_pci(): creating PCI device path node 0 linux-pci.c:128 dp_create_pci(): returning 6 linux-pci.c:112 dp_create_pci(): entry buf:0x7ffe10ac33b0 size:6 off:0 linux-pci.c:114 dp_create_pci(): creating PCI device path nodes linux-pci.c:116 dp_create_pci(): creating PCI device path node 0 linux-pci.c:128 dp_create_pci(): returning 6 linux.c:365 print_dev_dp_node(): Device path node is Pci(0x1f,0x2) linux.c:552 device_get(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' linux.c:526 device_get(): trying virtio block linux-virtblk.c:41 parse_virtblk(): entry linux-virtblk.c:43 parse_virtblk(): searching for virtio0/ linux-virtblk.c:45 parse_virtblk(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:0 pos0:0 pos1:-1 linux.c:561 device_get(): dev_probes[7]: 0x7fe9476e6260 dev->interface_type: 0 linux.c:526 device_get(): trying sas linux-sas.c:149 parse_sas(): entry linux-scsi.c:36 parse_scsi_link(): entry linux-scsi.c:88 parse_scsi_link(): searching for host4/ linux-scsi.c:90 parse_scsi_link(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:0 pos0:-1 pos1:-1 linux.c:561 device_get(): dev_probes[8]: 0x7fe9476e62a0 dev->interface_type: 0 linux.c:526 device_get(): trying sata linux-sata.c:138 parse_sata(): entry linux-sata.c:148 parse_sata(): searching for ata1/ linux-sata.c:150 parse_sata(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:1 pos0:0 pos1:5 linux-sata.c:151 parse_sata(): ^^^^^ linux-sata.c:162 parse_sata(): searching for host0/ linux-sata.c:164 parse_sata(): current:'host0/target0:0:0/0:0:0:0/block/sda' rc:1 pos0:0 pos1:6 linux-sata.c:165 parse_sata(): ^^^^^^ linux-sata.c:171 parse_sata(): searching for target0:0:0:0/ linux-sata.c:174 parse_sata(): current:'target0:0:0/0:0:0:0/block/sda' rc:3 pos0:0 pos1:12 linux-sata.c:175 parse_sata(): ^^^^^^^^^^^^ linux-sata.c:181 parse_sata(): searching for 0:0:0:0/ linux-sata.c:184 parse_sata(): current:'0:0:0:0/block/sda' rc:4 pos0:0 pos1:8 linux-sata.c:185 parse_sata(): ^^^^^^^^ linux-sata.c:202 parse_sata(): current:'block/sda' sz:31 linux.c:536 device_get(): sata matched 'ata1/host0/target0:0:0/0:0:0:0/' linux-sata.c:212 dp_create_sata(): entry buf:(nil) size:0 off:0 linux-sata.c:212 dp_create_sata(): entry buf:0x7ffe10ac33a0 size:10 off:0 linux.c:365 print_dev_dp_node(): Device path node is Sata(0,65535,0) linux.c:552 device_get(): current:'block/sda' creator.c:217 efi_va_generate_file_device_path_from_esp(): EFIBOOT_ABBREV_HD creator.c:313 efi_va_generate_file_device_path_from_esp(): = 98 creator.c:167 efi_va_generate_file_device_path_from_esp(): partition:1 linux.c:387 device_get(): partition:1 dev->part:1 linux.c:428 device_get(): dev->link: ../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda linux.c:173 set_disk_and_part_name(): dev->disk_name:(nil) dev->part_name:(nil) linux.c:174 set_disk_and_part_name(): dev->part:1 linux.c:175 set_disk_and_part_name(): ultimate:'sda' linux.c:176 set_disk_and_part_name(): penultimate:'block' linux.c:177 set_disk_and_part_name(): approximate:'0:0:0:0' linux.c:178 set_disk_and_part_name(): proximate:'target0:0:0' linux.c:179 set_disk_and_part_name(): psl5:'host0' linux.c:215 set_disk_and_part_name(): disk:sda part:sda1 linux.c:446 device_get(): dev->disk_name: sda linux.c:447 device_get(): dev->part_name: sda1 linux.c:484 device_get(): searching for driver from in sda linux.c:484 device_get(): trying /sys/block/sda/device/driver linux.c:484 device_get(): trying /sys/block/sda/device/device/driver linux.c:512 device_get(): searching for device nodes in ../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda linux.c:526 device_get(): trying pmem linux-pmem.c:69 parse_pmem(): entry linux.c:561 device_get(): dev_probes[1]: 0x7fe9476e6020 dev->interface_type: 0 linux.c:526 device_get(): trying acpi_root linux-acpi-root.c:40 parse_acpi_root(): entry linux-acpi-root.c:50 parse_acpi_root(): current:'../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:0 pos0:14 pos1:-1 linux.c:561 device_get(): dev_probes[2]: 0x7fe9476e61a0 dev->interface_type: 0 linux.c:526 device_get(): trying pci_root linux-pci-root.c:38 parse_pci_root(): entry linux-pci-root.c:46 parse_pci_root(): current:'../../devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:2 pos0:0 pos1:25 linux-pci-root.c:47 parse_pci_root(): ^^^^^^^^^^^^^^^^^^^^^^^^^ linux-acpi.c:28 parse_acpi_hid_uid(): entry linux-acpi.c:33 parse_acpi_hid_uid(): path:devices/pci0000:00 rc:18 linux-acpi.c:43 parse_acpi_hid_uid(): Setting ACPI root path to '\_SB_.PCI0' linux-acpi.c:62 parse_acpi_hid_uid(): rc:1 hid:0x00000a08 linux-acpi.c:77 parse_acpi_hid_uid(): acpi root HID:0x0a0341d0 linux-acpi.c:100 parse_acpi_hid_uid(): acpi root UID:0x0 uidstr:'(null)' linux-pci-root.c:64 parse_pci_root(): current:'0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' sz:25 linux.c:536 device_get(): pci_root matched '../../devices/pci0000:00/' linux-pci-root.c:73 dp_create_pci_root(): entry buf:(nil) size:0 off:0 linux-pci-root.c:74 dp_create_pci_root(): returning 0 linux-pci-root.c:89 dp_create_pci_root(): creating acpi_hid dp hid:0x0a0341d0 uid:0x0 linux-pci-root.c:102 dp_create_pci_root(): returning 12 linux-pci-root.c:73 dp_create_pci_root(): entry buf:0x7ffe10ac33a0 size:12 off:0 linux-pci-root.c:74 dp_create_pci_root(): returning 0 linux-pci-root.c:89 dp_create_pci_root(): creating acpi_hid dp hid:0x0a0341d0 uid:0x0 linux-pci-root.c:102 dp_create_pci_root(): returning 12 dp-acpi.c:157 _format_acpi_dn(): formatting ACPI HID 0x0a0341d0 dp-acpi.c:157 _format_acpi_dn(): formatting ACPI HID 0x0a0341d0 linux.c:365 print_dev_dp_node(): Device path node is PciRoot(0x0) linux.c:552 device_get(): current:'0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' linux.c:521 device_get(): not testing soc_root because flags is 0x5 linux.c:521 device_get(): not testing virtual_root because flags is 0x5 linux.c:526 device_get(): trying pci linux-pci.c:37 parse_pci(): entry linux-pci.c:51 parse_pci(): searching for 0000:00:00.0/ linux-pci.c:54 parse_pci(): current:'0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:4 pos0:0 pos1:13 linux-pci.c:55 parse_pci(): ^^^^^^^^^^^^^ linux-pci.c:60 parse_pci(): found pci domain 0000:00:1f.02 linux-pci.c:95 parse_pci(): driver:../../../bus/pci/drivers/ahci linux-pci.c:51 parse_pci(): searching for 0000:00:00.0/ linux-pci.c:54 parse_pci(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:1 pos0:0 pos1:-1 linux-pci.c:102 parse_pci(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' sz:13 linux.c:536 device_get(): pci matched '0000:00:1f.2/' linux-pci.c:112 dp_create_pci(): entry buf:(nil) size:0 off:0 linux-pci.c:114 dp_create_pci(): creating PCI device path nodes linux-pci.c:116 dp_create_pci(): creating PCI device path node 0 linux-pci.c:128 dp_create_pci(): returning 6 linux-pci.c:112 dp_create_pci(): entry buf:0x7ffe10ac33b0 size:6 off:0 linux-pci.c:114 dp_create_pci(): creating PCI device path nodes linux-pci.c:116 dp_create_pci(): creating PCI device path node 0 linux-pci.c:128 dp_create_pci(): returning 6 linux.c:365 print_dev_dp_node(): Device path node is Pci(0x1f,0x2) linux.c:552 device_get(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' linux.c:526 device_get(): trying virtio block linux-virtblk.c:41 parse_virtblk(): entry linux-virtblk.c:43 parse_virtblk(): searching for virtio0/ linux-virtblk.c:45 parse_virtblk(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:0 pos0:0 pos1:-1 linux.c:561 device_get(): dev_probes[7]: 0x7fe9476e6260 dev->interface_type: 0 linux.c:526 device_get(): trying sas linux-sas.c:149 parse_sas(): entry linux-scsi.c:36 parse_scsi_link(): entry linux-scsi.c:88 parse_scsi_link(): searching for host4/ linux-scsi.c:90 parse_scsi_link(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:0 pos0:-1 pos1:-1 linux.c:561 device_get(): dev_probes[8]: 0x7fe9476e62a0 dev->interface_type: 0 linux.c:526 device_get(): trying sata linux-sata.c:138 parse_sata(): entry linux-sata.c:148 parse_sata(): searching for ata1/ linux-sata.c:150 parse_sata(): current:'ata1/host0/target0:0:0/0:0:0:0/block/sda' rc:1 pos0:0 pos1:5 linux-sata.c:151 parse_sata(): ^^^^^ linux-sata.c:162 parse_sata(): searching for host0/ linux-sata.c:164 parse_sata(): current:'host0/target0:0:0/0:0:0:0/block/sda' rc:1 pos0:0 pos1:6 linux-sata.c:165 parse_sata(): ^^^^^^ linux-sata.c:171 parse_sata(): searching for target0:0:0:0/ linux-sata.c:174 parse_sata(): current:'target0:0:0/0:0:0:0/block/sda' rc:3 pos0:0 pos1:12 linux-sata.c:175 parse_sata(): ^^^^^^^^^^^^ linux-sata.c:181 parse_sata(): searching for 0:0:0:0/ linux-sata.c:184 parse_sata(): current:'0:0:0:0/block/sda' rc:4 pos0:0 pos1:8 linux-sata.c:185 parse_sata(): ^^^^^^^^ linux-sata.c:202 parse_sata(): current:'block/sda' sz:31 linux.c:536 device_get(): sata matched 'ata1/host0/target0:0:0/0:0:0:0/' linux-sata.c:212 dp_create_sata(): entry buf:(nil) size:0 off:0 linux-sata.c:212 dp_create_sata(): entry buf:0x7ffe10ac33a0 size:10 off:0 linux.c:365 print_dev_dp_node(): Device path node is Sata(0,65535,0) linux.c:552 device_get(): current:'block/sda' creator.c:217 efi_va_generate_file_device_path_from_esp(): EFIBOOT_ABBREV_HD creator.c:313 efi_va_generate_file_device_path_from_esp(): = 98 loadopt.c:35 efi_loadopt_create(): entry buf:0x55955125d610 size:142 dp:0x55955125eb90 dp_size:98 loadopt.c:46 efi_loadopt_create(): testing buf loadopt.c:53 efi_loadopt_create(): testing optional data presence loadopt.c:57 efi_loadopt_create(): testing dp presence loadopt.c:62 efi_loadopt_create(): testing dp validity loadopt.c:69 efi_loadopt_create(): testing dp size: dp_size:98 efidp_size(dp):98 Could not prepare Boot variable: Invalid argument error trace: efivarfs.c:445 efivarfs_set_variable(): writing to fd 4 failed: Invalid argument lib.c:78 _efi_set_variable_mode(): ops->set_variable() failed: Invalid argument efibootmgr.c:331 make_var(): efi_set_variable failed: Invalid argument efibootmgr.c:341 make_var(): Could not set variable Boot0001: Invalid argument
After a firmware reset, I can no longer reproduce this issue. Closing.
Using
efibootmgr
version 18 on a new Fedora 37 install. Trying to create a boot entry forsystemd-boot
, which is installed at/EFI/systemd/systemd-bootx64.efi
onsda1
.Current boot menu looks like this:
Try to create the new entry: