### Partitioning. # If the system has free space you can choose to only partition that space. #d-i partman-auto/init_automatically_partition \ # select Use the largest continuous free space # Alternatively, you can specify a disk to partition. The device name can # be given in either devfs or traditional non-devfs format. # For example, to use the first disk devfs knows of: d-i partman-auto/disk string /dev/discs/disc0/disc # You can choose from any of the predefined partitioning recipes: #d-i partman-auto/choose_recipe select All files in one partition (recommended for new users) #d-i partman-auto/choose_recipe select Desktop machine #d-i partman-auto/choose_recipe select Multi-user workstation # Or provide a recipe of your own... # The recipe format is documented in the file devel/partman-auto-recipe.txt. # If you have a way to get a recipe file into the d-i environment, you can # just point at it. #d-i partman-auto/expert_recipe_file string /hd-media/recipe # If not, you can put an entire recipe in one line. This example creates # a small /boot partition, suitable swap, and uses the rest of the space # for the root partition: #d-i partman-auto/expert_recipe string my-layout :: 512 2048 4096 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 512 4096 409600 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /home } . 256 512 2048 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /var/log } . 32 32 32 ext3 method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /backup } . 512 2048 300% linux-swap method{ swap } format{ } . d-i partman-auto/expert_recipe string my-layout :: 512 2048 4096 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ / } . 512 4096 409600 ext3 method{ keep } use_filesystem{ } filesystem{ ext3 } mountpoint{ /home } . 256 512 2048 ext3 method{ keep } use_filesystem{ } filesystem{ ext3 } mountpoint{ /var/log } . 32 32 32 ext3 method{ keep } use_filesystem{ } filesystem{ ext3 } mountpoint{ /backup } . 512 2048 300% linux-swap method{ swap } format{ } . # wishlist-bug for someday: why: 4262 = 4096 * 1.0403861 # 10654 = 10240... # 21307 = 20480... # / 4gb done # swap 4gb done # /usr 4gb done # /tmp 4gb done # /var 4gb done # /home 20gb CVSRoot und ? done # /var/www 20gb Webauftritte done # /var/log 10gb Logfiles done # /var/spool/mysql 20gb Datenbanken done # --------------------------------- # summe 90gb # bleibt noch: # /backup 30gb done # # # For reference, here is that same recipe in a more readable form: # boot-root :: # 40 50 100 ext3 # $primary{ } $bootable{ } # method{ format } format{ } # use_filesystem{ } filesystem{ ext3 } # mountpoint{ /boot } # . # 500 10000 1000000000 ext3 # method{ format } format{ } # use_filesystem{ } filesystem{ ext3 } # mountpoint{ / } # . # 64 512 300% linux-swap # method{ swap } format{ } # . # This makes partman automatically partition without confirmation. d-i partman/confirm_write_new_label boolean true d-i partman/choose_partition select Finish partitioning and write changes to disk d-i partman/confirm boolean true