Skip to content

Commit

Permalink
pi/common: increase boot partition to 1gb
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <christian@aperture.us>
  • Loading branch information
paralin committed Jul 17, 2023
1 parent 5ed8fbe commit e384d27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configs/pi/common/scripts/format_sd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ sudo parted $PI_SD mklabel msdos
sleep 1

echo "Making boot partition..."
sudo parted -a optimal $PI_SD -- mkpart primary fat16 0% 800MiB
sudo parted -a optimal $PI_SD -- mkpart primary fat16 0% 1G

echo "Making rootfs partition..."
sudo parted -a optimal $PI_SD -- mkpart primary ext4 800MiB 1G
sudo parted -a optimal $PI_SD -- mkpart primary ext4 1G 2G

echo "Making persist partition..."
sudo parted -a optimal $PI_SD -- mkpart primary ext4 1G "-1s"
sudo parted -a optimal $PI_SD -- mkpart primary ext4 2G "-1s"

echo "Waiting for partprobe..."
sudo partprobe $PI_SD || true
Expand Down

0 comments on commit e384d27

Please sign in to comment.