← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1824245] Re: Can't create a bootable disk by doing image creation on a loop device

 

** Also affects: grub2 (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: grub2 (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: grub2 (Ubuntu Bionic)
       Status: New => Fix Released

** Changed in: grub2 (Ubuntu)
       Status: New => Fix Released

** Changed in: grub2 (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: grub2 (Ubuntu Xenial)
   Importance: Undecided => Medium

-- 
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/1824245

Title:
  Can't create a bootable disk by doing image creation on a loop device

Status in grub2 package in Ubuntu:
  Fix Released
Status in grub2 source package in Xenial:
  Triaged
Status in grub2 source package in Bionic:
  Fix Released

Bug description:
  I'm trying to create a bootable disk image using an image file mounted
  as a loop device with partx.

  While the grub-install succeeds, when I attempt to boot in KVM or
  VMware, it fails with the following error:

  """"
  error: no such device: 92136917-76ff-4115-9eed-9caa20529682.
  Entering rescue mode...
  grub rescue> _
  """"

  The grub boot configuration entry my process creates is pretty simple:
  """
  menuentry 'Ubuntu LTS (v16.04)' {
    search --set=root --no-floppy --fs-uuid 92136917-76ff-4115-9eed-9caa20529682
    loopback loop /images/16.04.img
    linux (loop)/vmlinuz root=UUID=92136917-76ff-4115-9eed-9caa20529682 rootdelay=120 rw quiet panic=5 vga=791 consoleblank=0 max_loop=256 splash loop=/images/16.04.img net.ifnames=0 nomdmonisw nomdmonddf bootdegraded=true audit=1 
    initrd (loop)/initrd.img
  }

  """

  I think it's because this commit is missing from Ubuntu 16.04's grub2
  package:
  http://git.savannah.gnu.org/cgit/grub.git/commit/?id=35f2d96c0d68772c831952b2ee4eba6519d6ea1b

  Could this get fixed in some way?

  I'm using Ubuntu 16.04.6. The current grub2 package version is
  "2.02~beta2-36ubuntu3.21".

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