diff --git a/.gitignore b/.gitignore index 033ad72..42d16fa 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,4 @@ kernel* MiniDexed* sdcard *.zip +*.img diff --git a/README.md b/README.md index 9a645f2..d48a694 100644 --- a/README.md +++ b/README.md @@ -86,10 +86,10 @@ zip -r MiniDexed_Raspberry_Pi_${RPI}.zip sdcard/* sudo apt install --yes mount parted IMG="`date +%Y-%m-%d`_minidexed-RPi${RPI}.img" dd of="${IMG}" seek=50MiB bs=1 count=0 -parted "${IMG}" mktable msdos -parted "${IMG}" mkpart primary fat32 2048s 49MiB +sudo parted "${IMG}" mktable msdos +sudo parted "${IMG}" mkpart primary fat32 2048s 100% DEV=`sudo losetup --find --partscan --show "${IMG}"` -sudo mkfs.vfat -F 32 -n BOOT "${DEV}p0" +sudo mkfs.vfat -F 32 -n BOOT "${DEV}p1" mkdir boot sudo mount "${DEV}p1" boot sudo cp sdcard/* boot diff --git a/build.sh b/build.sh old mode 100644 new mode 100755