summaryrefslogtreecommitdiffstats
path: root/iso2usb.sh (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-15iso2usb.sh: add a new parameter "-C" for encrypted persistence file. Eric Hameleers1-10/+26
Syntax of the new parameter: -C|--cryptpersistfile size|perc Explanation: Use a LUKS-encrypted 'persistence' file instead of a directory or an un-encrypted file (which is created using the "-P" parameter). The filename will be 'persistence.img' just like the unencrypted version. A numerical size in K,M,G or a percentage of available free space is needed as input value with the "-C" parameter.
2016-02-05iso2usb.sh: fix a logic error. Eric Hameleers1-4/+8
2016-01-29Add support for persistence using a loop-mounted container file. Eric Hameleers1-37/+82
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.
2016-01-22Add support for a LUKS-encrypted /home in the USB Live version. Eric Hameleers1-33/+172
Using iso2usb.sh script's new '-c' parameter, you can define the size for a container file in the root of the USB stick's Linux partition. - The container file will be loop-mounted and LUKS-encrypted and the Live OS will mount the filesystem inside the container on /home/. - The LUKS passphrase will be defined when executing the 'iso2usb.sh' script. - The original /home content of the ISO will be copied into the LUKS-encrypted container during execution of the 'iso2usb.sh' script. - If for whatever reason you do not want to unlock & mount the LUKS container during boot, you must add the boot parameter " luksvol= " to the syslinux or grub commandline.
2016-01-15Add 2016 in the copyright line. Eric Hameleers1-1/+1
2015-12-24Much enhanced iso2usb script. Eric Hameleers1-37/+88
Two new parameters '--force' and '--persistence'. Read "usb2iso.sh --help". Size of the EFI partition was reduced from 200 to 100 MB. The wait-for-root time in the initrd.img file is changed for both BIOS and UEFI boot; this should make boot work out of the box for most computers. More robustness was added in handling race conditions. Only make the USB stick UEFI-bootable if the ISO file is capable of the same.
2015-12-24Stamp a VERSION number in the ISO, and to the USB partition. Eric Hameleers1-1/+7
2015-11-29Make the 'iso2usb.sh' script sudo-friendly. Eric Hameleers1-27/+27
2015-11-29iso2usb.sh: fix a minor typo. Eric Hameleers1-1/+1