summaryrefslogtreecommitdiffstats
path: root/liveinit (follow)
Commit message (Expand)AuthorAgeFilesLines
* liveinit: make the udev trigger for net devices more rebust. Eric Hameleers2016-04-191-10/+21
* 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/+150
* liveinit: correctly create an overlay of all installed content....The 'setup2hd' script will use this readonly overlay to install to your harddrive. However, this readonly overlay still contained the Live customizations which you do not want copied over to your harddrive. This update fixes the logical fallacy so that 'setup2hd' works properly now. Eric Hameleers2016-04-081-5/+12
* 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-3/+9
* liveinit: put the 'rescue shell' commands into a function call. Eric Hameleers2016-03-111-12/+21
* Increase the maximum number of loop devices the Live OS will use to 96....If you have a large number of addon modules, 96 may still be too low. This value can be changed on boot-time by the 'maxloops=' boot parameter. Eric Hameleers2016-03-101-1/+9
* Add preliminary support for booting a Live ISO image in your filesystem....Boot parameter "livemedia=" has been expanded; Generic syntax for explicitly defining your live media: livemedia=/dev/sdX The syntax for pointing the initrd to an ISO image of Slackware Live Edition instead of a partition or DVD media expands on the above: livemedia=/dev/sdX:/path/to/slackwarelive.iso Note: this functionality is yet untested ;-) Eric Hameleers2016-03-091-8/+28
* Fix the 'localhd' boot parameter. Eric Hameleers2016-03-091-1/+1
* Add the missing part of the "disable glamor 2d acceleration" patch....New boot option 'nga' (which stands for 'no glamor acceleration') adds a configuration file to X.Org. This disables the (now default) glamor acceleration which causes a X startup failure with the error: "EGL_MESA_drm_image required; (EE) modeset(0): glamor initialization failed". Eric Hameleers2016-03-091-2/+6
* liveinit: add 'nga' boot parameter to disable glamor 2D acceleration....X.Org in a QEMU VM will refuse to start if glamor is used for 2D acceleration. Eric Hameleers2016-03-031-0/+15
* Remove duplicate line....Was there from the beginning... glad someone noticed it, thanks SangDae. Eric Hameleers2016-02-271-1/+0
* New boot parameter "localhd" to initialize RAID/LVM on local harddisks. Eric Hameleers2016-02-171-15/+31
* liveinit: do not give the OS access to the Live media if "toram" was specified....If we mounted the media partition in the Live OS, an I/O error will be the result when the user removes the boot media from the computer. Eric Hameleers2016-02-141-4/+18
* liveinit: fix the mount command by removing a superfluous '%'. Eric Hameleers2016-02-131-1/+1
* liveinit: if "toram" was specified, increase the size of the RAM filesystem....Also, make sure that we do not try and make any persistent writes when 'toram' was specified as a boot parameter, since 'toram' means that the user intends to remove the boot media afterwards. Eric Hameleers2016-02-091-1/+9
* 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-6/+6
* Boot parameter "livemedia=": also support UUID and LABEL....Examples: + livemedia=08d500da-9538-435c-94fc-c97b1c96d1b1 + livemedia=LIVESLAK + livemedia=/dev/sde1 Eric Hameleers2016-02-061-2/+12
* liveinit: better support for german localizations....Based on feedback, use Scroll Lock instead of AltGr as the Compose Key. Also, use 'de-latin1-nodeadkeys' instead of 'de-latin1' for console keyboard layout, 'de_DE@euro' instead of 'de_DE.utf8' as language definition and 'nodeadkeys' as the X keyboard variant. Eric Hameleers2016-02-061-1/+6
* liveinit: use MARKER instead of INITRD as prefix for message display at boot. Eric Hameleers2016-02-061-31/+35
* Live init: add 'blacklist' bootparam to prevent loading of kernel driver(s)....Any kernel modules mentioned here will be added to the modprobe blacklist. This will help out people who need to blacklist the nouveau driver, for instance if they have a too-new computer. Syntax: blacklist=mod1[,mod2[,...]] Eric Hameleers2016-02-021-0/+15
* Live init: eject the Live CDROM/DVD medium after loading modules into RAM....Only relevant if the user added the 'toram' boot option. Eric Hameleers2016-02-021-0/+3
* Live init: move the module loading code into a single function call....This gets rid of quite some code duplication. Eric Hameleers2016-02-021-33/+33
* Live init: add 'toram' boot parameter....This allows the user to remove the bootable Live media afterwards, because the complete OS will been copied to RAM and run from there when adding the boot commandline parameter 'toram'. This feature works nicely for the XFCE ISO since that one is fairly small. Untested for the bigger ISOs; you need more patience while the squashfs modules are being copied to RAM, and available RAM decreases a lot. Realistically speaking, your computer would need 1 or 2 GB of RAM for the XFCE variant, 2 or 4 GB RAM for the Mate variant, and 4 to 8 GB RAM for the KDE4 and Plasma5 variants. Eric Hameleers2016-02-021-6/+39
* liveinit: fix a spelling error in a comment (nitpicking I know). Eric Hameleers2016-02-011-1/+1
* Add support for persistence using a loop-mounted container file....This adds an option to store persistent data in a container file instead of a directory in the USB stick's Linux filesystem. Theoretically, this would allow the Slackware Live files to be copied to a VFAT partition on a stick without erasing it, as long as the stick is made bootable and the Live kernel & initrd are added to the boot menu. To create a USB stick from the Live ISO which uses a persistence file instead of a persistence directory, run the 'iso2usb.sh' script with a new parameter: -P|--persistfile Use a 'persistence' container file instead of a directory (for use on FAT filesystem). The following example creates a 750 MB LUKS-encrypted container file 'slhome.img' which will contain /home ; as well as a file '/persistence.img' in the root of the USB's Linux partition which will be used to store the Live OS' persistent data: ./iso2usb.sh -i slackware64-live-current.iso -o /dev/sdX -c 750M -P NOTE: The persistence container file will be created as a 'sparse' file which starts as an empty file not using up any disk space, but is allowed to grow dynamically to consume a maximum value of 90% of the free disk space on the Linux partition of the USB stick. Eric Hameleers2016-01-291-32/+71
* Fix a flow in the logic when using a LUKS /home and no persistence....The /home would end up read-only if the "nop" parameter was passed on the boot commandline in order to disable persistence for the session. So, remount the media as writable earlier during init. Eric Hameleers2016-01-291-2/+4
* 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-0/+56
* Add 2016 in the copyright line. Eric Hameleers2016-01-151-1/+1
* Fix X keyboard configuration if no custom layout was chosen at boot. Eric Hameleers2016-01-101-10/+12
* Added support for separate configuration of X keyboard layout/variant....New parameter for the boot commandline: xkb=[language],variant Examples: # Only specify a Xkbvariant, and inherit the console keyboard layout in X: kbd=nl xkb=,sundeadkeys # Define a 'french swiss' layout in X, independent of the console: xkb=ch,fr Two new keyboard/language choices have been added which use this functionality: - german swiss - french swiss (requested by Niki Kovacs). New: if a non-US keyboard layout is selected, the US layout will be added as a secondary layout. Toggling between the two layouts is possible using the Shift-LeftAlt key combo. Also new: the RightAlt key is now defined as the Compose Key in X. Meaning, the combo <RightAlt><"><e> will generate a 'ë character'. Eric Hameleers2016-01-051-3/+30
* Make the init more robust....The computer may have other partitions which contain a Live image, we need to choose one. Alternatively, use "livemedia=/dev/sdX" to point init to the Live device we want to boot. Eric Hameleers2015-12-241-10/+38
* Delete ALSA state file, the Live OS may be booted on different computers. Eric Hameleers2015-12-241-0/+3
* liveinit: add debug code for development (disabled by default). Eric Hameleers2015-12-161-0/+21
* Add support for alternative directorynames of 'persistence' and 'liveslak'....The persistence directory on USB is called 'persistence' by default but can now be re-defined when running 'make_slackware_live.sh' to create the ISO. Additionally it can be changed dynamically on boot of the Live OS by adding a 'persistence=<dirname>' parameter to the boot. The Live OS main directory is called 'liveslak' by default but can now be re-defined when running 'make_slackware_live.sh' to create the ISO. Additionally it can be changed dynamically on boot of the Live OS by adding a 'livemain=<dirname>' parameter to the boot. Eric Hameleers2015-12-021-9/+16
* Make the 'livemain' directory name configurable in make_slackware_live.sh...This allows customizations for derivative Live OSes. Patch submitted by Manfred Mueller. Eric Hameleers2015-11-291-7/+8
* Slackware Live Edition: initial commit....This is Beta 2. Read http://alien.slackbook.org/blog/slackware-live-edition-beta-2 for all the details. Beta2 Eric Hameleers2015-11-281-0/+442