Skip to content

Instantly share code, notes, and snippets.

@madAndroid
Created August 9, 2013 16:23
Show Gist options
  • Save madAndroid/6194994 to your computer and use it in GitHub Desktop.
Save madAndroid/6194994 to your computer and use it in GitHub Desktop.
root@server:~# debconf-get-selections | grep -i "grub\/" > /tmp/grub.preseed
root@server:~# less /tmp/grub.preseed
# /boot/grub/device.map has been regenerated
root@server:~# debconf-get-selections | grep -i grub
grub-pc grub-pc/kopt_extracted boolean false
grub-pc grub2/kfreebsd_cmdline string
# /boot/grub/device.map has been regenerated
grub-pc grub2/device_map_regenerated note
# GRUB install devices:
grub-pc grub-pc/install_devices multiselect /dev/disk/by-id/ata-VBOX_HARDDISK_VB8ca0c0c6-b3b6b95c-part1
# Remove GRUB 2 from /boot/grub?
grub-pc grub-pc/postrm_purge_boot_grub boolean false
# Writing GRUB to boot device failed - try again?
grub-pc grub-pc/install_devices_failed_upgrade boolean true
grub-pc grub2/linux_cmdline string
# Continue without installing GRUB?
grub-pc grub-pc/install_devices_empty boolean false
grub-pc grub2/kfreebsd_cmdline_default string quiet
# Writing GRUB to boot device failed - continue?
grub-pc grub-pc/install_devices_failed boolean false
# GRUB install devices:
grub-pc grub-pc/install_devices_disks_changed multiselect /dev/disk/by-id/ata-VBOX_HARDDISK_VB8ca0c0c6-b3b6b95c-part1
grub-pc grub2/linux_cmdline_default string quiet
grub-pc grub-pc/chainload_from_menu.lst boolean true
# Hide the GRUB timeout
grub-pc grub-pc/hidden_timeout boolean true
# Finish conversion to GRUB 2 now?
grub-pc grub-pc/mixed_legacy_and_grub2 boolean true
# GRUB timeout
grub-pc grub-pc/timeout string 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment