Skip to content

-e 3 or --full-dev-path not work #215

@jpka-

Description

@jpka-

Hello.
I have exactly same trouble as in #86, i need PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,GPT,... string, instead of HD(1,GPT,.. one.
But suggested -e 3 not work:

efibootmgr -v --create -e 3 -d /dev/sda --part 1 -L "Arch" -l /vmlinuz-linux -u "root=/dev/sda2 rw initrd=/initramfs-linux.img"
Could not prepare Boot variable: Invalid argument
error trace:
 creator.c:236 efi_va_generate_file_device_path_from_esp(): Device must use File() or HD() device path: Invalid argument
 creator.c:335 efi_generate_file_device_path_from_esp(): could not generate File DP from ESP: Invalid argument
 efi.c:225 make_linux_load_option(): efi_generate_file_device_path_from_esp() = -1 (failed): Invalid argument
 efibootmgr.c:295 make_var(): make_linux_load_option() failed: Invalid argument
 efibootmgr.c:344 make_var(): Could not set variable: Invalid argument

I try to downgrade as deep as i can, for Archlinux it is: downgrading package efibootmgr (18-3 => 16-2), but no effect. I can't find version 15 anywhere, which expected to work as per #86.
The hardware is EFI-only thin client, it booted fine with Arch installer usb disk. It not sees non-PciRoot strings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions