Custom Ubuntu Live ISO

A customized live iso based on ubuntu.

Installed Packages

The following packages have been installed into the environment (in addition to the preinstalled packages):

  1. vim
  2. neovim
  3. nano
  4. tmux
  5. git
  6. wget
  7. curl
  8. mtr
  9. ncat
  10. nmap
  11. wireshark
  12. sipcalc
  13. iperf
  14. hping3
  15. traceroute
  16. net-tools
  17. telnet
  18. docker
  19. keepassxc
  20. kleopatra
  21. libreoffice
  22. firefox
  23. cryptsetup
  24. gnupg

Base Image

The ubuntu version 24.04 LTS was used as the base image for this iso.

Script for installing all packages

The following codeblock will install all the packages:

apt update
apt upgrade
apt install \
  vim \
  neovim \
  nano \
  tmux \
  git \
  wget \
  curl \
  mtr \
  ncat \
  nmap \
  wireshark \
  sipcalc \
  iperf \
  hping3 \
  traceroute \
  net-tools \
  telnet \
  kleopatra \
  keepassxc \
  libreoffice \
  firefox \
  cryptsetup \
  gnupg

Hints

  • To upgrade to root user in live session use
    • sudo -i

Setup

Installing penguin-eggs

I used penguin-eggs to create the iso file.

Installing penguin-eggs:

git clone https://github.com/pieroproietti/get-eggs
cd get-eggs
sudo ./get-eggs

Creating an Image

  1. Use sudo eggs kill to remove all old images
  2. Use sudo eggs produce to create a new image
    1. Set values during installation!

Configuration

Change the username and password for the live system under /etc/penguins-eggs.d/eggs.yaml.

You can use sudo eggs tools skel -u <username> to copy all files form a user home to /etc/skel. All files in the /etc/skel directory will be available to the live user after producing the egg! (NOTE You have to rebuild the egg after adding new files!)

I believe its easier to just copy the config files you need directly and not use the eggs tools skel command.

Last modified 2024.06.19