help-grub
[Top][All Lists]
Advanced

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

Re: Grub and nvme disk issue


From: Benoit
Subject: Re: Grub and nvme disk issue
Date: Fri, 25 Mar 2016 15:47:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

Thanks Andrei for your response, my replies below

On 03/25/2016 03:41 PM, Andrei Borzenkov wrote:
On Fri, Mar 25, 2016 at 2:28 PM, Benoit <address@hidden> wrote:
Hi Grub :)

I use Grub for almost 10 years and I am in a situation where I am unable to
make it work on my brand new laptop :(
The laptop has a nvme disk and I read it could be the issue...
Grub version is : grub 1:2.02.beta3-1
OS: Parabola (Arch Linux based)

I am doing :
nano /etc/mkinitcpio.conf
MODULES="nvme"

HOOKS="base udev autodetect modconf block keymap keyboard encrypt
filesystems fsck"

/etc/default/grub
GRUB_CMDLINE_LINUX="cryptdevice=/dev/nvme0n1p2:nvme0n1p2_decrypted"
GRUB_ENABLE_CRYPTODISK=y

mkdir /boot/grub
grub-mkconfig -o /boot/grub/grub.cfg
grub-install --target=x86_64-efi --efi-directory=/boot/efi
--bootloader-id=Parabola --recheck /dev/nvme0n1p1

Forgot to mention that I don't have any error message, everything is done succesfully
mkinitcpio -p linux-libre

(I am trying to use Grub with a full encryption disk, but I am almost sure
it is not the issue as doing exactly the same on another computer is working
perfectly...)

When I restart the computer after the Grub installation I can see the new
entries in the UEFI list in my BIOS
And these entries are ... ?

I can see "Parabola"
which is fine as it is the one I added with this command:

grub-install --target=x86_64-efi --efi-directory=/boot/efi
--bootloader-id=Parabola --recheck /dev/nvme0n1p1




but it makes a black screen and
immediately jumping into another entries which is a system recovery type of
thing...

Where your /boot/grub is located? Is it on NVMe device?
Yep, my /boot/grub is on NVMe device as I only have this drive on my laptop

Show output of "efibootmgr -v" and tell which entry corresponds to
your grub installation.
efibootmgr -v
BootCurrent: 0005
Timeout: 0 seconds
BootOrder: 0003,0005
Boot0000 Windows Boot Manager HD(1,GPT,b3b80ac4-ce54-4b15-9a16-e79bff51213e,0x800,0xfa000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}.................... Boot0001* Parabola HD(1,0,00000000000000000000000000000000,0x0,0x0)/File(\EFI\Parabola\grubx64.efi) Boot0002* Systemd Boot Manager HD(1,GPT,9f89ce5e-fd6d-4bb7-96d0-6739a5e5e8a0,0x800,0x100000)/File(\EFI\systemd\systemd-bootx64.efi) Boot0003* Systemd Boot Manager HD(1,GPT,feb715e6-59b0-41b8-8ecc-c5b7965edf25,0x800,0x100000)/File(\EFI\systemd\systemd-bootx64.efi) Boot0005* UEFI: SMI USB DISK 1100, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x4294967272,0xfc,0xf800)..BO

Boot0001* Parabola HD(1,0,00000000000000000000000000000000,0x0,0x0)/File(\EFI\Parabola\grubx64.efi) is the one I try to make it work
Any idea what would be wrong ? I know systemd-boot is working and I have
been able to see the list but I would like to stay with Grub as I like it
and particularly the fact I can use a full encrypted disk with /boot
included...

Many thanks

Belette



_______________________________________________
Help-grub mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-grub




reply via email to

[Prev in Thread] Current Thread [Next in Thread]