Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
    • Ubuntu
      • Ubuntu 22.04 Jammy
      • Ubuntu 20.04 Focal
      • Ubuntu 24.04 noble
      • Ubuntu 23.04 Lunar
      • Ubuntu PXE Boot
      • Ubuntu USB boot
        • syslinux.cfg
      • Ubuntu MID USB boot
      • Boot installer from HDD
      • getDebconfAnswer.sh
      • Lubuntu
      • Auto upgrade
      • repository
      • Strato HiDrive
      • live
      • Debian live-helper
      • Default application / file association
      • LiveCD
      • NetInstall CD
      • Unity
      • Upgrade SSH to v7.3
      • apt-mirror
      • netplan
      • updUbuntuPxeFiles.sh
    • LTSP
    • HowTo
    • BASH
    • Backtrack
    • CUPS
    • CentOS
    • Debian
    • FreeNX
    • GRML
    • Gnome
    • Grub
    • IpFire
    • Kernel
    • Linux Lite
    • SSH
    • UEFI
    • dban
    • logrotate
    • parted
    • proxy
    • systemd
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
DEVICE=/dev/sdb
ISO=ubuntu-16.10-desktop-amd64.iso
VOLUME=BOOTUSB

# install needed apps
sudo apt-get install -y syslinux mbr mtools dosfstools

# OPTIONALY format drive 
# sudo umount ${DEVICE}1
# sudo mkfs.vfat -n ${VOLUME} ${DEVICE}1

# install mbr and syslinux
mkdir /tmp/${VOLUME}
sudo mount ${DEVICE}1 /tmp/${VOLUME}
sudo install-mbr ${DEVICE}

sudo mkdir /tmp/${VOLUME}/boot
sudo syslinux -f ${DEVICE}1 -d boot
#sudo syslinux -f ${DEVICE}1
#sudo syslinux -smf ${DEVICE}1

sudo cp /usr/lib/syslinux/modules/bios/vesamenu.c32 /tmp/${VOLUME}/boot/

sudo mkdir /tmp/${VOLUME}/boot/${ISO%.*}
sudo cp ${ISO} /tmp/${VOLUME}/boot/${ISO##*/}

sudo mount ${ISO} /mnt/ -o loop
#sudo cp -a /mnt/.disk/ /tmp/${VOLUME}/boot/
sudo cp -a /mnt/casper/vmlinuz.efi /tmp/${VOLUME}/boot/${ISO%.*}/
sudo cp -a /mnt/casper/initrd.lz /tmp/${VOLUME}/boot/${ISO%.*}/
sudo umount /mnt


cat << EOF | sudo tee -a "/tmp/${VOLUME}/boot/syslinux.cfg"
default /boot/vesamenu.c32
TIMEOUT 100

LABEL ${ISO%.*}
MENU LABEL ${ISO%.*}
KERNEL /boot/${ISO%.*}/vmlinuz.efi
APPEND boot=casper initrd=/boot/${ISO%.*}/initrd.lz iso-scan/filename=/boot/${ISO%.*}/ubuntu-13.04-desktop-i386.iso --
EOF

sync
sudo umount /tmp/${VOLUME}

# TODO
# include DISTRO part from pxe boot

Links
http://wiki.ubuntuusers.de/Live-USB
Casper parameter (from live-helper package)
/usr/share/live-helper/templates/casper/parameters.txt
http://debian-live.alioth.debian.org/
http://www.pendrivelinux.com/usb-boot-cd-for-ubuntu-810/
http://wiki.ubuntuusers.de/Live-USB
https://help.ubuntu.com/community/mkusb

Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung