lm2*_*909 5 boot grub2 kernel system-installation
我正在尝试使用从http://releases.ubuntu.com/18.04/下载的预种子文件安装 Ubuntu18.04 。
但不幸的是,它卡在“欢迎/语言选择”屏幕上,如下所示:
这是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 ---
Run Code Online (Sandbox Code Playgroud)
和预置文件:
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;
Run Code Online (Sandbox Code Playgroud)
如果卡在欢迎中,我阅读了此 链接,它可能需要添加到 preseed 中,如下所示:
d-i grub-installer/bootdev string /dev/sda
Run Code Online (Sandbox Code Playgroud)
但仍然坚持欢迎。
任何建议将不胜感激,谢谢。
小智 6
您正在使用 Live DVD 并且自动化不起作用 (27/11/2018) 您需要使用非 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 文件中看到它。
归档时间: |
|
查看次数: |
1305 次 |
最近记录: |