From f8650bc2db0e87d9577f109bf92d6256ebafff0a Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 12 Jan 2021 15:01:50 -0600 Subject: [PATCH] jam/ArchitectureRules: Bump SDIMAGE_BEGIN to 2KiB * If we start at 0 we overwrite the partition table with the EFI boot filesystem Change-Id: I7d1d5d65cdaf78f3bd3b87672e1e8e161f78ce75 --- build/jam/ArchitectureRules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index e84fc1b59c..91569204d6 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -252,7 +252,7 @@ rule KernelArchitectureSetup architecture HAIKU_KERNEL_PLATFORM ?= efi ; HAIKU_BOOT_TARGETS += efi ; - HAIKU_BOOT_SDIMAGE_BEGIN = 0 ; # in KiB + HAIKU_BOOT_SDIMAGE_BEGIN = 2 ; # in KiB HAIKU_BOOT_FLOPPY_IMAGE_SIZE = 1440 ; # offset in floppy image (>= sizeof(haiku_loader)) @@ -277,7 +277,7 @@ rule KernelArchitectureSetup architecture HAIKU_KERNEL_PLATFORM ?= efi ; HAIKU_BOOT_TARGETS += efi ; - HAIKU_BOOT_SDIMAGE_BEGIN = 0 ; # KiB + HAIKU_BOOT_SDIMAGE_BEGIN = 2 ; # KiB HAIKU_BOOT_FLOPPY_IMAGE_SIZE = 1440 ; # offset in floppy image (>= sizeof(haiku_loader))