Ubuntu18.04无人值守安装卡在“欢迎/语言选择”界面。

我正在尝试使用从http://releases.ubuntu.com/18.04/下载的预设文件安装Ubuntu 18.04。
但不幸的是,它卡在“欢迎/语言选择”屏幕上,如下所示:

enter image description here

这是已更改的isolinux.cfg文件,其中包含预置文件的位置:
default live
label live
  menu label ^Try Ubuntu without installing
  kernel /casper/vmlinuz
  append  file=/cdrom/unattended.seed auto=true priority=critical debian-installer/locale=en_US keyboard-configuration/layoutcode=us languagechooser/language-name=English countrychooser/shortlist=US localechooser/supported-locales=en_US.UTF-8 boot=casper initrd=/casper/initrd quiet splash noprompt noshell ---

和预设文件:
d-i preseed/early_command string tail -f /var/log/syslog > /dev/hvc0 &
d-i    debian-installer/locale         string en_US
d-i    console-keymaps-at/keymap    select us
d-i keyboard-configuration/xkb-keymap select us
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i console-setup/modelcode string SKIP


d-i netcfg/choose_interface select eth0


d-i mirror/file/directory string /cdrom
d-i    mirror/http/proxy        string 
d-i    debian-installer/allow_unauthenticated    string true
d-i apt-setup/backports boolean false
d-i    time/zone string        string UTC
d-i    partman-auto/method        string regular

d-i    partman-auto/choose_recipe select atomic
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/root-login boolean true
d-i passwd/root-password-crypted    password 


popularity-contest    popularity-contest/participate    boolean    false
tasksel    tasksel/first            multiselect standard
d-i pkgsel/include string openssh-server psmisc patch build-essential flex 
bc python net-tools
d-i    grub-installer/only_debian    boolean true
d-i    finish-install/reboot_in_progress    note
d-i    debian-installer/exit/poweroff    boolean true
d-i preseed/late_command string sed -ri 's/^#?PermitRootLogin prohibit- 
password/PermitRootLogin yes/g' /target/etc/ssh/sshd_config; 
/target/etc/init.d/ssh restart; sed -i 's/quiet splash 
$vt_handoff/console=hvc0 console=tty0/g' /target/boot/grub/grub.cfg;

我读了这个链接,如果卡在欢迎界面,可能需要像下面这样添加到preseed中:
d-i grub-installer/bootdev  string /dev/sda

但仍然卡在欢迎界面。
非常感谢任何建议。
1个回答

你正在使用的是Live DVD,但自动化功能无法正常工作(2018年11月27日),你需要使用非Live DVD。http://cdimage.ubuntu.com/releases/18.04/release/ 我之前也遇到了完全相同的问题,直到我看到了这个链接https://askubuntu.com/a/1037088/497218 对于那些不确定的人来说:Live DVD的内核位于/casper/vmlinuz,而非Live DVD的内核位于/install/vmlinuz - 你可以在你的txt.cfg文件中看到这一点。

谢谢,我换成非实时DVD后它就好用了。 :) - lm2484909