aboutsummaryrefslogtreecommitdiffstats
path: root/upslak.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Several enhancements to LUKS containers and their support scripts Eric Hameleers2023-09-101-83/+443
| | | | | | | | | | | | | | | | | | | | | | To name the most important: - The filesystem inside the containers is no longer limited to ext4 and can now be btrfs, ext2, ext4, f2fs, jfs or xfs. The scripts 'iso2usb.sh' and 'isocomp.sh' now support this filesystem choice via a new '-F' switch. - The 'upslak.sh' script can now extend the size of your home and persistence container files, in case you run out of storage there. - The internal functions used in 'iso2usb.sh' 'isocomp.sh' and 'upslak.sh' are mostly unified now, and I intend to split all functions off into a separate file which makes maintenance as well as adding new functionaliy easier. - The 'upslak.sh' script will now create a 'kernelmodules' squashfs module and copies it to liveslak's 'addons' directory after updating the boot kernel on the USB stick and the kernel-modules inside the initrd image. This way, you no longer end up with a broken Live OS if you forgot to install a Slackware kernel-modules package inside the persistent Live OS prior to running 'upslak.sh' with the '-k' and '-m' parameters. In addition, the README.txt was updated with these enhancements so that the liveslak documentation is again completely up to date.
* upslak.sh: more detail about kernel/modules upgrade process in help text Eric Hameleers2023-08-191-0/+6
|
* Fix broken support for Ventoy on UEFI computers Eric Hameleers2023-08-151-1/+1
| | | | | | | | | | | Changes in Slackware-current in March and May 2023 broke support for detection of Ventoy disk on UEFI computers. Liveslak's initrd needed to have efivarfs module added, so that /sys/firmware/efi/efivars can be mounted by the live init script. With kernel 6.x the content of what's found under efivars has changed - instead of being represented as a directory with the efi datastructures as files, liveslak now needs to deal with a single file instead and find the offset in there.
* Update the copyright year with 2023 Eric Hameleers2023-01-031-1/+1
|
* Add 'exfat' kernel module to the live initrd Eric Hameleers2022-08-021-1/+1
|
* Update copyright years in iso2usb.sh, liveinit.tpl, upslak.sh Eric Hameleers2022-07-131-1/+1
|
* Support booting from Realtech SD card reader Eric Hameleers2022-05-141-1/+1
| | | | Adding rtsx_pci:rtsx_pci_sdmmc modules to the initrd.
* KMODS: add "uas" module to the initrd Eric Hameleers2022-02-041-1/+1
|
* Add virtio_pci_modern_dev kernel module to the initrd Eric Hameleers2021-12-201-1/+1
|
* Add virtio modules to the live initrd for better support in VM's Eric Hameleers2021-10-261-2/+3
|
* Implement a small Console OS - a rescue environment in RAM1.3.9 Eric Hameleers2021-01-121-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This uses two squashfs modules that are currently only found in the LEAN and XFCE images: 'min' and 'noxbase'. These two provide a functional console-only Slackware with a lot of useful programs. It will connect to a DHCP server automatically and it also contains the 'setup2hd' script to be able to install Slackware from a network mirror. And since the Console OS gets loaded into RAM, you can remove your USB stick after booting and use that stick for other purposes. Use-case: - You have one computer with a network connection and one USB stick, and want to create a persistent Slackware Live on USB. - Download an ISO supporting 'Console OS' to the computer's hard drive, and transfer the ISO to the USB stick using the computer's ISO imaging tools, making the stick bootable but not persistent. - Boot from the USB stick, select the "Console OS in RAM" option. - After you logged into the Console Slackware, mount the computer's hard drive. - Use the 'iso2usb.sh' script that comes with liveslak to extract the ISO content to the USB stick, making it persistent. See the README.txt for instructions. ----------------------------------------------------------------------------- Implemented as an extension of the liveslak 'toram' boot parameter. Adding 'toram=core' to the boot commandline will load circa 500 MB of squashfs modules into RAM and boot into a sparse but functional console environment. For supported Live variants (currently LEAN and XFCE) the script 'make_slackware_live.sh' will automatically add a menu item "Console OS in RAM" to the Syslinux and Grub bootloaders, using this 'toram=core' parameter. TODO: add this as an option to all liveslak variants. Not so trivial to do.
* Remove '--no-absolute-filenames' from cpio invocations Eric Hameleers2019-11-201-1/+1
| | | | | | | | | Since cpio 2.13, this option strips '/' and '../' from symbolic and hard links during extraction of a cpio archive like our initramfs. This is implemented as a fix for CVE-2015-1197 but breaks the initrd. And leaving out this option does not have the adverse effect I always thought it would have... archive extraction is still done into the current directory and not in the filesystem root.
* NFS root (PXE boot): add virtio drivers required for older VM Eric Hameleers2019-11-021-20/+22
| | | | | The virtio_pci driver is required in some cases when using older types of virtual machine software.
* upslak.sh: fix path determination for kernel and modules Eric Hameleers2019-09-081-4/+4
| | | | Thanks to 0XBF @linuxquestions.org for debugging.
* upslak.sh: use the OS to find partition names Eric Hameleers2019-05-051-9/+14
| | | | | | This should allow usage of external storage devices like SD cards, whose partition naming conventions are different from generic USB devices. E.g. /dev/mmcblk0p1 is the first partition of /dev/mmcblk0 (note the 'p').
* Add missing template vars to upslak.sh Eric Hameleers2019-04-141-2/+10
| | | | | Several template vars were added to liveinit.tpl but I had forgotten to also incorporate those in the upslak.sh script.
* upslak.sh: do not presume that people build overlayfs as a module Eric Hameleers2019-03-171-1/+1
| | | | | | The script will now only fail if you have zero modules in your tree. I presume (!) that this corner case will never occur. In any case, I will not support it.
* upslak.sh: remove double string occurrence Eric Hameleers2017-09-231-1/+1
|
* upslak.sh: filename argument to '-i' can be a relative pathname Eric Hameleers2017-09-231-1/+1
|
* Add upslak.sh, a script to tweak the Live USB stick. Eric Hameleers2017-09-191-0/+923
Purpose: to update the content of a Slackware Live USB stick. upslak.sh accepts the following parameters: -b|--nobackup Do not try to backup original kernel and modules. -d|--devices List removable devices on this computer. -h|--help This help. -i|--init <filename> Replacement init script. -k|--kernel <filename> The kernel file (or package). -m|--kmoddir <name> The kernel modules directory (or package). -n|--netsupport Add network boot support if not yet present. -o|--outdev <filename> The device name of your USB drive. -p|--persistence Move persistent data into new Live module. -r|--restore Restore previous kernel and modules. -s|--scan Scan for insertion of new USB device instead of providing a devicename (using option '-o'). -v|--verbose Show verbose messages. -w|--wait<number> Add <number> seconds wait time to initialize USB.