Workaround for issue with 'VBoxManage unattended install' of Debian Stretch (#18410)

This is for discussing general topics about how to use VirtualBox.

Workaround for issue with 'VBoxManage unattended install' of Debian Stretch (#18410)

Postby WildSAR » 8. Feb 2019, 01:41


ModEdit; related ticket: #18410: debian-stretch-netinst does not work with 'VBoxManage unattended install' because of incorrect install menu defaults

Greetings,

There is an issue when installing Debian Stretch using 'VBoxManage unattended install' because the ISO menu defaults are incorrect and "Graphical Install" comes up as the default. If you are fast, you can single arrow down to just "Install" then press enter/return and everything will work fine.

However, if you are trying to build entirely from the command line (like when ssh-ed into a host) or are trying to automate the creation/installation of Debian Stretch using VBoxManage, this presents a real problem.

I filed a bug (and supplied a workaround) to this situation. Attached to the bug is a script to reproduce the bug (cleverly named reproduce-bug.sh) and a four line patch to change generated-but-not-yet-used <>isolinux-txt.cfg (/isolinux/txt.cfg). This is only a workaround.

https://www.virtualbox.org/ticket/18410

Code: Select all   Expand viewCollapse view
# to see the bug
./reproduce-bug.sh

# to see the fix
fix=1 ./reproduce-bug.sh

The script might be interesting to anyone trying to learn how to use the VBoxManage to build an entire VM (including installation) from the command line.

Robert Nielsen (aka WildSAR)
WildSAR
 
Posts: 8
Joined: 2. Mar 2018, 11:38

Re: Workaround for issue with 'VBoxManage unattended install' of Debian Stretch

Postby socratis » 8. Feb 2019, 02:00

Thanks Robert for the info.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25903
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to Using VirtualBox

Who is online

Users browsing this forum: No registered users and 21 guests