summaryrefslogtreecommitdiffstats
path: root/upslak.sh (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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...Adding rtsx_pci:rtsx_pci_sdmmc modules to the initrd. Eric Hameleers2022-05-141-1/+1
* 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 RAM...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. 1.3.9 Eric Hameleers2021-01-121-2/+6
* Remove '--no-absolute-filenames' from cpio invocations...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. Eric Hameleers2019-11-201-1/+1
* NFS root (PXE boot): add virtio drivers required for older VM...The virtio_pci driver is required in some cases when using older types of virtual machine software. Eric Hameleers2019-11-021-20/+22
* upslak.sh: fix path determination for kernel and modules...Thanks to 0XBF @linuxquestions.org for debugging. Eric Hameleers2019-09-081-4/+4
* upslak.sh: use the OS to find partition names...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'). Eric Hameleers2019-05-051-9/+14
* Add missing template vars to upslak.sh...Several template vars were added to liveinit.tpl but I had forgotten to also incorporate those in the upslak.sh script. Eric Hameleers2019-04-141-2/+10
* upslak.sh: do not presume that people build overlayfs as a module...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. Eric Hameleers2019-03-171-1/+1
* 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....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. Eric Hameleers2017-09-191-0/+923