From bf60573f5566f5b989f6db90f1c0e5d585ed9a73 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 2 Nov 2016 19:49:36 +0100 Subject: Give an example of an LVM partitioning recipe. --- preseed-cfg | 35 +++++++++++++++++++++++++++++++---- 1 file changed, 31 insertions(+), 4 deletions(-) (limited to 'preseed-cfg') diff --git a/preseed-cfg b/preseed-cfg index b469682..fe75e4c 100644 --- a/preseed-cfg +++ b/preseed-cfg @@ -17,9 +17,13 @@ cat <<- EOF # Partitioning, see # https://anonscm.debian.org/cgit/d-i/debian-installer.git/tree/doc/devel/partman-auto-recipe.txt - d-i partman-auto/method string regular d-i partman-partitioning/default_label string gpt d-i partman-partitioning/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-auto/method string regular d-i partman-auto/expert_recipe string root :: \\ 500 10000 -1 ext4 \\ \$primary{ } \\ @@ -31,9 +35,32 @@ cat <<- EOF \$primary{ } \\ method{ swap } format{ } \\ . - d-i partman/choose_partition select finish - d-i partman/confirm boolean true - d-i partman/confirm_nooverwrite boolean true + + #d-i partman-auto/method string lvm + #d-i partman-lvm/device_remove_lvm boolean true + #d-i partman-lvm/confirm boolean true + #d-i partman-lvm/confirm_nooverwrite boolean true + #d-i partman-auto/expert_recipe string root :: \\ + # 128 1 256 ext2 \\ + # \$primary{ } \\ + # method{ format } format{ } \\ + # use_filesystem{ } filesystem{ ext2 } \\ + # mountpoint{ /boot } \\ + # . \\ + # 500 10000 -1 pv \\ + # \$primary{ } \\ + # method{ lvm } \$defaultignore{ } \\ + # . \\ + # 500 10000 -1 ext4 \\ + # \$lvmok{ } \\ + # method{ format } format{ } \\ + # use_filesystem{ } filesystem{ ext4 } \\ + # mountpoint{ / } \\ + # . \\ + # 4096 1 4096 linux-swap \\ + # \$lvmok{ } \\ + # method{ swap } format{ } \\ + # . # Debian archive mirror d-i mirror/country string manual -- cgit v1.2.3