* grub does not properly set efi boot on NVMe device
@ 2016-05-27 18:37 Benoit Gschwind
2016-05-28 8:00 ` Andrei Borzenkov
0 siblings, 1 reply; 2+ messages in thread
From: Benoit Gschwind @ 2016-05-27 18:37 UTC (permalink / raw)
To: grub-devel
Hello,
I found an issue when I use:
grub-install --boot-directory=/boot/efi/EFI/gentoo --efi-directory=/boot/efi
Note that the EFI partition is mounted at /boot/efi and I use grub 2.02beta3
After grub-install, I get the following boot setup:
localhost ~ # efibootmgr -v
BootCurrent: 0000
Timeout: 0 seconds
BootOrder: 0001,0000,0004
Boot0000* ubuntu
HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* gentoo
HD(1,0,00000000000000000000000000000000,0x0,0x0)/File(\EFI\gentoo\grubx64.efi)
Boot0004 Windows Boot Manager
HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)
[hidden]
Boot0006* M.2 PCIe SSD BBS(HD,PM951 NVMe SAMSUNG 512GB ,0x0)..BO
Boot0008* UEFI: PM951 NVMe SAMSUNG 512GB, Partition 1
HD(1,GPT,[hiddent],0x800,0xfa000)/File(EFI\boot\bootx64.efi)[hidden]
When I reboot my computer skip the entry 0001 and load the entry 0000,
and also remote the entry 0001 from the boot order.
If I setup the boot loader with the bios, I get the following _working_
setup :
localhost ~ # efibootmgr -v
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,0004,0000
Boot0000* ubuntu
HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
Boot0001* gentoo
HD(1,0,00000000000000000000000000000000,0x0,0x0)/File(\EFI\gentoo\grubx64.efi)
Boot0002* gentoo
PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,[hidden])/HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\gentoo\grubx64.efi)
Boot0004 Windows Boot Manager
HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)[hidden]
Boot0006* M.2 PCIe SSD BBS(HD,PM951 NVMe SAMSUNG 512GB ,0x0)[hidden]
Boot0008* UEFI: PM951 NVMe SAMSUNG 512GB, Partition 1
HD(1,GPT,[hidden],0x800,0xfa000)/File(EFI\boot\bootx64.efi)[hidden]
The entry 0002 is properly selected, and work fine. Note also that I can
remove the entry 0001 without trouble.
I hope that may help to improve grub.
Best regards
--
Benoit Gschwind
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: grub does not properly set efi boot on NVMe device
2016-05-27 18:37 grub does not properly set efi boot on NVMe device Benoit Gschwind
@ 2016-05-28 8:00 ` Andrei Borzenkov
0 siblings, 0 replies; 2+ messages in thread
From: Andrei Borzenkov @ 2016-05-28 8:00 UTC (permalink / raw)
To: The development of GNU GRUB
27.05.2016 21:37, Benoit Gschwind пишет:
> Hello,
>
> I found an issue when I use:
>
> grub-install --boot-directory=/boot/efi/EFI/gentoo --efi-directory=/boot/efi
>
> Note that the EFI partition is mounted at /boot/efi and I use grub 2.02beta3
>
> After grub-install, I get the following boot setup:
>
> localhost ~ # efibootmgr -v
> BootCurrent: 0000
> Timeout: 0 seconds
> BootOrder: 0001,0000,0004
> Boot0000* ubuntu
> HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
> Boot0001* gentoo
> HD(1,0,00000000000000000000000000000000,0x0,0x0)/File(\EFI\gentoo\grubx64.efi)
> Boot0004 Windows Boot Manager
> HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)
> [hidden]
> Boot0006* M.2 PCIe SSD BBS(HD,PM951 NVMe SAMSUNG 512GB ,0x0)..BO
> Boot0008* UEFI: PM951 NVMe SAMSUNG 512GB, Partition 1
> HD(1,GPT,[hiddent],0x800,0xfa000)/File(EFI\boot\bootx64.efi)[hidden]
>
> When I reboot my computer skip the entry 0001 and load the entry 0000,
> and also remote the entry 0001 from the boot order.
>
EFI menu entries are created by efibootmgr. Please run grub-install with
option --debug and make full log avaiable.
> If I setup the boot loader with the bios, I get the following _working_
> setup :
>
> localhost ~ # efibootmgr -v
> BootCurrent: 0002
> Timeout: 0 seconds
> BootOrder: 0002,0004,0000
> Boot0000* ubuntu
> HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\ubuntu\shimx64.efi)
> Boot0001* gentoo
> HD(1,0,00000000000000000000000000000000,0x0,0x0)/File(\EFI\gentoo\grubx64.efi)
> Boot0002* gentoo
> PciRoot(0x0)/Pci(0x1d,0x0)/Pci(0x0,0x0)/NVMe(0x1,[hidden])/HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\gentoo\grubx64.efi)
> Boot0004 Windows Boot Manager
> HD(1,GPT,[hidden],0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)[hidden]
> Boot0006* M.2 PCIe SSD BBS(HD,PM951 NVMe SAMSUNG 512GB ,0x0)[hidden]
> Boot0008* UEFI: PM951 NVMe SAMSUNG 512GB, Partition 1
> HD(1,GPT,[hidden],0x800,0xfa000)/File(EFI\boot\bootx64.efi)[hidden]
>
> The entry 0002 is properly selected, and work fine. Note also that I can
> remove the entry 0001 without trouble.
>
> I hope that may help to improve grub.
>
> Best regards
> --
> Benoit Gschwind
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-28 8:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-27 18:37 grub does not properly set efi boot on NVMe device Benoit Gschwind
2016-05-28 8:00 ` Andrei Borzenkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).