[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
slackware:liveslak [2017/12/06 12:48 (UTC)] – Some polishing. alienbob | slackware:liveslak [2018/11/04 13:46 (UTC)] – Better URL for the original location of this README alienbob | ||
---|---|---|---|
Line 46: | Line 46: | ||
Common download locations are: | Common download locations are: | ||
- | * Primary site: http://bear.alienbase.nl/mirrors/ | + | * Primary site: http://slackware.nl/ |
* Darren' | * Darren' | ||
* Willy' | * Willy' | ||
Line 106: | Line 106: | ||
A script is available which allows you to transfer the ISO image content to a USB stick, making some modifications depending on the script' | A script is available which allows you to transfer the ISO image content to a USB stick, making some modifications depending on the script' | ||
- | The USB stick will be erased and re-formatted when running this script (except when using the ' | + | The USB stick will be erased and re-formatted when running this script (except when using the ' |
This script, called ' | This script, called ' | ||
Line 472: | Line 472: | ||
* a locate database is created, | * a locate database is created, | ||
* etc... | * etc... | ||
- | * All these modifications are written to the writable filesystem that was created in the previous section. This filesystem will also be stored on the ISO as a squashfs module and when the Live OS boots, it will be mounted read-only just like all the other modules. Its name will be " | + | * All these modifications are written to the writable filesystem that was created in the previous section. This filesystem will also be stored on the ISO as a squashfs module and when the Live OS boots, it will be mounted read-only just like all the other modules. Its name will be " |
Line 503: | Line 503: | ||
This section explains how the script modifies the ISO for the enhanced USB functionality. | This section explains how the script modifies the ISO for the enhanced USB functionality. | ||
+ | |||
+ | == Layout of the USB stick == | ||
+ | |||
+ | The " | ||
+ | |||
+ | * First partition: a small (1 MB in size) FAT partition which is not used for Slackware Live Edition. | ||
+ | * Second partition: a 100 MB VFAT partition containing the kernel, initrd and all the other stuff required by syslinux and grub2 to boot Slackware Live Edition. | ||
+ | * Third partition: a Linux partition taking up all of the remaining space. It contains the actual liveslak modules, the persistent live storage and optionally your encrypted homedirectory. You can use the remainder of this Linux //ext4// filesystem' | ||
+ | |||
+ | Note that this script is the only supported method of transfering the liveslak ISO content to a USB stick and make that USB stick into a persistent live OS. Several 3rd party tools (like multibootusb, | ||
== Mounting a filesystem in an encrypted container == | == Mounting a filesystem in an encrypted container == | ||
Line 586: | Line 596: | ||
This section explains how the script modifies the content of the Live USB stick. | This section explains how the script modifies the content of the Live USB stick. | ||
- | When the script is started, it will do some sanity checks and then extracts the comtent | + | When the script is started, it will do some sanity checks and then extracts the content |
* existence of previously backed-up kernel modules is checked, | * existence of previously backed-up kernel modules is checked, | ||
* template variables and their values are obtained from the init sctript, | * template variables and their values are obtained from the init sctript, | ||
Line 611: | Line 621: | ||
== Replace the liveslak init script == | == Replace the liveslak init script == | ||
- | The init script inside the initrd image is the core of liveslak. | + | The init script inside the initrd image is the core of liveslak. |
== Wrap persistence data into a new squashfs module == | == Wrap persistence data into a new squashfs module == | ||
Line 654: | Line 664: | ||
* locale = the locale used in the country | * locale = the locale used in the country | ||
* xkb = optional custom X keyboard variant for the language | * xkb = optional custom X keyboard variant for the language | ||
- | * liveinit - this is the " | + | * liveinit.tpl - this is the template for the " |
* make_slackware_live.conf - the configuration file for the " | * make_slackware_live.conf - the configuration file for the " | ||
* make_slackware_live.sh - the script that generates the Live ISO. | * make_slackware_live.sh - the script that generates the Live ISO. | ||
* makemod - this script creates a squashfs module out of a Slackware package (or out of a directory tree). | * makemod - this script creates a squashfs module out of a Slackware package (or out of a directory tree). | ||
* menu.tpl - template which is used to generate the syslinux boot menu for BIOS computers. | * menu.tpl - template which is used to generate the syslinux boot menu for BIOS computers. | ||
- | * pxeserver - the script that starts a PXE server allowing other computers to boot Slackware Live over the network. | + | * pxeserver.tpl - template to generate |
- | * setup2hd - the script you use to install your Slackware Live to a harddisk. | + | * setup2hd.tpl |
* setup2hd.local - here a developer of a custom Live OS can override the default post-installation routine by (re-)defining the function " | * setup2hd.local - here a developer of a custom Live OS can override the default post-installation routine by (re-)defining the function " | ||
Line 675: | Line 685: | ||
XFCE (basic XFCE), PLASMA5 (KDE Plasma5 replaces KDE4), | XFCE (basic XFCE), PLASMA5 (KDE Plasma5 replaces KDE4), | ||
MATE (Gnome2 fork replaces KDE4), CINNAMON (fork of Gnome3 | MATE (Gnome2 fork replaces KDE4), CINNAMON (fork of Gnome3 | ||
- | Shell replaces KDE4). | + | Shell replaces KDE4), DLACK (adds Gnome3, PAM and systemd). |
| | ||
where the ISO won't boot otherwise (default: 4). | where the ISO won't boot otherwise (default: 4). | ||
Line 695: | Line 705: | ||
The script uses package repositories to create a Live ISO. The packages will be installed into a temporary directory. | The script uses package repositories to create a Live ISO. The packages will be installed into a temporary directory. | ||
- | In order to create a Live ISO for any of these variants, the package repositories that are required must be available as a local directory (this can be a network-mounted directory). | + | In order to create a Live ISO for any of these variants, the package repositories that are required must be available as a local directory (this can be a network-mounted directory). |
When all pre-reqs are met, you issue a single command to generate the ISO. The following example will create a pure Slackware Live Edition: | When all pre-reqs are met, you issue a single command to generate the ISO. The following example will create a pure Slackware Live Edition: | ||
Line 845: | Line 855: | ||
Website: https:// | Website: https:// | ||
- | SLAX was the original Live variant of Slackware. | + | SLAX was the original Live variant of Slackware. |
The Live functionality of SLAX is based on aufs and unionfs which requires a custom-built kernel with aufs support compiled-in. | The Live functionality of SLAX is based on aufs and unionfs which requires a custom-built kernel with aufs support compiled-in. | ||
Line 879: | Line 889: | ||
Website: http:// | Website: http:// | ||
- | A website offering Live versions based on many regular Linux distributions. | + | A website offering Live versions based on many regular Linux distributions. |
Line 887: | Line 897: | ||
Slackware Live Edition is created by the ' | Slackware Live Edition is created by the ' | ||
- | * Git repository: %%git://bear.alienbase.nl/ | + | * Git repository: %%git://slackware.nl/ |
- | * Git repository (browsable): | + | * Git repository (browsable): |
* Download mirror: http:// | * Download mirror: http:// | ||
Line 894: | Line 904: | ||
====== Sources ====== | ====== Sources ====== | ||
<!-- If you copy information from another source, then specify that source --> | <!-- If you copy information from another source, then specify that source --> | ||
- | * Original source: [[http://bear.alienbase.nl/cgit/ | + | * Original source: [[http://git.alienbase.nl/ |
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
* Originally written by [[wiki: | * Originally written by [[wiki: |