From 856a5f653d6ec7afeceda5f10277ca320fd17725 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Fri, 24 Jan 2014 10:37:52 +0000 Subject: images: Double syslinux overhead to 256. mga#11795 --- images/make_boot_img | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/images/make_boot_img b/images/make_boot_img index 613affd9a..146f44220 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -234,7 +234,8 @@ sub boot_img_i386 { unlink $rdz; # mtools wants the image to be a power of 32 - my $size = max(ceil(chomp_(`du -s -k $tmp_mnt`) / 32) * 32 + 128, 1440); + my $syslinux_overhead = 32 * 8; + my $size = max(ceil(chomp_(`du -s -k $tmp_mnt`) / 32) * 32 + $syslinux_overhead, 1440); _ "dd if=/dev/zero of=$img bs=1k count=$size"; _ "/sbin/mkdosfs $img"; -- cgit v1.2.1