[Bug 1876258] Re: ubuntu 20.04 pxe installation fails with no such file or directory /dev/disk/by-id exception

Ryan Harper 1876258 at bugs.launchpad.net
Fri Aug 21 15:20:56 UTC 2020


Curtin is collecting by-id links to disk to populate grub2 's debconf
value:

grub-pc grub-pc/install_devices

It's not clear to me (yet) if providing non persistent values (like
/dev/sda) will work with

/usr/lib/grub/grub-multi-install

Even if it accepts non-by-id values;  it's possible that on subsequent
boots (with additional disks present) that /dev/sda might not point to
the disk that has grub.

So we can change this from an error by falling back on the path value,
but it's just not safe.  Disks need persistent attributes (like serial)
for persistent links to work as expected.

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

Title:
  ubuntu 20.04 pxe installation fails with no such file or directory
  /dev/disk/by-id exception

Status in curtin:
  Confirmed
Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  The `configure_grub_debconf` function tries to find a by-id path of
  the boot device.

  The problem is though - when I run ubuntu 20.04 live cd via PXE -
  there is no `/dev/disk/by-id` there are only

  1) by-label
  2) by-partuuid
  3) by-path
  4) by-uuid

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1876258/+subscriptions



More information about the foundations-bugs mailing list