path: root/setup2hd (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-05setup2hd: add option to install regular Slackware via network mirror Eric Hameleers6-0/+555
The setup2hd script is a modified Slackware installer. For liveslak I had originally removed all the usual SOURCE selections and only allowed for the installation of the Live OS to harddisk. However, requests were sent to also support a regular installation of Slackware using the Live ISO. That is why I have now re-added all the Slackware network install choices (via NFS, HTTP, FTP or Samba mirror). I still left out the Slackware installation using local media; the Live ISO does not contain regular Slackware packages so that would not make sense.
2017-01-23Make it obvious that some scripts are templates and cannot be used as-is. Eric Hameleers1-415/+0
This affects: - pxeserver - setup2hd Both have been renamed with extension '.tpl' as indication that they are templates. The '' script performs a series of substitutions on them to produce the actual scripts inside the ISO.
2017-01-23Add '2017' to the copyright statements. Eric Hameleers1-1/+1
2017-01-22setup2hd: fix a copy/paste error. Eric Hameleers1-1/+1
2017-01-22setup2hd: patch (e)liloconfig on the target to remove hardcoded /mnt Eric Hameleers1-0/+7
2016-04-17Add a post-install customization hook to 'setup2hd'. Eric Hameleers1-30/+53
A new file 'setup2hd.local' has been added to the liveslak sources. If you do not touch that one, it will be copied to: /usr/share/${LIVEMAIN}/setup2hd.$DISTRO.sample and serve as just that, a sample script. If on the other hand you rename the file to 'setup2hd.$DISTRO' before generating your ISO image ($DISTRO being the name of your own distro, like 'CINELIVE'), then this file will be installed in the ISO as /usr/share/${LIVEMAIN}/setup2hd.$DISTRO and this will be sourced by 'setup2hd' providing you a custom post-install customization hook for your own Live distro. Usage instructions are inside 'setup2hd.local'.
2016-03-29Fix the 'setup2hd' script's method of Live content installation. Eric Hameleers1-38/+42
In the original version of the script, the squashfs modules' contents would be extracted one after the other. However this disregards any package or file deletions inbetween modules. As a result, e.g. a PLASMA5 installation to disk using 'setup2hd' would leave several artefacts in removed_scripts and removed_packages and probably in other locations too. The overlay is now constructed somewhat differently, so that 'setup2hd' can access the full read-only filesystem properly; it will copy this content to the harddisk using rsync. A progress indicator will show the stats of files that are actually being transferred. At the same time, the 'setup2hd' script's language settings are now hard-coded by setting 'LC_ALL' and LANG to "C". Slackware's setup scripts parse command output and expect english texts there, but when you selected a different language when booting your Live OS, this would confuse e.g. 'liloconfig' to the extent that it failed to find the Linux partitions.
2016-03-15Further expand the use of DISTRO variable to customize the Live ISO. Eric Hameleers1-14/+14
2016-03-03Remove the /SLACKWARELIVE marker file from the filesystem root. Eric Hameleers1-0/+2
After installation to harddisk using the 'setup2hd' script, this marker file is a Live OS left over and will only cause confusion.
2016-02-27Do not overwrite a custom keymap. Eric Hameleers1-1/+5
During setup, a custom keyboard mapping may have been selected.
2016-02-24Some small improvements for the harddisk installer. Eric Hameleers1-4/+16
2016-02-24Add 'setup2hd' - this script will install the Live OS to local hard disk. Eric Hameleers1-0/+363
The 'setup2hd' script is a modified version of 'setup' in the Slackware installer, taken straight from the initrd. The SOURCE selection has been removed since the script knows where to find the Live media. Except for the actual extraction of Slackware Live content to your hard drive, the other hard disk installation steps are unmodified from the stock Slackware installer.