aboutsummaryrefslogtreecommitdiffstats
path: root/menu.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2021-01-12 17:28:17 +0100
committer Eric Hameleers <alien@slackware.com>2021-01-12 17:28:17 +0100
commita28f988a5d95a3c29cdf615af6d5d5ec8b4fd92a (patch)
tree6fa3fc726aadd7d805f57d144115fb4175407601 /menu.tpl
parentca9704c956144f191de680a269df847721dc7a91 (diff)
downloadliveslak-a28f988a5d95a3c29cdf615af6d5d5ec8b4fd92a.tar.gz
liveslak-a28f988a5d95a3c29cdf615af6d5d5ec8b4fd92a.tar.xz
Implement a small Console OS - a rescue environment in RAM1.3.9
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.
Diffstat (limited to 'menu.tpl')
-rw-r--r--menu.tpl9
1 files changed, 8 insertions, 1 deletions
diff --git a/menu.tpl b/menu.tpl
index 2417db2..c5ca327 100644
--- a/menu.tpl
+++ b/menu.tpl
@@ -12,7 +12,7 @@ f4 f4.txt #00000000
menu hshift 1
menu vshift 9
-menu width 45
+menu width 55
menu margin 1
menu rows 10
menu helpmsgrow 14
@@ -75,3 +75,10 @@ menu label Memory test with memtest86+
label localboot
menu label Boot from local drive
localboot -1
+
+label core2ram
+ @C2RMH@menu hide
+ menu label Console OS in RAM
+ kernel /boot/generic
+ append initrd=/boot/initrd.img @KAPPEND@ load_ramdisk=1 prompt_ramdisk=0 rw printk.time=0 kbd=@KBD@ locale=@LOCALE@ tz=@TZ@ toram=core 3
+