Created
August 27, 2013 19:03
-
-
Save gswallow/6357647 to your computer and use it in GitHub Desktop.
My working partman config for debian installer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set up LVM on the first/only disk. | |
d-i partman-auto/method string lvm | |
d-i partman-auto/choose_recipe select boot-root | |
d-i partman-lvm/device_remove_lvm boolean true | |
d-i partman-md/device_remove_md boolean true | |
# Set the name of the created volume group. | |
d-i partman-auto-lvm/new_vg_name string vg00 | |
# being thrown into partman's guided size dialog. | |
d-i partman-auto-lvm/guided_size string max | |
#d-i partman-auto-lvm/new_vg_name string vg00 | |
d-i partman-auto/expert_recipe string \ | |
boot-root :: \ | |
100 200 200 ext3 \ | |
$primary{ } $bootable{ } \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ ext3 } \ | |
mountpoint{ /boot } \ | |
. \ | |
500 10000 1000000000 ext4 \ | |
$lvmok{ } \ | |
method{ format } format{ } \ | |
use_filesystem{ } filesystem{ ext4 } \ | |
mountpoint{ / } \ | |
. \ | |
1024 2048 50% linux-swap \ | |
$lvmok{ } \ | |
method{ swap } format{ } \ | |
. | |
# Make ext4 the default filesystem | |
d-i partman/default_filesystem string ext4 | |
# This makes partman automatically partition without confirmation, provided | |
# that you told it what to do using one of the methods above. | |
d-i partman-lvm/confirm_nooverwrite boolean true | |
d-i partman-lvm/confirm boolean true | |
d-i partman-partitioning/confirm_write_new_label boolean true | |
d-i partman/choose_partition select Finish | |
d-i partman/confirm_nooverwrite boolean true | |
d-i partman/confirm boolean true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment