Unable to install GRUB in /dev/nvme
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Unknown
|
Unknown
|
|||
grub-installer |
New
|
Undecided
|
Unassigned | ||
grub-installer (Ubuntu) |
Confirmed
|
High
|
Mathieu Trudel-Lapierre |
Bug Description
On T460s, I tried to install the wily daily build, it could detect the nvme partition, at the end of installation, it prompt ' Unable to install GRUB in /dev/nvme'
Oct 19 16:47:01 ubuntu grub-installer: info: Installing grub on '/dev/nvme'
Oct 19 16:47:01 ubuntu grub-installer: info: grub-install does not support --no-floppy
Oct 19 16:47:01 ubuntu grub-installer: info: Running chroot /target grub-install --force "/dev/nvme"
Oct 19 16:47:01 ubuntu grub-installer: Installing for i386-pc platform.
Oct 19 16:47:02 ubuntu grub-installer: grub-install: error: cannot find a GRUB drive for /dev/nvme. Check your device.map.
Oct 19 16:47:02 ubuntu grub-installer: error: Running 'grub-install --force "/dev/nvme"' failed.
Oct 19 16:48:30 ubuntu systemd[1]: Started Session c2 of user ubuntu.
Why it install to /dev/nvme, while not the /dev/nvme0n1?
$ sudo grub-install --boot-directory /target/boot/grub /dev/nvme
Installing for i386-pc platform
grub-install: error: cannot find a GRUB drive for /dev/nvme. Check your device.map.
$ sudo grub-install --boot-directory /target/boot/grub /dev/nvme0
Installing for i386-pc platform
grub-install: error: attempt to read or write outside of disk `hostdisk/
$ sudo grub-install --boot-directory /target/boot/grub /dev/nvme0n1
Installing for i386-pc platform
Inatalltion finished. No error reported.
But even it's no error reported, I still cant' find any grub after reboot.
affects: | linux (Ubuntu) → grub-installer (Ubuntu) |
Changed in grub-installer (Ubuntu): | |
status: | Triaged → Confirmed |
Changed in grub-installer (Ubuntu): | |
status: | Confirmed → Incomplete |
status: | Incomplete → Confirmed |
previously, installation on to nvme drivers has been fixed and used to operate correctly.
using $ ubuntu-bug ubiquity, or $ ubuntu-bug debian-installer -> would be better as it would include a lot of logs and details of package versions throughout.
i386-pc is a bit weird, as I would expect nvme drives to only install in the UEFI mode.