首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ubuntu18.04无人值守安装卡在“欢迎/语言选择”

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

Ask Ubuntu用户
提问于 2018-08-31 07:33:46
回答 1查看 1.9K关注 0票数 5

我试图用从http://releases.ubuntu.com/18.04/下载的预置文件安装Ubuntu18.04。

但不幸的是,它停留在“欢迎/语言选择”屏幕上,如下所示:

下面是已更改的isolinux.cfg文件,该文件定位了预置文件:

代码语言:javascript
复制
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 ---

预置文件:

代码语言:javascript
复制
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;

我读过这个链接,如果在欢迎的时候,它可能需要添加到下面的预置内容中:

代码语言:javascript
复制
d-i grub-installer/bootdev  string /dev/sda

但仍然坚持欢迎。

如有任何建议,将不胜感激。

EN

回答 1

Ask Ubuntu用户

发布于 2018-11-27 11:20:05

您正在使用的Live和自动化不工作(27/11/2018),您需要使用非现场DVD。http://cdimage.ubuntu.com/releases/18.04/release/

在我看到这个https://askubuntu.com/a/1037088/497218之前,我一直有着同样的问题

对于那些不确定的地方: Live有内核@ /casper/vmlinuz,在非Live中,它位于/install/vmlinuz -您可以在txt.cfg文件中看到这一点。

票数 6
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1070749

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档