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=
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
<div dir="ltr">Greetings,<div><br></div><div>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:</div><div><br></div><div>"No device for installation media was detected."</div><div><br></div><div>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.</div><div><br></div><div>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 <span style="font-family:monospace"><a href="
http://192.168.124.1:8091">192.168.124.1:8091</a></span><span style="font-family:monospace">/debian-11/install</span></div><div><br><
/div><div>boot arguments:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace">DEFAULT debian-11-install</font></div><div><font face="monospace">PROMPT 0</font></div><div><font face="monospace">
TIMEOUT 10</font></div><div><font face="monospace">LABEL debian-11-install</font></div><div><font face="monospace"> KERNEL debian-11/install/install.amd/vmlinuz</font></div><div><font face="monospace"> </font></div><div><font face="monospace">
INITRD debian-11/install/install.amd/initrd.gz</font></div><div><font face="monospace"> </font></div><div><font face="monospace"> APPEND auto preseed/url=<a 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</a> 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</font></div><div><font face="monospace"> IPAPPEND 2</font></div></blockquote><div><font face="monospace"><br></font></div><div><font face="monospace">a</font>nd the preseed is set to:</div><div><br></div><blockquote style="
margin:0 0 0 40px;border:none;padding:0px"><div><font face="monospace"># Locale and Language Settings</font></div><div><font face="monospace">d-i debian-installer/locale string en_US.UTF-8</font></div><div><font face="monospace">d-i console-setup/ask_
detect boolean false</font></div><div><font face="monospace">d-i console-setup/layoutcode string us</font></div><div><font face="monospace">d-i keyboard-configuration/xkb-keymap select us</font></div><div><font face="monospace">d-i debian-installer/
locale string en_US.UTF-8</font></div><div><font face="monospace">d-i console-tools/archs select at</font></div><div><font face="monospace">d-i console-keymaps-at/keymap select American English</font></div><div><font face="monospace">d-i debian-installer/
keymap string us</font></div><div><font face="monospace">d-i keyboard-configuration/toggle select No toggling</font></div><div><font face="monospace"><br></font></div><div><font face="monospace"># Serial Console</font></div><div><font face="monospace">d-
i debian-installer/serial-console boolean true</font></div><div><font face="monospace">d-i finish-install/keep-consoles boolean true</font></div><div><font face="monospace"><br></font></div><div><font face="monospace"># Network Configuration</font></div><
<font face="monospace">d-i netcfg/choose_interface select auto</font></div><div><font face="monospace">d-i netcfg/dhcp_timeout string 120</font></div><div><font face="monospace">d-i netcfg/get_hostname string mach-03</font></div><div><br></div><div><
font face="monospace">d-i mirror/country string manual</font></div><div><font face="monospace">d-i mirror/protocol string http</font></div><div><font face="monospace">d-i mirror/http/hostname string <a href="
http://192.168.124.1:8091">192.168.124.1:8091</
</font></div><div><font face="monospace">d-i mirror/http/directory string /debian-11/install</font></div><div><font face="monospace">d-i apt-setup/security_host string</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">
d-i mirror/http/proxy string</font></div><div><font face="monospace"># Clock</font></div><div><font face="monospace">d-i clock-setup/utc boolean true</font></div><div><font face="monospace">d-i clock-setup/ntp boolean false</font></div><div><font face="
monospace">d-i time/zone string UTC</font></div><div><font face="monospace"><br></font></div><div><font face="monospace"># Partitioner Label Default (GPT)</font></div><div><font face="monospace">d-i partman-efi/non_efi_system boolean true</font></div><
<font face="monospace">d-i partman/choose_label string gpt</font></div><div><font face="monospace">d-i partman-basicfilesystems/choose_label string gpt</font></div><div><font face="monospace">d-i partman-partitioning/choose_label string gpt</font></
<div><font face="monospace">d-i partman/default_label string gpt</font></div><div><font face="monospace">d-i partman-basicfilesystems/default_label string gpt</font></div><div><font face="monospace">d-i partman-partitioning/default_label string gpt</
font></div><div><font face="monospace"># Partitioner Prompt Confirmations</font></div><div><font face="monospace">d-i partman-auto/purge_lvm_from_device boolean true</font></div><div><font face="monospace">d-i partman-md/confirm boolean true</font></div><
<font face="monospace">d-i partman-md/device_remove_md boolean true</font></div><div><font face="monospace">d-i partman-md/confirm_nochanges boolean true</font></div><div><font face="monospace">d-i partman-md/confirm_nooverwrite boolean true</font></
<div><font face="monospace">d-i partman-lvm/confirm boolean true</font></div><div><font face="monospace">d-i partman-lvm/device_remove_lvm boolean true</font></div><div><font face="monospace">d-i partman-lvm/device_remove_lvm_span boolean true</font><
/div><div><font face="monospace">d-i partman-lvm/confirm_nochanges boolean true</font></div><div><font face="monospace">d-i partman-lvm/confirm_nooverwrite boolean true</font></div><div><font face="monospace">d-i partman-basicfilesystems/no_swap boolean
false</font></div><div><font face="monospace">#Partitioning Scheme</font></div><div><font face="monospace">d-i partman-auto/disk string /dev/sda</font></div><div><font face="monospace">d-i grub-installer/choose_bootdev select /dev/sda</font></div><div><
font face="monospace">d-i grub-installer/bootdev string /dev/sda</font></div><div><font face="monospace">d-i partman-auto/method string lvm</font></div><div><font face="monospace">d-i partman-auto-lvm/guided_size string max</font></div><div><font face="
monospace">d-i partman-auto-lvm/new_vg_name string mach-03</font></div><div><font face="monospace">d-i partman-auto/choose_recipe select atomic</font></div><div><font face="monospace">d-i grub-installer/only_debian boolean true</font></div><div><font
face="monospace"><br></font></div><div><font face="monospace">d-i partman/confirm_write_new_label boolean true</font></div><div><font face="monospace">d-i partman/choose_partition select finish</font></div><div><font face="monospace">d-i partman/confirm
boolean true</font></div><div><font face="monospace">d-i partman/confirm_nooverwrite boolean true</font></div><div><font face="monospace"><br></font></div><div><font face="monospace"># Default User Setup</font></div><div><font face="monospace">d-i passwd/
make-user boolean true</font></div><div><font face="monospace">d-i passwd/user-uid string 1000</font></div><div><font face="monospace">d-i passwd/user-fullname string Rocket Skates</font></div><div><font face="monospace">d-i passwd/username string
rocketskates</font></div><div><font face="monospace">d-i passwd/user-password-crypted password $6$drprocksdrprocks$upAIK9ynEEdFmaxJ5j0QRvwmIu2ruJa1A1XB7GZjrnYYXXyNr4qF9FttxMda2j.cmh.TSiLgn4B/7z0iSHkDC1</font></div><div><font face="monospace">d-i user-
setup/allow-password-weak boolean true</font></div><div><font face="monospace">d-i user-setup/encrypt-home boolean false</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">d-i debian-installer/allow_unauthenticated
string true</font></div><div><font face="monospace">tasksel tasksel/first multiselect standard, server</font></div><div><font face="monospace">d-i pkgsel/include string openssh-server curl efibootmgr</font></div><div><font face="monospace">d-i pkgsel/
update-policy select none</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">d-i debian-installer/add-kernel-opts string console=ttyS0,115200 console=tty0</font></div><div><font face="monospace"># Completion questions</
font></div><div><font face="monospace">d-i cdrom-detect/eject boolean false</font></div><div><font face="monospace">d-i finish-install/reboot_in_progress note</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">xserver-
xorg xserver-xorg/autodetect_monitor boolean true</font></div><div><font face="monospace">xserver-xorg xserver-xorg/config/monitor/selection-method select medium</font></div><div><font face="monospace">xserver-xorg xserver-xorg/config/monitor/mode-list
select 1024x768 @ 60 Hz</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">d-i preseed/late_command string wget <a href="
http://192.168.124.1:8091/machines/821ea995-4813-4b01-a28d-e63874fe9a26/post-install.sh">http://192.
168.124.1:8091/machines/821ea995-4813-4b01-a28d-e63874fe9a26/post-install.sh</a> -O /target/net-post-install.sh ; chmod +x /target/net-post-install.sh ; /target/net-post-install.sh</font></div></blockquote><div><br></div><div><br clear="all"><div><div
dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font size="2"><span style="font-family:courier new,monospace">--</span></font><div><div>"The farther one goes, the less one knows." —Tao Te Ching</div></div></
</div></div></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)