自动安装使用preesed – grub确认消息问题

我正在使用预定义和kickstart方法的组合来执行自定义的ubuntu 14.04服务器的自动安装。 除了恼人的grub确认信息,一切都很好,如下所示:

Grub确认消息

kickstart文件:

#Generated by Kickstart Configurator #platform=AMD64 or Intel EM64T #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard us #System mouse mouse #System timezone timezone Asia/Tokyo #Root password rootpw --disabled #Initial user user ubuntu --fullname "ubuntu" --iscrypted --password xxx #Reboot after installation reboot #Use text mode install text #Install OS instead of upgrade install #Use CDROM installation media cdrom #System bootloader configuration bootloader --location=mbr #Clear the Master Boot Record zerombr yes #Partition clearing information clearpart --all --initlabel #System authorization infomation auth --useshadow --enablemd5 #Firewall configuration firewall --enabled #Do not configure the X Window System skipx 

预先的文件:

 di preseed/early_command string umount /media di partman/confirm_write_new_label boolean true di partman/choose_partition \ select Finish partitioning and write changes to disk di partman/confirm boolean true 

这是安装后debconf-show grub-pc的输出:

debconf-show grub-pc

任何想法,避免这个消息,使安装完全自动化。 提前致谢。

编辑:这是我目前的preseed文件:

 di partman/confirm_write_new_label boolean true di partman/choose_partition \ select Finish partitioning and write changes to disk di partman/confirm boolean true di grub-installer/only_debian boolean true di grub-installer/timeout string 2 

那么,你还没有在你的预置文件中configuration任何grub指令。

这是我的(对于Ubuntu 16.04):

 di grub-installer/only_debian boolean true di grub-installer/timeout string 2