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

Colin Watson cjwatson at canonical.com
Sun Dec 8 20:31:35 UTC 2019


Thanks.

I think I'm basically OK with the idea of this patch, but I'd want to
see it in isolation rather than needing to dig through the whole Ubuntu
delta for it.  Maybe I could have a merge request or something?

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