summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh (follow)
Commit message (Expand)AuthorAgeFilesLines
* make_slackware_live.sh: fixes for kernel detection & selection on 32bit arch. Eric Hameleers2016-04-201-8/+26
* Slackware Live Edition: version 0.8.0.0.8.0 Eric Hameleers2016-04-191-1/+1
* make_slackware_live.sh: also add dependencies of network modules to initrd. Eric Hameleers2016-04-191-2/+27
* Add a post-install customization hook to 'setup2hd'....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'. Eric Hameleers2016-04-171-0/+23
* Use XZ compression for the initrd instead of GZIP....This shrinks the initrd back from 22 to 17 MB in size. Also, a redundant copy of the initrd was removed from the '0000-slackware_boot' module, reducing the ISO size with an additional 17 MB. These two modifications compensate for the increased size due to addition of network modules and firmware (which are needed for network boot). Goal reached: the XFCE ISO still fits on CDROM media. Eric Hameleers2016-04-131-7/+27
* Add NFS root support....It is now possible to PXE-boot the Slackware Live Edition. Extract the content of the ISO to (for instance) a new directory called 'slackware-live' below your TFTP server's /tftproot directory and then add lines like this to your pxelinux.cfg/default file: label liveslak kernel slackware-live/boot/generic append initrd=slackware-live/boot/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=us tz=Europe/Amsterdam locale=us_EN.utf8 nfsroot=192.168.0.1:/tftpboot/slackware-live hostname=pxelive Two new boot parameters have been added to support a NFS root: * nfsroot => mandatory parameter defines the IP address of the NFS server and the path to the extracted content of Slackware Live Edition. * nic => parameter defining the driver for the network card (optional and usually not needed because UDEV will figure out the driver for you), the interface name (optional), the IP configuration method (static IP or DHCP), and in case of a static IP, the required parameters ipaddress, netmask and an optional gateway. Note that the 'nic' parameter is optional if you have a DHCP server in your LAN: Slackware Live will figure out what the interface name is. Syntax of these parameters: nfsroot=ip.ad.dr.ess:/path/to/liveslak nic=<driver>:<interface>:<dhcp|static>[:ipaddr:netmask[:gateway]] Example use of these parameters: nfsroot=192.168.1.1:/tftproot/slackware-live nic=auto:eth0:static:10.0.0.21:24: nic=:eth1:static:192.168.1.6:255.255.255.248:192.168.1.1 Eric Hameleers2016-04-131-1/+36
* Umount LIVE_ROOTDIR's sub-mounts properly on emergency cleanup. Eric Hameleers2016-04-121-0/+3
* Fix the 'setup2hd' script's method of Live content installation....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. Eric Hameleers2016-03-291-1/+1
* Fix a bug in the program flow related to CONSFONT....If the predefined console font (CONSFONT variable) was not found on the system, the make_slackware_live.sh script would abort with an error. Eric Hameleers2016-03-231-6/+7
* Add support for 32-bit UEFI boot (disabled by default)....This requires functionality in grub which is currently not enabled in Slackware's grub package. If you want a 32-bit Live ISO that boots on UEFI computers, you need to recompile Slackware's grub with the patch for grub.SlackBuild which you can find in the ./patches subdirectory. Then you need to set the variable "EFI32" to "YES" in the 'make_slackware_live.sh' script and (re-)generate your 32-bit ISO. The resulting 32-bit Live ISO will be UEFI-bootable. Eric Hameleers2016-03-181-42/+67
* New parameters to specify Slackware version and architecture....The 'make_slackware_live.sh' script now has two extra parameters: -a arch Specify machine architecture (default: 'x86_64'). Use i586 for a 32bit ISO, x86_64 for 64bit. -z version Specify the Slackware version (default: 'current'). Eric Hameleers2016-03-181-26/+42
* Further expand the use of DISTRO variable to customize the Live ISO. Eric Hameleers2016-03-151-3/+18
* Slackware Live Edition: version 0.7.0.0.7.0 Eric Hameleers2016-03-151-1/+1
* Use the right variable to access official Slackware READMEs and other docs. Eric Hameleers2016-03-151-2/+2
* Use internal variable DISTRO=slackware. Eric Hameleers2016-03-101-22/+25
* Only add graphics drivers module matching the Linux kernel in the Live ISO. Eric Hameleers2016-03-091-3/+3
* Remove the /SLACKWARELIVE marker file from the filesystem root....After installation to harddisk using the 'setup2hd' script, this marker file is a Live OS left over and will only cause confusion. Eric Hameleers2016-03-031-0/+1
* Use correct grep command to find unique package name....The grep command used so far would find "vim-gvim" when searching for "vim" because it did not try to match from the beginning of the string. Eric Hameleers2016-02-281-3/+21
* Determine KGEN properly so that it works for 32-bit Slackware as well....Thanks to SangDae YU for pointing it out. Eric Hameleers2016-02-271-3/+3
* Better safe than sorry. Eric Hameleers2016-02-271-1/+1
* Some small improvements for the harddisk installer. Eric Hameleers2016-02-241-1/+1
* Define KVER and KGEN at the proper location in the script. Eric Hameleers2016-02-241-0/+4
* Slackware Live Edition: version 0.6.0.0.6.0 Eric Hameleers2016-02-241-1/+1
* Add 'setup2hd' - this script will install the Live OS to local hard disk....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. Eric Hameleers2016-02-241-1/+36
* Fix fontconfig. Eric Hameleers2016-02-241-4/+4
* Really start Konsole with a login shell. Eric Hameleers2016-02-221-0/+6
* Make this chroot code look easier to interpret by the human eye....The script was mixing relative and absolute paths which is confusing. In the chroot, we do not have to work with relative paths as is the case with some original Slackware scripts. Eric Hameleers2016-02-221-11/+11
* Fix the flow when rsync-ing a remote repository....It is a requirement to have the Slackware mirror available locally in advance. Eric Hameleers2016-02-161-2/+6
* Add the liveslak documentation to the ISO image. Eric Hameleers2016-02-161-0/+3
* Enable more customization: configure your own LIVEDE....A new sample configuration file 'make_slackware_live.conf' shows a commented-out example of how to use the variables LIVEDE, SEQ_CUSTOM and a function "custom_config()" to create a Slackware Live variant which is not covered by the available variants SLACKWARE, XFCE, KDE4, PLASMA5, MATE or CINNAMON. Eric Hameleers2016-02-151-2/+23
* Download packages from rsync mirror if local repository is empty....This is for package lists in "pkglist/" subdirectory where a 3rd party repository is the package source. If the pkglists/*.conf file defines a rsync mirror URL in variable SL_REPO_URL, then instead of aborting with an error when the local repository directory (SL_REPO) is empty or non-existing, the packages will be downloaded from that mirror before continuing. Eric Hameleers2016-02-141-3/+24
* Allow other people to add their own custom skel*.txz archives....Anything matching ./skel/skel*.txz will be extracted into the Live ISO's "/etc/skel/" directory by the "make_slackware_live.sh" script. This allows other people to add application presets for the "live" user account. Feature request by Schmatzler for Cinelerra-CV. Eric Hameleers2016-02-131-2/+5
* PLASMA5: Do not show the blueman applet, Plasma5 has its own BlueTooth widget. Eric Hameleers2016-02-131-0/+3
* Make X Keyboard configuration work properly....- 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. Eric Hameleers2016-02-091-1/+4
* Copy files from /etc/skel _after_ they become available....This block of code was moved up as part of an earlier attempt to group the code in more closely-knit blocks. See commit 4c08b1a2caae4319cd4b97a99a5c387ae86e5fdb . However, it was moved to far up, so we need to revert. Eric Hameleers2016-02-091-5/+5
* If ALSA pipes into PulseAudio, configure a fallback using "sysdefault"....Or else there will not be sound on first boot. Not so important for Slackware itself, but a Live distro run from CD or DVD will never have sound. Thanks to USUARIONUEVO on LinuxQuestions.org. Eric Hameleers2016-02-071-0/+7
* Slackware Live Edition: version 0.5.1...Contains bugfixes for the Beta 5 release (0.5.0) prior to public release. 0.5.1 Eric Hameleers2016-02-061-1/+1
* Handle in/exclusion of Nvidia drivers more reliably. Eric Hameleers2016-02-061-27/+14
* liveinit: use MARKER instead of INITRD as prefix for message display at boot. Eric Hameleers2016-02-061-0/+37
* Slackware Live Edition: version 0.5.0 (aka Beta5)...Milestones reached: - Option to use a loop-mounted file for storing persistence data. When using 'iso2usb.sh' to copy the ISO content to a USB stick, use the new '-P' parameter to create and use a container file 'persistence.img'. Note that the existence of a directory 'persistence' in the root of the Linux partition of your USB stick still takes precedence over the file 'persistence.img'. So be sure to remove that directory first, if you want to start using a loop-mounted file for persistence. - New 'toram' boot option (add the word to the syslinux or grub boot commandline) allows you to run the Live OS completely in RAM. If you are booting from a CDROM, it will be ejected at the end of the boot process. A USB stick can be removed manually after booting Slackware Live Edition. Further interesting updates: - A new boot parameter 'blacklist' allows you to blacklist certain kernel modules while booting. Some people need to blacklist the 'nouveau' module for instance. Example: add "blacklist=nouveau" to the syslinux or grub boot commandline. Multiple modules can be specified, separated by commas. - The XDM login screen now has a button "console" which lets you drop to a console login if you have no need of a graphical login or don't want to start an X Session (relevant for the XFCE and MATE variants). And many other small improvements/bugfixes to the scripts as well of course. 0.5.0 Eric Hameleers2016-02-041-1/+1
* Cosmetics: better grouping of code; additional comments for better readability. Eric Hameleers2016-02-031-28/+45
* Do not run the risk of creating a dangling symlink. Eric Hameleers2016-02-031-1/+1
* Don't abort if the udev rules file is not present in the initrd. Eric Hameleers2016-02-021-1/+1
* Get rid of udev errors about obex-check-device on boot....The mkinitrd script adds /lib/udev/rules.d/60-openobex.rules to the initrd image, but since the rest of the openobex package is not added, this results in a "error: obex-check-device not found". We do not need bluetooth stuff in the initrd anyway, so we remove the rules file manually from the initrd until mkinitrd gets fixed. Eric Hameleers2016-01-291-0/+4
* Slackware Live Edition: version 0.4.0 (aka Beta4)...Milestone reached: - add LUKS-encrypted /home/. 0.4.0 Eric Hameleers2016-01-221-1/+1
* Add support for a LUKS-encrypted /home in the USB Live version....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. Eric Hameleers2016-01-221-3/+6
* Ensure that rc.pulseaudio is not started. Eric Hameleers2016-01-221-0/+1
* Readability changes to various comments in the script. Eric Hameleers2016-01-221-6/+7
* Enable mouse support in runlevel 3. Eric Hameleers2016-01-221-0/+21
* Fix kernel version detection....The new kernel has version number '4.4.0'. Yet the kernel package names, like the kernel source tarball, has a version '4.4'. We need to compensate. Eric Hameleers2016-01-151-3/+5