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

Zygmunt Krynicki 1786699 at bugs.launchpad.net
Mon Oct 18 20:40:40 UTC 2021


This is now fixed upstream
https://gitlab.com/larswirzenius/vmdb2/-/merge_requests/83

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