Skip to content

Commit

Permalink
Merge pull request #2836 from tsoliman/partition-fix
Browse files Browse the repository at this point in the history
image: really set boot partition to 256MiB
  • Loading branch information
joolswills committed Sep 10, 2019
2 parents caaff0c + d8ffee6 commit e123dab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scriptmodules/admin/image.sh
Expand Up @@ -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 ..."
Expand Down

0 comments on commit e123dab

Please sign in to comment.