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

Antonio Terceiro antonio.terceiro at linaro.org
Sun Aug 12 15:33:26 UTC 2018


Public bug reported:

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.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

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

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