From 8e3b1e1abef20c5516ff603280c13612add92c0e Mon Sep 17 00:00:00 2001 From: Clinton Ebadi Date: Sat, 28 Apr 2012 00:16:51 -0400 Subject: [PATCH] Basic partman config * 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 | 49 +++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/preseed/preseed-test-0.cfg b/preseed/preseed-test-0.cfg index b1e31a8..106d5e8 100644 --- a/preseed/preseed-test-0.cfg +++ b/preseed/preseed-test-0.cfg @@ -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 -- 2.20.1