From 6ad0ecd076a6049f2a3a016551a753fdd893b2ef Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Fri, 18 Feb 2022 12:21:22 +0100 Subject: [PATCH] Partition fix (instead of p1: p0). --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a09ed6..8735c25 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ dd of="${IMG}" seek=50MiB bs=1 count=0 parted "${IMG}" mktable msdos parted "${IMG}" mkpart primary fat32 2048s 49MiB DEV=`sudo losetup --find --partscan --show "${IMG}"` -sudo mkfs.vfat -F 32 -n BOOT "${DEV}p1" +sudo mkfs.vfat -F 32 -n BOOT "${DEV}p0" mkdir boot sudo mount "${DEV}p1" boot sudo cp sdcard/* boot