Hello,
I'm playing with packer in order to have automatic installation of Debian 11 on virtualbox.
I have an issue during setup process, I get stuck on a blue screen after network dhcp step. I got no error or so.
here is console output see attached screenshot. I try from the console to ping 8.8.8.8 and this is working, so I'm a bit confuse on what debian installer is waiting for ?
here is the preseed.cfg file I use :
If I run the installer without preseed I am able to install the OS, so I assume that hardware from virtualbox is not causing any trouble. The last thing seems to be a missconfig in the preseed file ?
Thanks for your input !
I'm playing with packer in order to have automatic installation of Debian 11 on virtualbox.
I have an issue during setup process, I get stuck on a blue screen after network dhcp step. I got no error or so.
here is console output see attached screenshot. I try from the console to ping 8.8.8.8 and this is working, so I'm a bit confuse on what debian installer is waiting for ?
here is the preseed.cfg file I use :
Code:
# To see all available options execute this command once the install is done:# sudo less /var/log/installer/cdebconf/questions.dat# If you need information about an option use the command below (example for keymap):# grep -A 4 "keyboard-configuration/xkb-keymap" /var/log/installer/cdebconf/templates.dat# Use network mirror for package installation# d-i apt-setup/use_mirror boolean true# Automatic installationd-i auto-install/enable boolean true# "linux-server" is substituted by "linux-image-amd64"# Possible options : "linux-image-amd64"(default) or "linux-image-rt-amd64"d-i base-installer/kernel/override-image string linux-server# Configure hardware clockd-i clock-setup/utc boolean trued-i clock-setup/utc-auto boolean true# d-i console-setup/ask_detect boolean false# d-i debconf/frontend select noninteractive# Set OS localed-i debian-installer/language string end-i debian-installer/country string USd-i debian-installer/locale string en_US.UTF-8# d-i debian-installer/framebuffer boolean false# Reboot once the install is doned-i finish-install/reboot_in_progress note# Bootloader optionsd-i grub-installer/only_debian boolean trued-i grub-installer/with_other_os boolean trued-i grub-installer/bootdev string /dev/sda# Set the keyboard layoutd-i keyboard-configuration/xkb-keymap select us# Mirror from which packages will be downloadedd-i mirror/country string manuald-i mirror/http/directory string /debiand-i mirror/http/hostname string httpredir.debian.org# Configure http proxy if needed "http://[[user][:pass]@]host[:port]/"d-i mirror/http/proxy string# Disk configurationd-i partman-efi/non_efi_system boolean trued-i partman-auto-lvm/guided_size string maxd-i partman-auto/choose_recipe select atomicd-i partman-auto/method string lvmd-i partman-lvm/confirm boolean trued-i partman-lvm/confirm_nooverwrite boolean trued-i partman-lvm/device_remove_lvm boolean trued-i partman/choose_partition select finishd-i partman/confirm boolean trued-i partman/confirm_nooverwrite boolean trued-i partman/confirm_write_new_label boolean true# User configurationd-i passwd/root-login boolean trued-i passwd/root-password-again password packerd-i passwd/root-password password packerd-i passwd/user-fullname string packerd-i passwd/user-uid string 1000d-i passwd/user-password password packerd-i passwd/user-password-again password packerd-i passwd/username string packer# Extra packages to be installedd-i pkgsel/include string sudod-i pkgsel/install-language-support boolean falsed-i pkgsel/update-policy select none# Whether to upgrade packages after debootstrapd-i pkgsel/upgrade select full-upgrade# Set timezoned-i time/zone string Europe/Paris# Allow weak user passwordd-i user-setup/allow-password-weak boolean true# Home folder encryptiond-i user-setup/encrypt-home boolean false# Do not scan additional CDsapt-cdrom-setup apt-setup/cdrom/set-first boolean false# Use network mirrorapt-mirror-setup apt-setup/use_mirror boolean true# Disable polularity contestpopularity-contest popularity-contest/participate boolean false# Select base installtasksel tasksel/first multiselect standard, ssh-server# Setup passwordless sudo for packer userd-i preseed/late_command string \ echo "packer ALL=(ALL:ALL) NOPASSWD:ALL" > /target/etc/sudoers.d/packer && chmod 0440 /target/etc/sudoers.d/packer
If I run the installer without preseed I am able to install the OS, so I assume that hardware from virtualbox is not causing any trouble. The last thing seems to be a missconfig in the preseed file ?
Thanks for your input !
Statistics: Posted by romgo75 — 2024-07-12 15:14