Is there a way to automatically partition a percentage of the total capacity?
I'm creating a partman recipe for an SSD, on which I'd like to leave 10% of the total capacity unpartitioned. Is there a way to do this, or a way to tell partman to use only 90% of the total for the partitions in the recipe?
Here is what I have so far. The last partition (which is the one I'm trying to define as unpartitioned space) is formatted to ext2.
### Partitioning
# The presently available methods are:
# - regular: use the usual partition types for your architecture
# - lvm: use LVM to partition the disk
# - crypto: use LVM within an encrypted partition
d-i partman-auto/method string regular
# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-
# The same applies to pre-existing software RAID array:
d-i partman-
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true
###GPT
d-i partman-
d-i partman-
d-i partman-
d-i partman-
d-i partman/
d-i partman/
partman-
d-i partman-
boot-root :: \
1 1 1 free \
. \
512 512 512 fat32 \
. \
. \
4000 4004 100% linux-swap \
. \
10000 10010 48000 free \
. \
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: