grub-install, --force-extra-removable and Ubuntu
It looks like --force-extra-removable
is a GRUB option which is added in a Debian-specific patch for GRUB. Apparently, Ubuntu likes to do things differently and made that the default, adding an incompatible --no-extra-removable
option instead...
In theory, I suppose using vmdb2 to build an Ubuntu image would work, as Ubuntu can also be built using debootstrap. In practice, this prevents it from working.
As this doesn't seem to get fixed from Ubuntu's side, would a fix in vmdb2 be reasonable? Here are some possibilities I can think of:
- Add an option in the YAML for
grub:
to disable the argument - Check
/etc/os-release
in the plugin first, checking forID=ubuntu
- Call
grub --version
in the plugin first, checking forubuntu
in there