0

I am performing an automated install of a custom ubuntu 14.04 server using a combination of preseed and kickstart methods. Everything is fine except the annoying grub confirmation message as shown below:

Grub confirm message

The kickstart file:

#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

The preseed file:

d-i preseed/early_command string umount /media
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

This is the output of debconf-show grub-pc after installation:

debconf-show grub-pc

Any ideas on avoiding this message and make the installation fully automated. Thanks in advance.

Edit: This is my current preseed file:

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 grub-installer/only_debian boolean true
d-i grub-installer/timeout  string 2
Vijay47
  • 101
  • 2

1 Answers1

0

Well, you haven't configured any grub directives in your preseed file.

This is what I have in mine (for Ubuntu 16.04):

d-i grub-installer/only_debian boolean true
d-i grub-installer/timeout  string 2
Gerald Schneider
  • 19,757
  • 8
  • 52
  • 79
  • is it grub-installer or grub-pc? – Vijay47 Nov 23 '17 at 14:04
  • still no luck : This is what I have now: ```d-i preseed/early_command string umount /media 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 grub-installer/only_debian boolean true d-i grub-installer/timeout string 2``` – Vijay47 Nov 23 '17 at 14:16
  • This is copy&paste from my preseed file. Please edit additional information into your question, this gets unreadable in comments. – Gerald Schneider Nov 23 '17 at 14:20