summaryrefslogtreecommitdiffstats
path: root/syslinux/f2.txt
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-01-29 12:16:29 +0100
committer Eric Hameleers <alien@slackware.com>2016-01-29 12:16:29 +0100
commite46bc9de8531efdc8232a08286fcf6d3fe5de3a1 (patch)
tree24068eb96c7384fda5e99b47db8b918132ab19cd /syslinux/f2.txt
parentcfa6a93ac53b64d1f2b1ecd3e25ca9303fa456ee (diff)
downloadliveslak-e46bc9de8531efdc8232a08286fcf6d3fe5de3a1.tar.gz
liveslak-e46bc9de8531efdc8232a08286fcf6d3fe5de3a1.tar.xz
Add support for persistence using a loop-mounted container file.
This adds an option to store persistent data in a container file instead of a directory in the USB stick's Linux filesystem. Theoretically, this would allow the Slackware Live files to be copied to a VFAT partition on a stick without erasing it, as long as the stick is made bootable and the Live kernel & initrd are added to the boot menu. To create a USB stick from the Live ISO which uses a persistence file instead of a persistence directory, run the 'iso2usb.sh' script with a new parameter: -P|--persistfile Use a 'persistence' container file instead of a directory (for use on FAT filesystem). The following example creates a 750 MB LUKS-encrypted container file 'slhome.img' which will contain /home ; as well as a file '/persistence.img' in the root of the USB's Linux partition which will be used to store the Live OS' persistent data: ./iso2usb.sh -i slackware64-live-current.iso -o /dev/sdX -c 750M -P NOTE: The persistence container file will be created as a 'sparse' file which starts as an empty file not using up any disk space, but is allowed to grow dynamically to consume a maximum value of 90% of the free disk space on the Linux partition of the USB stick.
Diffstat (limited to 'syslinux/f2.txt')
0 files changed, 0 insertions, 0 deletions