Skip to content

Commit

Permalink
Need more space
Browse files Browse the repository at this point in the history
  • Loading branch information
pguyot committed Dec 19, 2019
1 parent 9763045 commit c888ceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create-image
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ unzip -u "${rpi_zip}"

mv "$(ls *.img | head -n 1)" "${image}"

# Add 2.5G to the image size
dd if=/dev/zero bs=1M count=2560 >> "${image}"
# Add 3G to the image size
dd if=/dev/zero bs=1M count=3072 >> "${image}"

# Configure loopback device to expand partition 2
loopdev=$(losetup --find --show "${image}")
Expand Down

0 comments on commit c888ceb

Please sign in to comment.