Good evening.
I compose a recipe for automatic installation configuration for Ubuntu server 16.04 based on Debian-Installer preseed
The task is to determine the disk (RAID-1 and RAID-5 on the physical controller) before partitioning based on its size.
RAID-1 ~ 256G drive for installation
The RAID-5 ~ 10-16T floppy disk, which is mounted after the installation of the system, already contains data that should not be affected.
di partman-auto/expert_recipe string there will be a recipe for partitioning
/boot 100-1024 [SWAP] 2048-200% of mem / min 100G max 120G свободное место до конца диска The installer flies from the automatic mode and asks to select the type of partition and disk
di partman/early_command string I am looking for magic spells for this parameter ...
If you tell me where you can find the detailed debian-installer documentation I will be grateful!
Links
- https://www.debian.org/releases/wheezy/example-preseed.txt
- https://wiki.debian.org/DebianInstaller/Preseed
- https://www.debian.org/releases/stable/amd64/apbs05.html.en
UP
While nisal post, found a raw solution
https://askubuntu.com/questions/707327/use-preseed-to-chose-install-disks-based-on-size-or-type