banan-os/install-usb.sh

8 lines
146 B
Bash
Executable File

#!/bin/sh
set -e
SIZE=$(stat -c '%s' banan-os.img | numfmt --to=iec)
echo Writing ${SIZE}iB
sudo dd if=banan-os.img of=/dev/sda status=progress