| Commit message (Expand) | Author | Age | Files | Lines |
* | liveinit: sort the modules found with 'find' to assure correct loading order. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-08-15 | 1 | -1/+1 |
* | liveinit: allow modules to be organized in subdirectories....The addons/ and optional/ directory will be searched for *.sxz modules
even if they live in subdirectories. This allows you to organize your
modules instead of dumping them all into a single directory.
If a module fails to load (because it is corrupted for instance) liveinit
will mention this on screen and write the modulename to a file
'/mnt/live/modules/failed'.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-07-31 | 1 | -19/+29 |
* | liveinit: warn if a module could not be mounted. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-07-28 | 1 | -4/+9 |
* | liveinit: add a forgotten '$MARKER' prefix to a console message. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-07-28 | 1 | -1/+1 |
* | liveinit: Use Shift-AltGr as the Compose Key, seems to be the sanest choice....As documented in file "/usr/share/X11/xkb/rules/xorg.lst":
lv3 Key to choose 3rd level
lv3:ralt_switch_multikey Right Alt, Shift+Right Alt key is Compose
And as explained in https://help.ubuntu.com/community/ComposeKey :
There are four levels of keyboard entry. Selecting a level involves holding
a set of modifier keys down, this changes the function of all the other keys
on the keyboard. The levels are, by default:
Level Modifier Keys produced
-------------------------------
1 None Lowercase letters, numbers, etc.
2 Shift Uppercase letters, symbols printed on keyboard, etc.
3 AltGr Extra symbols not printed on the keyboard, some dead keys.
4 AltGr-Shift Even more symbols, more dead keys.
Dead keys are keys that appear to do nothing at first; they apply an accent
to the next letter you type.
Third and fourth level choosers:
Holding down the AltGr key and pressing another key will produce a third level
character. Holding down the AltGr and Shift keys (the order can be important)
and pressing another key will produce a fourth level character.
Note that some combinations are dead keys; an additional key-press is required
whereupon a diacritic will be added to the final character keyed.
Compose key:
Keying the combination Shift+AltGr (in that order), releasing these keys,
then entering two other keys will produce a special character.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-07-22 | 1 | -7/+8 |
* | liveinit: replace instances of 'live' username with '${LIVEUID}'. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-07-22 | 1 | -6/+8 |
* | liveinit: use AltGr as Compose Key only for US keyboard layouts. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-07-20 | 1 | -11/+24 |
* | liveinit: optionally specify XkbOptions through the "xkb" boot parameter....Variable XKB can be set to "XkbLayout,XkbVariant,XkbOptions".
For example "xkb=ch,fr,compose:sclk,grp:alt_shift_toggle"
Note that the XkbOptions can be several comma-separated values.
The XkbLayout and XkbVariant values must not contain commas.
You can still set just the XkbVariant by adding something like "kbd=ch xkb=,fr"
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-07-20 | 1 | -10/+25 |
* | liveslak: enhance the boot debug a bit....Some explanation about what the 'debug' boot parameter does:
'debug=1' => enable some strategic pauses during boot while showing 'mount'
and 'blkid' output, so you can scroll back and inspect the proceedings
(just 'debug' also enables level 1).
'debug=2' => enable verbose script execution in addition to the above pause
moments.
'debug=3' => verbose script execution but without the mount/blkid info during
the strategically placed pauses.
'debug=4' => dumps you into a debug shell right before the switch_root.
No other pauses other debugging aids are offered like with levels 1, 2 or 3.
But you can check the health of your Live system before Slackware boots up.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-06-23 | 1 | -5/+11 |
* | Allow persistence and (luks) containers in subdirectories. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-06-20 | 1 | -5/+5 |
* | Deal properly with the user enabling any optional/addon kernel modules....When the user loads a non-system squashfs module (for instance from the
optional or addons subdirectories) and this contains kernel modules,
then the kernel must be made aware using a "depmod -a" call.
The previous implementation did this at the end of rc.local but
that was too late in the boot process: the kernel needs to be aware
of the new modules straight from the start, so that udev can enable
the hardware which is supported by these new kernel drivers on time.
So the depmod call was moved to the live init script (inside the initrd).
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-06-15 | 1 | -0/+17 |
* | liveinit: use boot parameter "nop=wipe" to erase existing persistent data....Sometimes your Slackware Live develops issues because the persistent data
storage is conflicting with new packages or data which you added to the
Live OS. This can be fixed by erasing persistent data, thereby reverting
the Live OS to its initial state - i.e. when the USB stick was booted
for the first time.
For this purpose the functionality of the existing "nop" boot parameter
was extended to allow the '=' and specifying a value of 'wipe'.
Note that the persistent data will be wiped before the Live OS boots, and
it does not matter if you are using a persistence directory or a container
file for storing persistent data.
This wipe includes all your persistent personal data in /home/
unless you have moved your /home into a container file on the USB stick.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-06-15 | 1 | -0/+16 |
* | liveinit: DEBUG=4 dumps you into a debug shell right before the switch_root....After doing your debug checks you can then type "exit" to exit
the debug shell. The init script will continue with the switch_root
and boot the OS.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-06-15 | 1 | -2/+3 |
* | Silence a (harmless) error during network boot....We bind-mount /run if we started dhcpcd - so it can not be un-mounted
at the end of the init.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-05-29 | 1 | -1/+1 |
* | Ensure that a PXE-booted Slackware Live will shutdown properly....In case of network boot, do not kill the network, umount NFS prematurely
or stop udevd on shutdown.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-05-28 | 1 | -0/+10 |
* | Git rid of a (harmless) error message during boot. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-05-18 | 1 | -4/+8 |
* | Call 'depmod' when a loaded optional/addon contains kernel modules. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-05-17 | 1 | -1/+1 |
* | Disable the SSH daemon by default and use a tweak to start it on demand....The passwords for users 'live' and 'root' are easy to guess.
When you use the Slackware Live Edition on a public network,
you do not want people to use an exposed SSH login.
If you still want to have the SSH daemon enabled on boot, use the
'tweak' boot parameter and provide a 'ssh' value as follows:
"tweak=ssh"
This can be combined with other tweaks of course, all comma-separated.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-05-17 | 1 | -0/+4 |
* | liveinit: deprecate "nga" boot parameter and add "tweaks" parameter instead....The functionality of the old "nga" parameter is now implemented as a "tweak".
Tweaks are customizations that cater to specific hardware needs.
Syntax: tweaks=tweak1[,tweak2,[,...]]
Example: tweaks=nga,tpb
Currently implemented tweaks:
- nga => no glamor acceleration (X.Org tweak).
- tpb => enable TrackPoint scrolling while holding down middle mouse button.
- syn => start the syndaemon for better support of Synaptics touchpads.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-05-13 | 1 | -11/+68 |
* | Fixes for the broken 'load/noload' boot parameters and rootcopy location....Provided by GigglesUK, thanks.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-05-12 | 1 | -2/+2 |
* | liveinit: allow PXE server to work even when the Live media is copied to RAM. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-05-05 | 1 | -6/+14 |
* | liveinit: when network-booting, add MAC address as suffix to the hostname....This default behaviour can be prohibited by applying an extended 'hostname'
boot parameter as follows:
hostname=your_custom_hostname,fixed
The qualifier 'fixed' after the comma will prevent the hostname from being
changed to something else than 'your_custom_hostname'.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-05-05 | 1 | -1/+20 |
* | Update the 'timeconfig' script in make_slackware_live.sh, not in liveinit. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-04-29 | 1 | -2/+0 |
* | Deal with custom timezones (non-UTC) in KDE4 and PLASMA5. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-04-27 | 1 | -0/+11 |
* | liveinit: make the DHCP wait time configurable and set a longer default....New boot parameter:
dhcpwait=<numseconds>
Maximum wait time for the DHCP client to configure a network interface
(new default: 20 seconds, was 10 seconds).
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-04-22 | 1 | -6/+10 |
* | liveinit: make the udev trigger for net devices more rebust. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-04-19 | 1 | -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
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-04-13 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-04-08 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-03-29 | 1 | -3/+9 |
* | liveinit: put the 'rescue shell' commands into a function call. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-03-11 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-03-10 | 1 | -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 ;-)
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-03-09 | 1 | -8/+28 |
* | Fix the 'localhd' boot parameter. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-03-09 | 1 | -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".
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-03-09 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-03-03 | 1 | -0/+15 |
* | Remove duplicate line....Was there from the beginning... glad someone noticed it, thanks SangDae.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-27 | 1 | -1/+0 |
* | New boot parameter "localhd" to initialize RAID/LVM on local harddisks. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-17 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-14 | 1 | -4/+18 |
* | liveinit: fix the mount command by removing a superfluous '%'. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-13 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-09 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-09 | 1 | -6/+6 |
* | Boot parameter "livemedia=": also support UUID and LABEL....Examples:
+ livemedia=08d500da-9538-435c-94fc-c97b1c96d1b1
+ livemedia=LIVESLAK
+ livemedia=/dev/sde1
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-06 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-06 | 1 | -1/+6 |
* | liveinit: use MARKER instead of INITRD as prefix for message display at boot. | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-06 | 1 | -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[,...]]
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-02 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-02 | 1 | -0/+3 |
* | Live init: move the module loading code into a single function call....This gets rid of quite some code duplication.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-02 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-02 | 1 | -6/+39 |
* | liveinit: fix a spelling error in a comment (nitpicking I know). | ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-02-01 | 1 | -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.
| ![](//www.gravatar.com/avatar/caef891534164c2e3fee7e102a39cc97?s=13&d=retro) Eric Hameleers | 2016-01-29 | 1 | -32/+71 |