Skip to content

Instantly share code, notes, and snippets.

@cwjohnston
Created June 4, 2010 16:40
Show Gist options
  • Save cwjohnston/425636 to your computer and use it in GitHub Desktop.
Save cwjohnston/425636 to your computer and use it in GitHub Desktop.
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-lvm/device_remove_lvm_span boolean true
d-i partman-auto/purge_lvm_from_device boolean true
d-i partman-auto-lvm/new_vg_name string system
d-i partman-auto/init_automatically_partition \
select Guided - use entire disk and set up LVM
d-i partman-auto/expert_recipe string \
boot-root :: \
40 300 300 ext3 \
$primary{ } \
$bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
2000 10000 1000000000 ext3 \
$lvmok{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ / } \
. \
8000 8000 200% linux-swap \
$lvmok{ } \
method{ swap } format{ } \
.
d-i partman-lvm/confirm boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-partitioning/confirm_copy boolean true
d-i partman-lvm/confirm_nooverwrite boolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment