commit 0bbd46be269464fa672ee36a702d6f8c48f21035 parent 2dd1ed516552b9f838972183924c8ffb89bb1583 Author: parazyd <parazyd@dyne.org> Date: Wed, 3 Feb 2021 00:48:14 +0100 Note how to prepare microSD. Diffstat:
M | README.md | | | 22 | ++++++++++++++++++++-- |
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md @@ -119,13 +119,31 @@ Hardware -------- * [Raspberry Pi Zero](https://www.raspberrypi.org/products/raspberry-pi-zero/) -* Class 10 microSD card (256M or more) +* Class 10 microSD card (128M or more) * Micro USB cable ### Preparation -TODO +After you've built the image, you should copy it to your microSD card. +Create a VFAT partition on your microSD card and format it: + +``` +# parted /dev/mmcblk0 --script -- mklabel msdos +# parted /dev/mmcblk0 --script -- mkpart primary fat32 2048s 100% +# mkfs.vfat /dev/mmcblk0p1 +``` + +Mount it and extract the cpio archive: + +``` +# mkdir mnt +# mount /dev/mmcblk0p1 mnt +# cd mnt && cpio -i < ../uwu-*.cpio && cd .. +# umount mnt +``` + +With this, you've successfully installed uwu and you're ready to boot. Using uwu