← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1600308] Re: ubiquity targets invalid device name with nvme disks, fails to install grub

 

This bug was fixed in the package ubiquity - 2.18.8.13

---------------
ubiquity (2.18.8.13) trusty; urgency=medium

  * ubiquity/misc.py: fix regex to match against nvme disks. (LP: #1600308)
  * Automatic update of included source packages: grub-installer
    1.78ubuntu20.4.

 -- Mathieu Trudel-Lapierre <cyphermox@xxxxxxxxxx>  Mon, 01 Aug 2016
14:58:28 -0400

** Changed in: ubiquity (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1600308

Title:
  ubiquity targets invalid device name with nvme disks, fails to install
  grub

Status in ubiquity package in Ubuntu:
  Fix Released
Status in ubiquity source package in Trusty:
  Fix Released
Status in ubiquity source package in Xenial:
  In Progress

Bug description:
  [Impact]
  Users with NVMe disks.

  [Test case]
  - Install system with NVMe disks; expect to pick the boot device.
  Install should complete succesfully.

  [Regression Potential]
  This only adds matching for NVMe devices; any such devices will now be matched based on the partition numbers rather than risking to match a character device for NVMe formatting. This does not match regular block devices and partitions.

  ---

  On Ubuntu 16.04, when installing Ubuntu to an nvme drive, Ubiquity
  fails to install grub.  In ubiquity/misc.py the function default_grub
  targets /dev/nvme0 instead of /dev/nvme0n1, which is the real name of
  the device.

  For single drive scenarios, this can be fixed by filtering out nvme devices from the regex line:
  old:
  target = re.sub(r'(/dev/(cciss|ida)/c[0-9]d[0-9]|/dev/[a-z]+).*',
                              r'\1', target)
  fixed:
  target = re.sub(r'(/dev/(cciss|ida)/c[0-9]d[0-9]|/dev/(?!nvme)[a-z]+).*',
                              r'\1', target)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1600308/+subscriptions