Documentation on Preseed Partman options?

Help with issues regarding installation of Debian

Documentation on Preseed Partman options?

Postby shinobi » 2017-10-03 02:40

Documentation on Preseed Partman options? There does not seem to be a complete reference anywhere? No authoritative use guide? I find 100s if not 1000s of examples, but nothing exhaustive. For example, I can't seem to find any explanation of the following options?

d-i partman-auto-lvm/guided_size string
d-i partman-md/confirm boolean
d-i partman-md/confirm_nooverwrite boolean
d-i partman/unmount_active boolean
d-i partman-auto/purge_lvm_from_device boolean

The official Debian documentation for Preseed files, it very limited in the scope of Partman, and is nothing more than another quite limited example of how to use Partman, but somewhere this has to be an exhaustive reference? No?
Posts: 14
Joined: 2017-08-17 00:21

Re: Documentation on Preseed Partman options?

Postby Mrfai » 2018-02-24 12:46

Most people cry when they need to preseed partman. This is very ugly and time consuming, because the syntax is horible.
In FAI ( we have a config file for doing partitioning, which looks very similar to a fstab file.
It also supports software raid, LVM and different file system types. An example config is this:

# <type> <mountpoint> <size> <fs type> <mount options> <misc options>
disk_config disk1 disklabel:msdos fstabkey:uuid

primary / 2G-15G ext4 rw,noatime,errors=remount-ro
logical swap 200-1000 swap sw
logical /tmp 100-1000 ext4 rw,noatime,nosuid,nodev createopts="-m 0" tuneopts="-c 0 -i 0"
logical /home 100-40% ext4 rw,noatime,nosuid,nodev createopts="-m 1" tuneopts="-c 0 -i 0"
logical /srv 1G-50% ext4 rw,noatime createopts="-m 1" tuneopts="-c 0 -i 0"

The only downside of FAI may be that it does not use the Debian installer., IMO this is an advantage of FAI.
Posts: 6
Joined: 2017-11-28 07:52

Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests