Skip to content

Live CDs

Ventoy

Installation

Install Ventoy binary on Laptop

Install

Arch:

sudo pacman -S ventoy

From Github releases:

Can't install from git repo, need to download latest release

cd ~/projects/live-cds/ventoy-releases
wget https://github.com/ventoy/Ventoy/releases/download/v1.0.82/ventoy-1.0.82-linux.tar.gz
tar -xzf ventoy-1.0.82-linux.tar.gz

Install Ventoy on USB stick

cd /opt/ventoy
sudo ./Ventoy2Disk.sh -i /dev/sdX

Upgrade

From Update Ventoy:

It should be noted that the upgrade operation is safe, all the files in the first partition will be unchanged. Upgrade operation is in the same way with installation. Ventoy2Disk.sh will prompt you for update if the USB drive already installed with Ventoy.

cd /opt/ventoy
sudo ./Ventoy2Disk.sh -u  /dev/sda

Secure boot

About Secure Boot in UEFI mode:

There are two methods: Enroll Key and Enroll Hash, use whichever one

Enroll Key:

  • Error: Verification failed: OK
  • Shim UEFI key management: Press any key to perform MOK management
  • Perform MOK management: Enroll key from disk
    • VTOYEFI
    • ENROLL_THIS_KEY_IN_MOKMANAGER.cer
  • Enroll MOK: Continue
  • Enroll the key(s)?: Yes
  • Reboot

Usage

Mount first partition (/dev/sda1) and simply copy iso images!

Test Ventoy boot: sudo qemu-system-x86_64 -enable-kvm -m 256 -usb /dev/sda

Plugins

Yumi

Isos

grml

Custom settings when imaging usb disk

Enable ssh:

Partition the usb-disk to have 1 primary partition (i.e. sda1) Then:

sudo apt install grml2usb
PW="$(gopass show --password live-cds/ssh-password)"
sudo grml2usb --fat16 --bootoptions="ssh=$PW" \
  ~/Downloads/grml64-full_2020.06.iso /dev/sdX1

Debian live

live-build

live-build examples

sudo apt install live-build
cd ~/projects/debian/live/ssh-live-cd

lb config

lb build 2>&1 | tee build.log

test-boot live image

kvm -cdrom live-image-i386.hybrid.iso

SystemRescueCd

  • Website
  • Gitlab
  • Recent releases
  • Based on Arch linux
  • CLI
    • No quick way to configure bluetooth keyboards
  • GUI
    • XFCE + Xorg

SSH

Allow ssh access:

iptables -I INPUT 1 -p tcp --dport 22 -j ACCEPT

Set root pw:

passwd

Autorun

Finnix

  • Website
  • Last release 6 month ago
  • based on debian-live

SSH access:

 passwd
 systemctl start ssh

SSH access:s:

 passwd
 systemctl start ssh

SSH access:s:

 passwd
 systemctl start ssh

SSH access:s:

 passwd
 systemctl start ssh

Rescatux

Outdated