banan-os/install-usb.sh

8 lines
148 B
Bash
Raw Normal View History

#!/bin/bash
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