如何跳过此对话框使用preseed?

时间:2017-01-17 09:16:02

标签: installation ubuntu-14.04

我把这些放在我的preseed脚本中,但仍然看到这个对话框。如何禁用此对话框?

d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i keyboard-configuration/layoutcode string us

enter image description here

1 个答案:

答案 0 :(得分:0)

终于想通了自己,添加标志的地方(keyboard-configuration / layoutcode = us)是kernal参数而不是preseed文件

label scilent
  menu label ^Silent Install
  kernel /install/vmlinuz
  append  keyboard-configuration/layoutcode=us console-setup/ask_detect=false preseed/file=/cdrom/preseed/my.cfg debian-installer/locale=en_US console-setup/layoutcode=us initrd=/install/initrd.gz ramdisk_size=16384 root=/dev/ram rw quiet --