[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 [2020/05/13 18:54 (UTC)] – Slackware can be installed to harddisk from the X Desktop Environment. alienbob | slackware:liveslak [2021/09/10 19:38 (UTC)] – Explain /liveslak/slackware_os.cfg alienbob | ||
---|---|---|---|
Line 32: | Line 32: | ||
The " | The " | ||
- | - a complete 64bit Slackware-current Live Edition (in a 3.1 GB ISO); | + | - a complete 64bit Slackware-current Live Edition (in a 4.0 GB ISO); |
- a slimmed-down XFCE ISO (700 MB) with XDM as the graphical login manager. | - a slimmed-down XFCE ISO (700 MB) with XDM as the graphical login manager. | ||
- | - a ISO image (4.6 GB) of Slackware64-current containing Plasma 5 instead of KDE 4, with an addition of several other packages from the alienBOB repositories: | + | - a ISO image (4.3 GB) of Slackware64-current containing |
- | - a Mate variant (2.2 GB) where KDE 4 has been replaced by Mate (a Gnome 2 fork); | + | - A Digital Audio Workstation (DAW) based on a custom Slackware package set plus a basic Plasma5, containing a rich software collection for musicians, producers and live performance artists. |
+ | - a Mate variant (3.2 GB) where KDE 4 has been replaced by Mate (a Gnome 2 fork); | ||
- a Cinnamon flavour (a fork of the Gnome 3 Shell replacing Slackware' | - a Cinnamon flavour (a fork of the Gnome 3 Shell replacing Slackware' | ||
- a [[https:// | - a [[https:// | ||
Line 46: | Line 47: | ||
Common download locations are: | Common download locations are: | ||
- | * Primary site: http://slackware.nl/ | + | * Primary site: http://download.liveslak.org/ (%%rsync://liveslak.org/liveslak/%%) |
* Darren' | * Darren' | ||
* Willy' | * Willy' | ||
Line 74: | Line 75: | ||
Syslinux shows a graphical boot menu with a nice Slackware-themed background and several options: | Syslinux shows a graphical boot menu with a nice Slackware-themed background and several options: | ||
- | * Start (SLACKWARE | PLASMA5 | + | * Start (SLACKWARE | KTOWN | XFCE | MATE | DAW) Live (depending on which of the ISOs you boot) |
* Non-US Keyboard selection | * Non-US Keyboard selection | ||
* Non-US Language selection | * Non-US Language selection | ||
Line 88: | Line 89: | ||
On UEFI computers, Grub2 handles the boot and it will show a menu similar (and similarly themed) to the Syslinux menu: | On UEFI computers, Grub2 handles the boot and it will show a menu similar (and similarly themed) to the Syslinux menu: | ||
- | * Start (SLACKWARE | PLASMA5 | + | * Start (SLACKWARE | KTOWN | XFCE | MATE | DAW) Live (depending on which of the ISOs you boot) |
* Non-US Keyboard selection | * Non-US Keyboard selection | ||
* Non-US Language selection | * Non-US Language selection | ||
Line 110: | Line 111: | ||
-c|--crypt size|perc | -c|--crypt size|perc | ||
| | ||
- | or as a percentage of free space. | + | or as a percentage of free space |
- | | + | |
+ | | ||
-d|--devices | -d|--devices | ||
-f|--force | -f|--force | ||
Line 128: | Line 130: | ||
Use a LUKS-encrypted ' | Use a LUKS-encrypted ' | ||
of a directory (for use on FAT filesystem). | of a directory (for use on FAT filesystem). | ||
+ | | ||
+ | as for the ' | ||
-P|--persistfile | -P|--persistfile | ||
of a directory (for use on FAT filesystem). | of a directory (for use on FAT filesystem). | ||
Line 149: | Line 153: | ||
==== Using the Live OS to install Slackware to hard disk ==== | ==== Using the Live OS to install Slackware to hard disk ==== | ||
+ | All variants of Slackware Live Edition contain a script " | ||
+ | The " | ||
- | All variants of Slackware Live Edition with the exception of the XFCE variant contain a script " | + | The " |
+ | * It will launch fdisk/gdisk if you forgot to create Linux partitions | ||
+ | * It will allow you to create | ||
+ | * It will prompt | ||
Line 349: | Line 358: | ||
OS parameters; or specify ' | OS parameters; or specify ' | ||
to disk. | to disk. | ||
+ | |||
+ | domain=your_custom_domain => | ||
+ | Specify a custom domain name. Defaults to ' | ||
hostname=your_custom_hostname[, | hostname=your_custom_hostname[, | ||
Line 393: | Line 405: | ||
toram => | toram => | ||
- | | + | |
You can remove the boot media after booting. | You can remove the boot media after booting. | ||
+ | |||
+ | toram=all => | ||
+ | Prevent writes to disk since we are supposed to run from RAM; | ||
+ | equivalent to parameter " | ||
+ | |||
+ | toram=core => Load Console OS modules into RAM. Console-only Slackware | ||
+ | loads fast, contains ' | ||
+ | overwrite it with a Persistent Live OS. | ||
+ | |||
+ | toram=os => | ||
+ | Load OS modules into RAM, but write persistent data to USB. | ||
=== Troubleshooting === | === Troubleshooting === | ||
Line 479: | Line 502: | ||
* the desktop environment is pre-configured for first use, | * the desktop environment is pre-configured for first use, | ||
* the liveslak scripts " | * the liveslak scripts " | ||
- | * if the Live system contains a huge kernel (all ISO variants except XFCE) then the " | + | * the " |
* slackpkg is configured, | * slackpkg is configured, | ||
* a locate database is created, | * a locate database is created, | ||
Line 567: | Line 590: | ||
The fourth script: | The fourth script: | ||
- | The " | + | The " |
+ | * The Slackware network installation is identical to that of the official Slackware installation medium. | ||
+ | * If you chose to install the Live OS, then after you select the target partition(s), | ||
Line 656: | Line 681: | ||
* README.txt - this documentation. | * README.txt - this documentation. | ||
* addons/ - squashfs modules placed in this directory will be loaded into the Live filesystem when the OS boots. | * addons/ - squashfs modules placed in this directory will be loaded into the Live filesystem when the OS boots. | ||
+ | * contrib/ - contributed scripts that are not used directly for the creation and usage of a Live ISO. | ||
* graphics/ - squashfs modules for proprietary GPU support (Nvidia) can be placed here. The module(s) will be copied to addons/ by the " | * graphics/ - squashfs modules for proprietary GPU support (Nvidia) can be placed here. The module(s) will be copied to addons/ by the " | ||
* local64/ , local/ - these directories can contain Slackware packages considered ' | * local64/ , local/ - these directories can contain Slackware packages considered ' | ||
+ | * media/ - scripts and images that are specific to a Live variant. | ||
* optional/ - squashfs modules placed in this directory will not automatically be loaded into the Live filesystem when the OS boots. | * optional/ - squashfs modules placed in this directory will not automatically be loaded into the Live filesystem when the OS boots. | ||
+ | * patches/ - patches for Slackware scripts that need modifications to run inside a Live OS. | ||
* pkglists/ - definition files of 3rd party repositories (*.conf) and the package lists to be used from those repositories (*.lst) must be placed in this directory. | * pkglists/ - definition files of 3rd party repositories (*.conf) and the package lists to be used from those repositories (*.lst) must be placed in this directory. | ||
+ | * setup2hd/ - script templates used by the '' | ||
* skel/ - contains compressed tarballs (whose filenames must match wildcard " | * skel/ - contains compressed tarballs (whose filenames must match wildcard " | ||
* syslinux/ | * syslinux/ | ||
Line 682: | Line 711: | ||
* pxeserver.tpl - template to generate the script that starts a PXE server allowing other computers to boot Slackware Live over the network. | * pxeserver.tpl - template to generate the script that starts a PXE server allowing other computers to boot Slackware Live over the network. | ||
* setup2hd.tpl | * 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.tpl - here a developer of a custom Live OS can override the default post-installation routine by (re-)defining the function " |
+ | * upslak.sh - a script which allows you to tweak the content of a USB Live stick. | ||
Line 695: | Line 725: | ||
-c comp Squashfs compression (default: xz). | -c comp Squashfs compression (default: xz). | ||
Can be any of 'gzip lzma lzo xz zstd'. | Can be any of 'gzip lzma lzo xz zstd'. | ||
- | -d desktoptype | + | -d desktoptype |
- | XFCE (basic XFCE), | + | |
- | | + | stripped), KTOWN (ktown Plasma5 |
- | | + | (Gnome2 fork replaces |
+ | replaces | ||
| | ||
where the ISO won't boot otherwise (default: 4). | where the ISO won't boot otherwise (default: 4). | ||
Line 704: | Line 735: | ||
custom configurations and new initrd.img. | custom configurations and new initrd.img. | ||
-l < | -l < | ||
- | (script-default is 'us'). | + | (script-default is 'en'). |
-m pkglst[, | -m pkglst[, | ||
-r series[, | -r series[, | ||
-s slackrepo_dir | -s slackrepo_dir | ||
- | -t < | + | -t <none|doc|mandoc|bloat> |
+ | | ||
| | ||
-z version | -z version | ||
+ | | ||
| | ||
-H < | -H < | ||
Line 735: | Line 768: | ||
- | ==== Using the Customization | + | ==== Using the Customization |
+ | |||
+ | === Master configuration file === | ||
You can create your own custom Live OS by changing its characteristics in the configuration file "'' | You can create your own custom Live OS by changing its characteristics in the configuration file "'' | ||
Among the things you can change are: | Among the things you can change are: | ||
- | * The name of the Desktop variant (the script itself knows "// | + | * The name of the Desktop variant (the script itself knows "// |
* The list(s) of packages used for your custom distribution, | * The list(s) of packages used for your custom distribution, | ||
+ | * The full name of the user (by default that is "// | ||
* The name of the useraccount (by default that is "// | * The name of the useraccount (by default that is "// | ||
* The name of the distribution (by default that is "// | * The name of the distribution (by default that is "// | ||
Line 789: | Line 825: | ||
#} | #} | ||
</ | </ | ||
+ | |||
+ | === Custom background images === | ||
+ | |||
+ | The Plasma5 based Live variants allow customization of the background image used for the login greeter, the desktop wallpaper and the lock screen. The image you want to use for this purpose, must have a 16:9 aspect ratio and its dimensions should at least be 1920x1080 pixels. You must store the custom image inside the liveslak source tree: in the subdirectory '' | ||
+ | |||
+ | The " | ||
+ | |||
+ | |||
==== Internals of Slackware Live Edition ==== | ==== Internals of Slackware Live Edition ==== | ||
Line 824: | Line 868: | ||
* The filesystem of the Live media is made available to the user of the Live OS as "/ | * The filesystem of the Live media is made available to the user of the Live OS as "/ | ||
* With the root filesystem assembled, the Live OS is configured before it actually boots: | * With the root filesystem assembled, the Live OS is configured before it actually boots: | ||
+ | * if a OS-specific configuration file (by default ''/ | ||
* if you specified " | * if you specified " | ||
* if you specified a custom keyboard layout for the console (and optionally another for X) by using the " | * if you specified a custom keyboard layout for the console (and optionally another for X) by using the " | ||
Line 836: | Line 881: | ||
* The init script will end by telling the kernel to swith to our new root filesystem (the overlay) and start the Slackware init program (PID 1, / | * The init script will end by telling the kernel to swith to our new root filesystem (the overlay) and start the Slackware init program (PID 1, / | ||
* From this moment onward, you are booting a ' | * From this moment onward, you are booting a ' | ||
+ | |||
+ | |||
+ | === OS configuration file for persistent media === | ||
+ | |||
+ | If present, the liveslak init will load a OS config file from a persistent Live medium such as a USB stick. | ||
+ | * BLACKLIST, KEYMAP, LIVE_HOSTNAME, | ||
+ | Values for the variables defined in this configuration file override the values already set via liveslak' | ||
+ | |||
+ | When booting your persistent //Slackware Live Edition//, the optional boot-time parameter " | ||
+ | * " | ||
+ | * " | ||
+ | |||
+ | The OS configuration file is not present by default. You either create it at boot-time using "'' | ||
+ | KEYMAP=nl | ||
+ | LIVE_HOSTNAME=zelazny | ||
+ | LOCALE=nl_NL.utf8 | ||
+ | TWEAKS=tpb, | ||
+ | TZ=Europe/ | ||
Line 912: | Line 975: | ||
Slackware Live Edition is created by the ' | Slackware Live Edition is created by the ' | ||
- | * Git repository: %%git://slackware.nl/ | + | * Git repository: %%git://git.liveslak.org/ |
- | * Git repository (browsable): | + | * Git repository (browsable): |
* Download mirror: http:// | * Download mirror: http:// | ||
Line 920: | Line 983: | ||
<!-- If you copy information from another source, then specify that source --> | <!-- If you copy information from another source, then specify that source --> | ||
* Original source: [[https:// | * Original source: [[https:// | ||
- | * Project landing page: [[https://alien.slackbook.org/blog/slackware-live-edition/]] | + | * Project landing page: [[https://liveslak.org/]] |
+ | * ISO downloads: [[https:// | ||
<!-- Authors are allowed to give credit to themselves! --> | <!-- Authors are allowed to give credit to themselves! --> | ||
* Originally written by [[wiki: | * Originally written by [[wiki: | ||
Line 927: | Line 991: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must also remove the tag-word " | <!-- You must also remove the tag-word " | ||
- | {{tag> | + | {{tag> |