On Fri, Feb 21, 2020 at 12:21:29PM +0000, Simon McVittie wrote:
> This appears to be because --force-extra-removable is a Debian-specific
> option, added by
> <https://salsa.debian.org/grub-team/grub/blob/master/debian/patches/grub-install-extra-removable.patch>.

I confirm that diagnosis. I would really, really prefer it if Ubuntu
didn't break compatbility with Debian here. I'd really, really prefer
to avoid having vmdb2 sniff whether some option is available or not.
But it seems Ubuntu didn't reverse this for their current LTS release.

I also don't understand PC booting very deeply, so I'm not sure if the
option is necessary for vmdb2 to use. (Help and explanations would be
appreciated.)

Given that Ubuntu is the unmoveable object here, I see two options for
vmdb2:

1. vmdb2 runs grub-install --help and looks for the
  --force-extra-removable, and only use it if listed in the output.

2. vmdb2 won't use the option by default and requires the user to say
   they want it by adding an "force-extra-removable: yes" field to the
   grub step.

I'm leaning towards the second. Opinions?

> I think this would also be a problem if installing a
> non-Debian-derived OS.

But only those who are incompatible with Debian's grub-install, I think.

-- 
I want to build worthwhile things that might last. --joeyh

Attachment: signature.asc
Description: PGP signature

Reply via email to