Skip to content

Commit

Permalink
Change boot directory to 256M
Browse files Browse the repository at this point in the history
  • Loading branch information
ClashTheBunny committed Feb 21, 2024
1 parent 31efcfa commit 0b35e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function create_image_pi() {
if [[ $GRAPHICAL == true ]]; then
$SUDO gparted "$LOOPDEV"
else
printf "o\nn\np\n1\n\n+70M\nt\n0c\nn\np\n\n\n\n\nw\n" | $SUDO fdisk "$LOOPDEV"
printf "o\nn\np\n1\n\n+256M\nt\n0c\nn\np\n\n\n\n\nw\n" | $SUDO fdisk "$LOOPDEV"
$SUDO mkfs.fat -F32 -v -I -n'BOOT' "${LOOPDEV}p1"
$SUDO mkfs.ext4 -F -O '^64bit' -L 'root' "${LOOPDEV}p2"
fi
Expand Down

0 comments on commit 0b35e91

Please sign in to comment.