summaryrefslogtreecommitdiffstats
path: root/liveinit (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-02Live init: add 'toram' boot parameter. Eric Hameleers1-6/+39
This allows the user to remove the bootable Live media afterwards, because the complete OS will been copied to RAM and run from there when adding the boot commandline parameter 'toram'. This feature works nicely for the XFCE ISO since that one is fairly small. Untested for the bigger ISOs; you need more patience while the squashfs modules are being copied to RAM, and available RAM decreases a lot. Realistically speaking, your computer would need 1 or 2 GB of RAM for the XFCE variant, 2 or 4 GB RAM for the Mate variant, and 4 to 8 GB RAM for the KDE4 and Plasma5 variants.
2016-02-01liveinit: fix a spelling error in a comment (nitpicking I know). Eric Hameleers1-1/+1
2016-01-29Add support for persistence using a loop-mounted container file. Eric Hameleers1-32/+71
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-29Fix a flow in the logic when using a LUKS /home and no persistence. Eric Hameleers1-2/+4
The /home would end up read-only if the "nop" parameter was passed on the boot commandline in order to disable persistence for the session. So, remount the media as writable earlier during init.
2016-01-22Add support for a LUKS-encrypted /home in the USB Live version. Eric Hameleers1-0/+56
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
2016-01-10Fix X keyboard configuration if no custom layout was chosen at boot. Eric Hameleers1-10/+12
2016-01-05Added support for separate configuration of X keyboard layout/variant. Eric Hameleers1-3/+30
New parameter for the boot commandline: xkb=[language],variant Examples: # Only specify a Xkbvariant, and inherit the console keyboard layout in X: kbd=nl xkb=,sundeadkeys # Define a 'french swiss' layout in X, independent of the console: xkb=ch,fr Two new keyboard/language choices have been added which use this functionality: - german swiss - french swiss (requested by Niki Kovacs). New: if a non-US keyboard layout is selected, the US layout will be added as a secondary layout. Toggling between the two layouts is possible using the Shift-LeftAlt key combo. Also new: the RightAlt key is now defined as the Compose Key in X. Meaning, the combo <RightAlt><"><e> will generate a 'ë character'.
2015-12-24Make the init more robust. Eric Hameleers1-10/+38
The computer may have other partitions which contain a Live image, we need to choose one. Alternatively, use "livemedia=/dev/sdX" to point init to the Live device we want to boot.
2015-12-24Delete ALSA state file, the Live OS may be booted on different computers. Eric Hameleers1-0/+3
2015-12-16liveinit: add debug code for development (disabled by default). Eric Hameleers1-0/+21
2015-12-02Add support for alternative directorynames of 'persistence' and 'liveslak'. Eric Hameleers1-9/+16
The persistence directory on USB is called 'persistence' by default but can now be re-defined when running 'make_slackware_live.sh' to create the ISO. Additionally it can be changed dynamically on boot of the Live OS by adding a 'persistence=<dirname>' parameter to the boot. The Live OS main directory is called 'liveslak' by default but can now be re-defined when running 'make_slackware_live.sh' to create the ISO. Additionally it can be changed dynamically on boot of the Live OS by adding a 'livemain=<dirname>' parameter to the boot.
2015-11-29Make the 'livemain' directory name configurable in make_slackware_live.sh Eric Hameleers1-7/+8
This allows customizations for derivative Live OSes. Patch submitted by Manfred Mueller.