diff options
author | 2020-03-31 13:00:21 +0200 | |
---|---|---|
committer | 2020-03-31 13:00:21 +0200 | |
commit | 2f1e0f5ab0605725c6952d171439a48c14fa9e18 (patch) | |
tree | 869311fedb6a87e4d41a4c796278ca19a608496d /syslinux/memtest | |
parent | bce57c1d7d9537626d363e6c4407b6ac59c8313d (diff) | |
download | liveslak-2f1e0f5ab0605725c6952d171439a48c14fa9e18.tar.gz liveslak-2f1e0f5ab0605725c6952d171439a48c14fa9e18.tar.xz |
iso2usb.sh: allow custom parition sizing
Some people asked if it could be possible to reserve space on the USB stick
for a custom additional 4th partition, to be used freely and which will not get
touched by liveslak.
So, there is a new parameter to the script now, here is the help text:
-y|--layout <x,x,x,x> Specify partition layout and sizes (in MB).
Default values: '$DEF_LAYOUT' for 3 partitions,
the '-1' value for partition 3 meaning
'use all remaining space',
and an empty 4th value means 'do not reserve
free space for a custom 4th partition'.
The default layout of the USB stick remains:
partition 1 (1MB),
partition 2 (100 MB)
partition 3 (claim all free space - specified as 0 MB).
The script allows for an amount of free space to be left at the end
(partition 4, unused by liveslak) in case you need this:
This translates to the following DEF_LAYOUT variable value:
DEF_LAYOUT="1,100,-1,"
Diffstat (limited to 'syslinux/memtest')
0 files changed, 0 insertions, 0 deletions