Unattended Installation

Discussions related to using VirtualBox on other (unsupported) hosts like FreeBSD.
Post Reply
emankcin
Posts: 1
Joined: 24. Dec 2021, 05:34

Unattended Installation

Post by emankcin »

Can Debian 11 (Bullseye) be installed using unattended install? When I run the
following command (and make the edits noted below), the installation stops at
the 'Welcome' screen and waits for user input instead of automatically
proceeding through the installation:

Code: Select all

$ vboxmanage unattended install debian --iso=Debian-11.1.0-amd64-DVD-1.iso \
        --user=username --full-user-name="username" --password password \
        --no-install-additions --package-selection-adjustment=minimal \
        --script-template empty.txt --post-install-template empty.txt \
        --auxiliary-base-path=unattended-install-debian/
        --time-zone=$TZ --hostname=debian
VBoxManage: info: Preparing unattended installation of Debian_64 in machine 'debian' (...).
VBoxManage: info: Using values:
...
VBoxManage: info: VM 'debian' (...) is ready to be started (e.g. VBoxManage startvm).

Code: Select all

$ sed -i '' 's/^default vesa.*/default install/' unattended-install-debian/isolinux-isolinux.cfg
$ vboxmanage startvm debian --type headless
The `sed' command fixes bug #18410 as noted in superuser question #1453425 (vboxmanage-unattended-installation-of-debian-ubuntu-waits-for-input).
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Unattended Installation

Post by fth0 »

I cannot really answer your question, but the vboxmanage unattended command shown is at least missing 3 "=" characters.
Post Reply