[Bug 2090834] [NEW] vboxpostinstall.sh returned non-zero exit status 1.
Launchpad Bug Tracker
2090834 at bugs.launchpad.net
Thu Dec 11 15:09:37 UTC 2025
You have been subscribed to a public bug:
We have multiple private bug reports where people try to install Ubuntu
24.04 using virtualbox but vboxpostinstall.sh fails.
All these bugs have:
* CasperMD5CheckResult: fail
So they all ended up closed automatically. I created an exception so
that such reports would not automatically get closed if they also have:
* CasperMD5CheckMismatches: ./boot/grub/grub.cfg
After investigating, I found out that vboxpostinstall.sh indirectly
relies on usermod to add the `vboxuser` user to a group (vboxuser is the
default name for VirtualBox unattended installations but can be changed
by when creating the VM).
We know for a fact that Subiquity-based installers do not create users
until first boot so using usermod in a postinstall scripts doesn't work.
Note that one cannot reproduce this issue with an Ubuntu Host OS at the
moment. The virtualbox package in Ubuntu does not have the autoinstall
support ; so when selecting unattended installation, there is no
automation at all. Autoinstall support is new in VirtualBox 7.1.
Workaround: https://bugs.launchpad.net/subiquity/+bug/2090834/comments/7
** Affects: ubuntu-desktop-provision
Importance: High
Status: Triaged
** Affects: virtualbox
Importance: Unknown
Status: Unknown
** Affects: subiquity (Ubuntu)
Importance: Undecided
Status: Triaged
--
vboxpostinstall.sh returned non-zero exit status 1.
https://bugs.launchpad.net/bugs/2090834
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to subiquity in Ubuntu.
More information about the foundations-bugs
mailing list