Flash a bootable drive without guessing
Starflash is a small command-line guide for turning an image into a bootable USB drive or SD card. It checks the target first, shows a dry run, and waits for an explicit confirmation before writing.
Download Starflash
./starflash
Run the guide
Use your own Ubuntu Server ISO or device image. Make the downloaded file executable, then start the guide:
chmod +x starflash
./starflash
It asks for the image, the external whole disk, and optional Ubuntu cloud-init settings.
Review before writing
A dry run checks that the image exists, the target is removable, and the image fits. Nothing is erased until you choose the write step and type WRITE
.
./starflash --image ubuntu.iso --disk /dev/disk4 --dry-run
Ubuntu autoinstall, when you need it
Starflash can add NoCloud seed data to Ubuntu installation media. The target computer can then finish its setup without depending on your MacBook or an Ethernet connection.
Scripted commands
sudo ./starflash --image ubuntu.iso --disk /dev/disk4 --write --yes
./starflash --ubuntu-autoinstall --seed-dir cidata --render-seed