I have the same problem with the latest version installed on an nvme
drive (4.15.0-29).  It seems that when there's a single nvme drive and
no other disks it may work, but when other drives are present, grub-
install doesn't seem to install the bootloader on the nvme device. The
workaround I found was to put the EFI partition on an attached s/ata
disk (/dev/sda1) and put root and everything that needed to be fast in
an LVM on the nvme drive.  I did need to boot to the installer, mount
the nvme root on /mnt and the other efi directory on /mnt/boot/efi,
create the required devices in /mnt, chroot to /mnt and then run
install-grub /dev/sda followed by grub-update, after which, the newly
installed system came up as it should by booting to the EFI device,
/dev/sda1 which booted to the root on the nvme device.

Afterwards, I dd'd the first 2K sectors of /dev/sda and /dev/nvme0n1 and
while the partition table was present on the nvme drive, where the boot
loader should have been contained zeros. Oddly enough, using the -d
option on install-grub seemed to indicate that something was written
somewhere.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1507505

Title:
  Unable to install GRUB in /dev/nvme

To manage notifications about this bug go to:
https://bugs.launchpad.net/grub-installer/+bug/1507505/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to