[Bug 1786699] Re: grub-install command line options incompatible with Debian

TimSmall 1786699 at bugs.launchpad.net
Wed May 6 15:51:31 UTC 2020


Hello,

FWIW this breaks the vmdb2 on Ubuntu ("grub: uefi" steps break), and
makes it impossible to build uefi bootable Ubuntu images.  It would be
great to get his merged as a noop, perhaps it would best if the output
warned that this is a deprecated flag and is a noop, to discourage its
future use, and make sure it eventually goes away when this no longer
risks breaking anything.

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

Title:
  grub-install command line options incompatible with Debian

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  I'm working on creating an autopkgtest-build-qemu tool for autopkgtest
  using vmdb2. When vmdb2 is trying to setup grub in an Ubuntu VM image,
  it fails like this:

  ERROR: Command failed: chroot /tmp/tmpvsayg7te grub-install --target=i386-pc --no-nvram --force-extra-removable --no-floppy --modules=part_msdos part_gpt --grub-mkdevicemap=1
  b''
  b"grub-install: unrecognized option '--force-extra-removable'\nTry 'grub-install --help' or 'grub-install --usage' for more information.\n"

  I noticed by reading the changelog that grub2 diverges from Debian
  there, and I don't particularly care about the details. However,
  having incompatible command lines unnecessarily breaks stuff that
  works in Debian and would otherwise Just Work in Ubuntu.

  So, I would suggest that the --force-extra-removable option is kept in
  Ubuntu as a no-op.

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



More information about the foundations-bugs mailing list