------- Comment From mauri...@br.ibm.com 2017-01-27 08:18 EDT------- Verification done on Xenial. All good!
Used the netboot image in xenial-updates as of Jan 27, with kernel cmdline args 'apt-setup/proposed=true'. Created a guest w/ a virtual SCSI drive and NVMe drive in PCI-passthrough mode. In the partitioning dialog, created a PReP partition in the SCSI drive (sda1) so to make sure it's listed first in "prep_bootdev -l", which caused the problem previously. After installation, gone back to shell and verified that grub-installer indeed used the nvme drive, even though the SCSI drive showed up first in "prep_bootdev -l".. and that the new script bits were downloaded (version 1.128ubuntu5.1) and in place. ~ # /usr/lib/grub-installer/prep-bootdev -l /dev/sda1 /dev/nvme0n1p1 ~ # grep grub-install /var/log/syslog Jan 27 12:57:03 anna[1761]: DEBUG: retrieving grub-installer 1.128ubuntu5.1 Jan 27 12:57:04 anna[1761]: 2017-01-27 12:57:04 URL:http://us.ports.ubuntu.com/ubuntu-ports//pool/main/g/grub-installer/grub-installer_1.128ubuntu5.1_ppc64el.udeb [252334/252334] -> "/var/cache/anna/grub-installer_1.128ubuntu5.1_ppc64el.udeb" [1] Jan 27 13:05:25 main-menu[518]: INFO: Menu item 'grub-installer' selected Jan 27 13:05:25 grub-installer: info: architecture: ppc64el/chrp_ibm Jan 27 13:05:29 grub-installer: info: Identified partition label for /dev/nvme0n1p2: gpt Jan 27 13:05:29 grub-installer: info: Wiping PReP partition /dev/nvme0n1p1 Jan 27 13:05:31 in-target: grub-install: warning: unknown device type nvme0n1p2^M Jan 27 13:05:31 grub-installer: info: Installing grub on '/dev/nvme0n1p1' Jan 27 13:05:31 grub-installer: info: grub-install does not support --no-floppy Jan 27 13:05:31 grub-installer: info: Running chroot /target grub-install --force "/dev/nvme0n1p1" Jan 27 13:05:31 grub-installer: Installing for powerpc-ieee1275 platform. Jan 27 13:05:32 grub-installer: Installation finished. No error reported. Jan 27 13:05:32 grub-installer: info: grub-install ran successfully ~ # grep split_device /usr/bin/grub-installer split_device () { prep_dev=$(split_device $prep_p) offered=$(split_device $disc_offered) bootdev_split="$(split_device "$bootdev")" bootfs_split="$(split_device "$bootfs")" ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1656048 Title: grub-installer might not install to the PReP partition of NVMe disks To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1656048/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs