Skip to content
Permalink
Browse files

Merge pull request #2836 from tsoliman/partition-fix

image: really set boot partition to 256MiB
  • Loading branch information...
joolswills committed Sep 10, 2019
2 parents caaff0c + d8ffee6 commit e123dabb086e78a23f44828c33d06a41fe236019
Showing with 3 additions and 2 deletions.
  1. +3 −2 scriptmodules/admin/image.sh
@@ -218,9 +218,10 @@ function create_image() {
printMsgs "console" "partitioning $image ..."
parted -s "$image" -- \
mklabel msdos \
mkpart primary fat16 4 256 \
unit mib \
mkpart primary fat16 4 260 \
set 1 boot on \
mkpart primary 256 -1
mkpart primary 260 -1s

# format
printMsgs "console" "Formatting $image ..."

0 comments on commit e123dab

Please sign in to comment.
You can’t perform that action at this time.