aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@libreoffice.org>2016-11-02 19:49:36 +0100
committerGuilhem Moulin <guilhem@libreoffice.org>2016-11-02 19:49:45 +0100
commitbf60573f5566f5b989f6db90f1c0e5d585ed9a73 (patch)
tree1e9ee498288003ca110f78d06b2d41ebdb7a9696
parentcb424f8f306872f6eeaabf4f9963c8c20784d099 (diff)
Give an example of an LVM partitioning recipe.HEADmaster
-rw-r--r--preseed-cfg35
1 files changed, 31 insertions, 4 deletions
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