summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2020-12-26 01:41:37 +0200
committerAndreas Kling <kling@serenityos.org>2020-12-27 23:07:44 +0100
commit0f208669af06bbbeeb66715074455227c6e8ecd4 (patch)
tree01e49069fb7263a8acc8ff328578b4ac92edab41
parent43d833d94f20509e342e016c903ca30c3f989f84 (diff)
downloadserenity-0f208669af06bbbeeb66715074455227c6e8ecd4.zip
Build: Fix build of grub image when choosing GPT scheme
-rwxr-xr-xMeta/build-image-grub.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/build-image-grub.sh b/Meta/build-image-grub.sh
index 0ccda7244b..f54bb1ebba 100755
--- a/Meta/build-image-grub.sh
+++ b/Meta/build-image-grub.sh
@@ -63,7 +63,7 @@ if [ "$1" = "mbr" ]; then
partition_number="p1"
partition_scheme="mbr"
elif [ "$1" = "gpt" ]; then
- parted -s "${dev}" mklabel gpt mkpart BIOSBOOT ext3 1MiB 8MiB mkpart OS ext2 8MiB 700MiB set 1 bios_grub || die "couldn't partition disk"
+ parted -s "${dev}" mklabel gpt mkpart BIOSBOOT ext3 1MiB 8MiB mkpart OS ext2 8MiB 290MiB set 1 bios_grub || die "couldn't partition disk"
partition_number="p2"
partition_scheme="gpt"
elif [ "$1" = "ebr" ]; then