GRML - Linux Live-CD for sysadmins

Install grml2usb package

wget -qO - https://deb.grml.org/repo-key.asc | sudo apt-key add -
echo "deb http://deb.grml.org/ grml-testing main" | sudo tee /etc/apt/sources.list.d/grml.list
sudo apt-get update
sudo apt-get install -y grml2usb
 
sudo apt install -y syslinux
sudo ln -s  /usr/lib/syslinux/mbr /usr/lib/syslinux/bios

Prepare USB pen

DEV=/dev/sdb
 
sudo umount ${DEV}*
sudo parted ${DEV} -s mklabel msdos
sudo parted ${DEV} -s mkpart primary 1 100%
sudo parted ${DEV} -s set 1 boot on
sudo mkfs.vfat ${DEV}1

Install GRML to USB pen
Check for latest GRML ISO image
https://grml.org/download/

wget https://download.grml.org/grml64-full_2020.06.iso -qO /tmp/grml64-full_2020.06.iso
 
#grml2usb /tmp/grml64-full_2020.06.iso /dev/sdc1
sudo grml2usb /tmp/grml64-full_2020.06.iso --syslinux-mbr --fat16 --force ${DEV}1

Parameter

# reduce boot time
sudo sed -i 's/timeout .*/timeout 30/g' /media/${USER}/*/boot/syslinux/syslinux.cfg

Enable SSH server

# /boot/isolinux/default.cfg
ssh=grml

GRML
https://daily.grml.org/grml64-small_testing/latest/grml64-small_testing_latest.iso

Automation
https://grml.org/config/grml-autoconfig.1.html
https://github.com/grml/grml-autoconfig/blob/master/autoconfig.functions#L1497

Links
http://www.grml.org/
http://git.grml.org/?p=grml-live.git;a=blob_plain;f=templates/GRML/grml-cheatcodes.txt
https://grml.org/config/grml-autoconfig.1.html
http://www.linux-user.de/ausgabe/2006/06/008-grml/index.html