[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Net boot auto install failure with "No device for installation media was detected"



Greetings,

We have an automated installation system that has been humming along beautifully from Debian 6 through 10.  Recently attempted to add support of net boot/pxe and autoinstall via d-i of Debian 11.4.0.  Our current Boot arguments and preseed config is producing a stop error of:

"No device for installation media was detected."

I saw notes that there should be netinst changes to boot and preseed directives - but I have been unable to unearth the changes.   Any pointers to documentation about the boot and preseed directive changelog changes, or any other hints related to this error message are greatly appreciated.   To date, I've spent a couple of days grubbing through searches, doc reading, etc... no dice.

For reference, the pxelinux boot directives and preseed that result in the above error message; are set to...  Note that the contents of the 11.4.0 netinst ISO image are exploded out and available at the referenced preseed location 192.168.124.1:8091/debian-11/install

boot arguments:

DEFAULT debian-11-install
PROMPT 0
TIMEOUT 10
LABEL debian-11-install
  KERNEL debian-11/install/install.amd/vmlinuz
 
  INITRD debian-11/install/install.amd/initrd.gz
 
  APPEND auto preseed/url="" href="http://192.168.124.1:8091/machines/821ea995-4813-4b01-a28d-e63874fe9a26/seed">http://192.168.124.1:8091/machines/821ea995-4813-4b01-a28d-e63874fe9a26/seed netcfg/enable=true hostname=mach-03 console-setup/charmap=UTF-8 console-keymaps-at/keymap=us popularity-contest/participate=false passwd/root-login=false keyboard-configuration/xkb-keymap=us netcfg/get_domain=unassigned-domain console-setup/ask_detect=false debian-installer/locale=en_US.utf8 console-setup/layoutcode=us keyboard-configuration/layoutcode=us hw-detect/load_firmware=true rw quiet netcfg/choose_interface=auto  console=ttyS0,115200 console=tty0
  IPAPPEND 2

and the preseed is set to:

# Locale and Language Settings
d-i debian-installer/locale string en_US.UTF-8
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i keyboard-configuration/xkb-keymap select us
d-i debian-installer/locale string en_US.UTF-8
d-i console-tools/archs select at
d-i console-keymaps-at/keymap select American English
d-i debian-installer/keymap string us
d-i keyboard-configuration/toggle select No toggling

# Serial Console
d-i debian-installer/serial-console boolean true
d-i finish-install/keep-consoles boolean true

# Network Configuration
d-i netcfg/choose_interface select auto
d-i netcfg/dhcp_timeout string 120
d-i netcfg/get_hostname string mach-03

d-i mirror/country string manual
d-i mirror/protocol string http
d-i mirror/http/hostname string 192.168.124.1:8091
d-i mirror/http/directory string /debian-11/install
d-i apt-setup/security_host string

d-i mirror/http/proxy string
# Clock
d-i clock-setup/utc boolean true
d-i clock-setup/ntp boolean false
d-i time/zone string UTC

# Partitioner Label Default (GPT)
d-i partman-efi/non_efi_system boolean true
d-i partman/choose_label string gpt
d-i partman-basicfilesystems/choose_label string gpt
d-i partman-partitioning/choose_label string gpt
d-i partman/default_label string gpt
d-i partman-basicfilesystems/default_label string gpt
d-i partman-partitioning/default_label string gpt
# Partitioner Prompt Confirmations
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-md/confirm boolean true
d-i partman-md/device_remove_md boolean true
d-i partman-md/confirm_nochanges boolean true
d-i partman-md/confirm_nooverwrite boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-lvm/confirm_nochanges boolean true
d-i partman-lvm/confirm_nooverwrite boolean true
d-i partman-basicfilesystems/no_swap boolean false
#Partitioning Scheme
d-i partman-auto/disk string /dev/sda
d-i grub-installer/choose_bootdev select /dev/sda
d-i grub-installer/bootdev string /dev/sda
d-i partman-auto/method string lvm
d-i partman-auto-lvm/guided_size string max
d-i partman-auto-lvm/new_vg_name string mach-03
d-i partman-auto/choose_recipe select atomic
d-i grub-installer/only_debian boolean true

d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true

# Default User Setup
d-i passwd/make-user boolean true
d-i passwd/user-uid string 1000
d-i passwd/user-fullname string Rocket Skates
d-i passwd/username string rocketskates
d-i passwd/user-password-crypted password $6$drprocksdrprocks$upAIK9ynEEdFmaxJ5j0QRvwmIu2ruJa1A1XB7GZjrnYYXXyNr4qF9FttxMda2j.cmh.TSiLgn4B/7z0iSHkDC1
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false

d-i debian-installer/allow_unauthenticated string true
tasksel tasksel/first multiselect standard, server
d-i pkgsel/include string openssh-server curl efibootmgr
d-i pkgsel/update-policy select none

d-i debian-installer/add-kernel-opts string console=ttyS0,115200 console=tty0
# Completion questions
d-i cdrom-detect/eject boolean false
d-i finish-install/reboot_in_progress note

xserver-xorg xserver-xorg/autodetect_monitor boolean true
xserver-xorg xserver-xorg/config/monitor/selection-method select medium
xserver-xorg xserver-xorg/config/monitor/mode-list select 1024x768 @ 60 Hz

d-i preseed/late_command string wget http://192.168.124.1:8091/machines/821ea995-4813-4b01-a28d-e63874fe9a26/post-install.sh -O /target/net-post-install.sh ; chmod +x /target/net-post-install.sh ; /target/net-post-install.sh


--
"The farther one goes, the less one knows." —Tao Te Ching

Reply to: