Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
slackware:liveslak [2019/11/13 21:55 (UTC)] – [Sources] URL fixes alienbob | slackware:liveslak [2020/10/05 15:27 (UTC)] – Some updates. alienbob |
---|
* Darren's http://slackware.uk/people/alien-slacklive/ (%%rsync://slackware.uk/people/alien-slacklive/%%) | * Darren's http://slackware.uk/people/alien-slacklive/ (%%rsync://slackware.uk/people/alien-slacklive/%%) |
* Willy's http://repo.ukdw.ac.id/slackware-live/ | * Willy's http://repo.ukdw.ac.id/slackware-live/ |
* Ryan's https://seattleslack.ryanpcmcquen.org/mirrors/slackware-live/ | |
* Shasta's http://ftp.slackware.pl/pub/slackware-live/ (%%rsync://ftp.slackware.pl/slackware-live/%%) | * Shasta's http://ftp.slackware.pl/pub/slackware-live/ (%%rsync://ftp.slackware.pl/slackware-live/%%) |
| |
-c|--crypt size|perc Add a LUKS encrypted /home ; parameter is the | -c|--crypt size|perc Add a LUKS encrypted /home ; parameter is the |
requested size of the container in kB, MB, GB, | requested size of the container in kB, MB, GB, |
or as a percentage of free space. | or as a percentage of free space |
Examples: '-c 125M', '-c 1.3G', '-c 20%'. | (integer numbers only). |
| Examples: '-c 125M', '-c 2G', '-c 20%'. |
-d|--devices List removable devices on this computer. | -d|--devices List removable devices on this computer. |
-f|--force Ignore most warnings (except the back-out). | -f|--force Ignore most warnings (except the back-out). |
Use a LUKS-encrypted 'persistence' file instead | Use a LUKS-encrypted 'persistence' file instead |
of a directory (for use on FAT filesystem). | of a directory (for use on FAT filesystem). |
| Format for size/percentage is the same |
| as for the '-c' parameter. |
-P|--persistfile Use an unencrypted 'persistence' file instead | -P|--persistfile Use an unencrypted 'persistence' file instead |
of a directory (for use on FAT filesystem). | of a directory (for use on FAT filesystem). |
| |
You might have noticed that the "-P" parameter does not accept a size parameter. This is because the unencrypted container file is created as a 'sparse' file that starts at zero size and is allowed to grow dynmically to a maximum of 90% of the initial free space on the Linux partition of the USB stick. | You might have noticed that the "-P" parameter does not accept a size parameter. This is because the unencrypted container file is created as a 'sparse' file that starts at zero size and is allowed to grow dynmically to a maximum of 90% of the initial free space on the Linux partition of the USB stick. |
| |
| |
| ==== Using the Live OS to install Slackware to hard disk ==== |
| |
| |
| All variants of Slackware Live Edition with the exception of the XFCE variant contain a script "setup2hd", a tweaked version of the regular Slackware setup program.\\ The "setup2hd" script allows you to install the Slackware release on which the Live OS is based, to the computer's local hard disk. You must boot the Live OS first, and then start "setup2hd" either in an X Terminal in your graphical Desktop Environment (aka Runlevel 4), or from the console in Runlevel 3. The fact that you can start "setup2hd" from a graphical terminal means that during installation, you can continue browsing, listening to music, watching video, reading an e-book or whatever else makes you pass the time. |
| |
| |
==== Updating the kernel (and more) on a USB stick ==== | ==== Updating the kernel (and more) on a USB stick ==== |
OS parameters; or specify 'write' to write current OS parameters | OS parameters; or specify 'write' to write current OS parameters |
to disk. | to disk. |
| |
| domain=your_custom_domain => |
| Specify a custom domain name. Defaults to 'example.net'. |
| |
hostname=your_custom_hostname[,qualifier] => | hostname=your_custom_hostname[,qualifier] => |
| |
toram => | toram => |
copy the OS from the media to to RAM before running it. | Copy the OS from the media to to RAM before running it. |
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". |
| |
| toram=os => |
| Load OS modules into RAM, but write persistent data to USB. |
| |
=== Troubleshooting === | === Troubleshooting === |
The fourth script: | The fourth script: |
| |
The "setup2hd" script enables you to install the running Live OS to the computer's local hard disk. The "setup2hd" is a modified Slackware installer, so you will be comfortable with the process. There is no 'SOURCE' selection because the script knows where to find the squashfs modules. After you select the target partition(s), every active module of the Live OS variant (SLACKWARE, PLASMA5, MATE, ...) is extracted to the hard drive. After extraction has completed, the script summarizes how many modules have been extracted. It will also show an example command to extract any remaining inactive or disabled modules manually. The final step in the installation is again the stock Slackware installer which kicks off the Slackware configuration scripts. | The "setup2hd" script is a modified Slackware installer, so you will be comfortable with the process. There is no 'SOURCE' selection because the script knows where to find the squashfs modules. After you select the target partition(s), every active module of the Live OS variant (SLACKWARE, PLASMA5, MATE, ...) is extracted to the hard drive. After extraction has completed, the script summarizes how many modules have been extracted. It will also show an example command to extract any remaining inactive or disabled modules manually. The final step in the installation is again the stock Slackware installer which kicks off the Slackware configuration scripts. |
| |
| |