| 292 |
292 |
# select 1024x768 @ 60 Hz
|
| 293 |
293 |
|
| 294 |
294 |
#partitionement
|
|
295 |
# This command is run immediately before the partitioner starts. It may be
|
|
296 |
# useful to apply dynamic partitioner preseeding that depends on the state
|
|
297 |
# of the disks (which may not be visible when preseed/early_command runs).
|
|
298 |
d-i partman/early_command string echo 'partman-auto/text/horus_scheme :' > /lib/partman/recipes/10horus && cat /cdrom/preseed/common.recipe /cdrom/preseed/horus.recipe >> /lib/partman/recipes/10horus
|
|
299 |
|
| 295 |
300 |
d-i partman-auto/method string lvm
|
| 296 |
301 |
|
| 297 |
302 |
## By default vg name is hostname.
|
| ... | ... | |
| 306 |
311 |
d-i partman-lvm/device_remove_lvm boolean true
|
| 307 |
312 |
d-i partman-lvm/confirm boolean true
|
| 308 |
313 |
|
| 309 |
|
## /usr
|
| 310 |
|
# A full desktop is about 2.5GB
|
| 311 |
|
|
| 312 |
|
## /var
|
| 313 |
|
# /var hold cache of apt, let it huge
|
| 314 |
|
|
| 315 |
|
## /var/log
|
| 316 |
|
# 1GB of log, it begins to be really serious
|
| 317 |
|
# Eole team can forget the 3GB :-)
|
|
314 |
# # You can choose one of the three predefined partitioning recipes:
|
|
315 |
# # - atomic: all files in one partition
|
|
316 |
# # - home: separate /home partition
|
|
317 |
# # - multi: separate /home, /usr, /var, and /tmp partitions
|
|
318 |
# Use horus copied in early_command
|
|
319 |
d-i partman-auto/choose_recipe select horus
|
| 318 |
320 |
|
| 319 |
|
## /tmp
|
| 320 |
|
# enought ? even for interbase ?
|
| 321 |
321 |
d-i partman-auto/method string lvm
|
| 322 |
322 |
d-i partman-auto-lvm/new_vg_name string horus
|
| 323 |
323 |
d-i partman-auto/purge_lvm_from_device boolean true
|
| 324 |
324 |
d-i partman-lvm/device_remove_lvm boolean true
|
| 325 |
325 |
d-i partman-lvm/confirm boolean true
|
| 326 |
|
d-i partman-auto/expert_recipe string atomic_scheme :: \
|
| 327 |
|
300 500 750 ext4 \
|
| 328 |
|
$primary{ } $bootable{ } \
|
| 329 |
|
method{ format } format{ } \
|
| 330 |
|
use_filesystem{ } filesystem{ ext4 } \
|
| 331 |
|
label{ /boot } mountpoint{ /boot } \
|
| 332 |
|
. \
|
| 333 |
|
1500 2500 3500 ext4 \
|
| 334 |
|
$lvmok{ } \
|
| 335 |
|
method{ format } format{ } \
|
| 336 |
|
use_filesystem{ } filesystem{ ext4 } \
|
| 337 |
|
label{ / } mountpoint{ / } \
|
| 338 |
|
. \
|
| 339 |
|
3000 6000 9000 ext4 \
|
| 340 |
|
$lvmok{ } \
|
| 341 |
|
method{ format } format{ } \
|
| 342 |
|
use_filesystem{ } filesystem{ ext4 } \
|
| 343 |
|
label{ /var } mountpoint{ /var } \
|
| 344 |
|
. \
|
| 345 |
|
700 1500 2000 ext4 \
|
| 346 |
|
$lvmok{ } \
|
| 347 |
|
method{ format } format{ } \
|
| 348 |
|
use_filesystem{ } filesystem{ ext4 } \
|
| 349 |
|
label{ /tmp } mountpoint{ /tmp } \
|
| 350 |
|
options/nosuid{ nosuid } \
|
| 351 |
|
options/nodev{ nodev } \
|
| 352 |
|
options/noexec{ noexec } \
|
| 353 |
|
. \
|
| 354 |
|
64 512 300% linux-swap \
|
| 355 |
|
method{ swap } format{ } \
|
| 356 |
|
. \
|
| 357 |
|
500 10000 1000000000 ext4 \
|
| 358 |
|
$lvmok{ } \
|
| 359 |
|
method{ format } format{ } \
|
| 360 |
|
use_filesystem{ } filesystem{ ext4 } \
|
| 361 |
|
label{ /home } mountpoint{ /home } \
|
| 362 |
|
options/usrquota{ usrquota } \
|
| 363 |
|
options/grpquota{ grpquota } \
|
| 364 |
|
options/user_xattr{ user_xattr } \
|
| 365 |
|
options/acl{ acl } \
|
| 366 |
|
.
|
| 367 |
326 |
|
| 368 |
327 |
# No confirmatin to create new partition table
|
| 369 |
328 |
d-i partman/confirm_nooverwrite boolean true
|
| 370 |
|
-
|