Package: debian-installer Severity: important Tags: d-i Hi, I was using pxe to install debian buster. Debian-installer will exit with 139 in menu script and restart again, see below debug output in some intel machines
+ . /lib/debian-installer.d/S70menu + bterm=/usr/bin/bterm + font=/lib/unifont.bgf + screen_bin=/usr/bin/screen + '[' -x /usr/bin/bterm ] + '[' -e /lib/unifont.bgf ] + rm -f /lib/unifont.bgf + '[' -x /usr/bin/screen -a '(' virtual '=' network -o virtual '=' serial ')' -a vt102 '!=' dumb ] + set +e + /lib/debian-installer/menu + EXIT=139 + set -e + . /lib/debian-installer.d/S72menu-exit Here the enviroment variable is as below $DEBIAN_FRONTEND = newt $TERM_TYPE = virtual $TERM = vt102 $TERM_FRAMEBUFFER = yes $TERM_UTF8 is empty PXE Config File is as belwo # Generated by XenRT SERIAL 0 9600 PROMPT 1 TIMEOUT 20 DEFAULT install LABEL install KERNEL xenrt/2701385-xenrt0a9_gast/linux APPEND vga=788 auto=true priority=critical interface=eth0 url=http://xx.xx.xxx.xx/export/2701385-xenrt401vjhgc/preseed-xenrtdebian1064378b2001.cfg initrd=xenrt/2701385-xenrt0a9_gast/initrd.gz TERM=linux console=tty0 console=hvc0 Preseed file is as below #_preseed_V1 d-i preseed/early_command string tail -f /var/log/syslog > /dev/hvc0 & d-i debian-installer/locale string en_GB d-i debian-installer/allow_unauthenticated string true d-i console-keymaps-at/keymap select us d-i keyboard-configuration/xkb-keymap select us d-i netcfg/get_hostname string xxxx d-i netcfg/get_domain string xxxxx d-i mirror/country string enter information manually d-i mirror/country string manual d-i mirror/http/hostname string xxxxxxxxxxxxxxxxxx d-i mirror/http/directory string /debian/ d-i apt-setup/security_host string xxxxxxxxxxxxxxxxxx d-i apt-setup/security_path string /debian/ d-i mirror/http/proxy string d-i mirror/udeb/suite string buster d-i mirror/suite string buster d-i time/zone string string UTC d-i partman-auto/disk string /dev/xvda d-i partman-auto/method string regular d-i partman-auto/choose_recipe select atomic d-i partman-lvm/device_remove_lvm boolean true d-i partman/confirm_nooverwrite boolean true d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select Finish partitioning and write changes to disk d-i partman/confirm boolean true d-i passwd/make-user boolean false d-i passwd/****-password-crypted password d-i pkgsel/include string openssh-server psmisc ntpdate net-tools d-i grub-installer/only_debian boolean false d-i grub-installer/bootdev string /dev/xvda d-i finish-install/reboot_in_progress note d-i debian-installer/exit/poweroff boolean true d-i apt-setup/services-select multiselect none d-i apt-setup/cdrom/set-first boolean false d-i apt-setup/cdrom/set-next boolean false d-i apt-setup/cdrom/set-failed boolean false d-i apt-setup/use_mirror boolean false d-i preseed/late_command string sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /target/etc/ssh/sshd_config; /target/etc/init.d/ssh restart; sed -i 's/quiet/console=hvc0 console=tty0/g' /target/boot/grub/grub.cfg /target/etc/default/grub; d-i base-installer/install-recommends boolean false popularity-contest popularity-contest/participate boolean false tasksel tasksel/first multiselect standard See S70menu root@localhost:/srv/tftp# cat S70menu bterm=/usr/bin/bterm font=/lib/unifont.bgf screen_bin=/usr/bin/screen if [ -x "$bterm" ] && [ -e "$font" ] && [ -n "$TERM_UTF8" ] && [ -n "$TERM_FRAMEBUFFER" ] && [ "$DEBIAN_FRONTEND" != gtk ]; then TERM=bterm export TERMDEB$ set +e $bterm -f $font -l $LANG /lib/debian-installer/menu EXIT=$? set -e else rm -f $font if [ -x "$screen_bin" -a \( "$TERM_TYPE" = network -o "$TERM_TYPE" = serial \) -a "$TERM" != dumb ]; then # there's GNU/screen binary, run menu in it. # call this script again with in GNU/screen, possibly in UTF-8 mode SCREEN_OPT="" [ -n "$TERM_UTF8" ] && SCREEN_OPT="$SCREEN_OPT -U" set +e if [ -d /var/run/screen/S-root -a -e /var/run/screen/S-root/* ] then $screen_bin $SCREEN_OPT -x -p 1 # If GNU/screen is already started, just resume it else $screen_bin $SCREEN_OPT sh -c 'printf "\033k%s\033\\" installer ; /lib/debian-installer/menu' fi EXIT=$? set -e else set +e /lib/debian-installer/menu EXIT=$? set -e fi fi Thanks, Xihuan