summaryrefslogtreecommitdiffstats
path: root/liveinit (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-27Remove duplicate line. Eric Hameleers1-1/+0
Was there from the beginning... glad someone noticed it, thanks SangDae.
2016-02-17New boot parameter "localhd" to initialize RAID/LVM on local harddisks. Eric Hameleers1-15/+31
2016-02-14liveinit: do not give the OS access to the Live media if "toram" was specified. Eric Hameleers1-4/+18
If we mounted the media partition in the Live OS, an I/O error will be the result when the user removes the boot media from the computer.
2016-02-13liveinit: fix the mount command by removing a superfluous '%'. Eric Hameleers1-1/+1
2016-02-09liveinit: if "toram" was specified, increase the size of the RAM filesystem. Eric Hameleers1-1/+9
Also, make sure that we do not try and make any persistent writes when 'toram' was specified as a boot parameter, since 'toram' means that the user intends to remove the boot media afterwards.
2016-02-09Make X Keyboard configuration work properly. Eric Hameleers1-6/+6
- fix detection of german (de) keyboard layout to configure Compose Key, - actually use field #6 of the languages file (X Keyboard layout & variant) when generating the grub and syslinux boot configuration files.
2016-02-06Boot parameter "livemedia=": also support UUID and LABEL. Eric Hameleers1-2/+12
Examples: + livemedia=08d500da-9538-435c-94fc-c97b1c96d1b1 + livemedia=LIVESLAK + livemedia=/dev/sde1
2016-02-06liveinit: better support for german localizations. Eric Hameleers1-1/+6
Based on feedback, use Scroll Lock instead of AltGr as the Compose Key. Also, use 'de-latin1-nodeadkeys' instead of 'de-latin1' for console keyboard layout, 'de_DE@euro' instead of 'de_DE.utf8' as language definition and 'nodeadkeys' as the X keyboard variant.
2016-02-06liveinit: use MARKER instead of INITRD as prefix for message display at boot. Eric Hameleers1-31/+35
2016-02-02Live init: add 'blacklist' bootparam to prevent loading of kernel driver(s). Eric Hameleers1-0/+15
Any kernel modules mentioned here will be added to the modprobe blacklist. This will help out people who need to blacklist the nouveau driver, for instance if they have a too-new computer. Syntax: blacklist=mod1[,mod2[,...]]
2016-02-02Live init: eject the Live CDROM/DVD medium after loading modules into RAM. Eric Hameleers1-0/+3
Only relevant if the user added the 'toram' boot option.
2016-02-02Live init: move the module loading code into a single function call. Eric Hameleers1-33/+33
This gets rid of quite some code duplication.
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.