Basic partman config
authorClinton Ebadi <clinton@unknownlamer.org>
Sat, 28 Apr 2012 04:16:51 +0000 (00:16 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Sat, 28 Apr 2012 04:16:51 +0000 (00:16 -0400)
* large /, ~5G openafs cache, 1.5x RAM swap, reasonable /tmp
* Aiming for OK values on a 30G disk image, adaptable to larger disk sizes

preseed/preseed-test-0.cfg

index b1e31a8..106d5e8 100644 (file)
@@ -161,7 +161,7 @@ d-i partman-lvm/confirm boolean true
 # - atomic: all files in one partition
 # - home:   separate /home partition
 # - multi:  separate /home, /usr, /var, and /tmp partitions
-d-i partman-auto/choose_recipe select atomic
+#d-i partman-auto/choose_recipe select atomic
 
 # Or provide a recipe of your own...
 # If you have a way to get a recipe file into the d-i environment, you can
@@ -188,6 +188,53 @@ d-i partman-auto/choose_recipe select atomic
 #                      method{ swap } format{ }                \
 #              .
 
+d-i partman-auto/expert_recipe string                         \
+hcoop-default :: \
+ \
+1 1 1 free \
+       $iflabel{ gpt } \
+       method{ biosgrub } . \
+ \
+128 512 256 ext2 \
+       $defaultignore{ } \
+       $bootable{ } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       filesystem{ ext2 } \
+       mountpoint{ /boot } . \
+ \
+500 3000 90000000 $default_filesystem \
+       $lvmok{ } \
+       $bootable{ } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       $default_filesystem{ } \
+       mountpoint{ / } . \
+ \
+5500 5000 5500 ext3 \
+       $lvmok{ } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       filesystem{ ext3 } \
+       mountpoint{ /var/cache/openafs } . \
+ \
+96 512 150% linux-swap \
+       $lvmok{ } \
+       method{ swap } \
+       format{ } . \
+ \
+1000 300 1500 $default_filesystem \
+       $lvmok{ } \
+       method{ format } \
+       format{ } \
+       use_filesystem{ } \
+       $default_filesystem{ } \
+       mountpoint{ /tmp } .
+
+
 # The full recipe format is documented in the file partman-auto-recipe.txt
 # included in the 'debian-installer' package or available from D-I source
 # repository. This also documents how to specify settings such as file