[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#975417: Fails to parse /sys/dev/block links for NVMe devices, fixed upstream



On Sun, Nov 22, 2020 at 12:43:42AM +0000, Andy Smith wrote:
>Hi Steve,
>
>On Sun, Nov 22, 2020 at 12:20:06AM +0000, Steve McIntyre wrote:
>> Could I ask you to please try the package versions from
>> 
>>   https://people.debian.org/~93sam/efivar/
>> 
>> and confirm that they're good for you?
>
>Yes, that works.
>
># grub-install /dev/nvme0n1
>Installing for x86_64-efi platform.
>grub-install: warning: efivarfs_get_variable: open(/sys/firmware/efi/efivars/blk0-47c7b225-c42a-11d2-8e57-00a0c969723b): No such file or directory.
>grub-install: warning: efi_get_variable: ops->get_variable failed: No such file or directory.
>grub-install: warning: device_get: readlink of /sys/block/(null)/device failed: No such file or directory.
>grub-install: warning: open_disk: could not open disk: No such file or directory.
>grub-install: warning: efi_va_generate_file_device_path_from_esp: could not open disk: No such file or directory.
>grub-install: warning: efi_generate_file_device_path_from_esp: could not generate File DP from ESP: No such file or directory.
>grub-install: error: failed to register the EFI boot entry: No such file or directory.
># wget https://people.debian.org/~93sam/efivar/libefiboot1_37-2+deb10u1_amd64.deb
># apt install ./libefiboot1_37-2+deb10u1_amd64.deb
># grub-install /dev/nvme0n1
>Installing for x86_64-efi platform.
>Installation finished. No error reported.
># efibootmgr -v
>BootCurrent: 000B
>Timeout: 5 seconds
>BootOrder: 000B,000C,0009,000A,0003
>Boot0003* UEFI: Built-in EFI Shell      VenMedia(5023b95c-db26-429b-a648-bd47664c8012)..BO
>Boot0009* (B1/D0/F0) UEFI: PXE IPv4 Intel(R) I350 Gigabit Network Connection(MAC:3cecef2221e8)  PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/MAC(3cecef2221e8,1)/IPv4(0.0.0.00.0.0.0,0,0)..BO
>Boot000A* (B1/D0/F1) UEFI: PXE IPv4 Intel(R) I350 Gigabit Network Connection(MAC:3cecef2221e9)  PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x1)/MAC(3cecef2221e9,1)/IPv4(0.0.0.00.0.0.0,0,0)..BO
>Boot000B* debian        HD(1,GPT,684729d1-2765-4651-9376-909a41d833e0,0x800,0x106000)/File(\EFI\debian\shimx64.efi)
>
>(libefiboot1 update is enough for me, but I did check that it still
>works with your libefivar1 installed as well. Out of your updated
>packages I only have libefiboot1 and libefivar1.)

Perfect, thanks!

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
Welcome my son, welcome to the machine.


Reply to: