1CDIST-TYPE__INSTALL_PARTITION_MSDOS(7)cdisCtDIST-TYPE__INSTALL_PARTITION_MSDOS(7)
2
3
4
6 cdist-type__install_partition_msdos - creates msdos partitions
7
9 This cdist type allows you to create msdos paritions.
10
12 type the partition type used in fdisk (such as 82 or 83) or "ex‐
13 tended"
14
16 device the device we're working on. Defaults to the string prefix of
17 --partition
18
19 minor the partition number we're working on. Defaults to the numeric
20 suffix of --partition
21
22 partition
23 defaults to object_id
24
25 bootable
26 mark partition as bootable, true or false, defaults to false
27
28 size the size of the partition (such as 32M or 15G, whole numbers
29 only), '+' for remaining space, or 'n%' for percentage of re‐
30 maining (these should only be used after all specific partition
31 sizes are specified). Defaults to +.
32
34 # 128MB, linux, bootable
35 __install_partition_msdos /dev/sda1 --type 83 --size 128M --bootable true
36 # 512MB, swap
37 __install_partition_msdos /dev/sda2 --type 82 --size 512M
38 # 100GB, extended
39 __install_partition_msdos /dev/sda3 --type extended --size 100G
40 # 10GB, linux
41 __install_partition_msdos /dev/sda5 --type 83 --size 10G
42 # 50% of the free space of the extended partition, linux
43 __install_partition_msdos /dev/sda6 --type 83 --size 50%
44 # rest of the extended partition, linux
45 __install_partition_msdos /dev/sda7 --type 83 --size +
46 # nvm device partition 2
47 __install_partition_msdos /dev/nvme0n1p2 --device /dev/nvme0n1 --minor 2 --type 83 --size 128M --bootable true
48
50 Steven Armstrong <steven-cdist--@--armstrong.cc>
51
53 Copyright (C) 2011-2017 Steven Armstrong. You can redistribute it
54 and/or modify it under the terms of the GNU General Public License as
55 published by the Free Software Foundation, either version 3 of the Li‐
56 cense, or (at your option) any later version.
57
59 ungleich GmbH 2020
60
61
62
63
646.9.6 Apr 20,C2D0I2S1T-TYPE__INSTALL_PARTITION_MSDOS(7)