@@ -99,36 +99,77 @@ d-i clock-setup/ntp boolean true
9999d-i partman-auto/disk string /dev/sda
100100# In addition, you'll need to specify the method to use.
101101# The presently available methods are: "regular", "lvm" and "crypto"
102- d-i partman-auto/method string lvm
102+ d-i partman-auto/method string regular
103103
104104# If one of the disks that are going to be automatically partitioned
105105# contains an old LVM configuration, the user will normally receive a
106106# warning. This can be preseeded away...
107- d-i partman-lvm/device_remove_lvm boolean true
107+ # d-i partman-lvm/device_remove_lvm boolean true
108108# The same applies to pre-existing software RAID array:
109- d-i partman-md/device_remove_md boolean true
109+ # d-i partman-md/device_remove_md boolean true
110110
111111# And the same goes for the confirmation to write the lvm partitions.
112- d-i partman-lvm/confirm boolean true
113- d-i partman-lvm/confirm_nooverwrite boolean true
112+ # d-i partman-lvm/confirm boolean true
113+ # d-i partman-lvm/confirm_nooverwrite boolean true
114114
115-
116- d-i partman/choose_partition select finish
117- d-i partman-auto-lvm/guided_size string max
115+ # d-i partman/choose_partition select finish
116+ # d-i partman-auto-lvm/guided_size string max
118117
119118# You can choose one of the three predefined partitioning recipes:
120119# - atomic: all files in one partition
121120# - home: separate /home partition
122121# - multi: separate /home, /usr, /var, and /tmp partitions
123- d-i partman-auto/choose_recipe select multi
124- d-i partman/default_filesystem string ext3
122+ d-i partman-auto/choose_recipe select atomic
123+ # d-i partman/default_filesystem string ext3
125124
126125# Or provide a recipe of your own...
127126# The recipe format is documented in the file devel/partman-auto-recipe.txt.
128127# If you have a way to get a recipe file into the d-i environment, you can
129128# just point at it.
130129# d-i partman-auto/expert_recipe_file string /hd-media/recipe
131130
131+ d-i partman-auto/expert_recipe string \
132+ boot-root :: \
133+ 40 50 100 ext4 \
134+ $primary{ } $bootable{ } \
135+ method{ format } format{ } \
136+ use_filesystem{ } filesystem{ ext4 } \
137+ mountpoint{ /boot } \
138+ . \
139+ 400 40 500 ext4 \
140+ method{ format } format{ } \
141+ use_filesystem{ } filesystem{ ext4 } \
142+ mountpoint{ / } \
143+ . \
144+ 60 100 200 ext4 \
145+ method{ format } format{ } \
146+ use_filesystem{ } filesystem{ ext4 } \
147+ mountpoint{ /home } \
148+ . \
149+ 500 30 1000 ext4 \
150+ method{ format } format{ } \
151+ use_filesystem{ } filesystem{ ext4 } \
152+ mountpoint{ /usr } \
153+ . \
154+ 400 40 500 ext4 \
155+ method{ format } format{ } \
156+ use_filesystem{ } filesystem{ ext4 } \
157+ mountpoint{ /opt } \
158+ . \
159+ 500 60 1000 ext4 \
160+ method{ format } format{ } \
161+ use_filesystem{ } filesystem{ ext4 } \
162+ mountpoint{ /var } \
163+ . \
164+ 100 70 400 ext4 \
165+ method{ format } format{ } \
166+ use_filesystem{ } filesystem{ ext4 } \
167+ mountpoint{ /tmp } \
168+ . \
169+ 64 512 300% linux-swap \
170+ method{ swap } format{ } \
171+ .
172+
132173# If not, you can put an entire recipe into the preconfiguration file in one
133174# (logical) line. This example creates a small /boot partition, suitable
134175# swap, and uses the rest of the space for the root partition:
@@ -154,11 +195,12 @@ d-i partman/default_filesystem string ext3
154195
155196# This makes partman automatically partition without confirmation, provided
156197# that you told it what to do using one of the methods above.
198+ # d-i partman-partitioning/confirm_write_new_label boolean true
157199d-i partman/confirm_write_new_label boolean true
200+ d-i partman/choose_partition select finish
158201d-i partman/confirm boolean true
159202d-i partman/confirm_nooverwrite boolean true
160203
161-
162204# ## Base system installation
163205# Select the initramfs generator used to generate the initrd for 2.6 kernels.
164206# d-i base-installer/kernel/linux/initramfs-generators string yaird
0 commit comments