aboutsummaryrefslogtreecommitdiffstats
path: root/mbr/checksize.pl
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-21 15:36:50 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-21 15:36:50 -0700
commite462c28ffaca0132c1761736bc93cb06a41dc7a6 (patch)
tree24edb9f85175bdd6cc30bf270f3e59571bca71ae /mbr/checksize.pl
parentd4d9f190900d31b5e9428401a0175012957d7cb7 (diff)
downloadsyslinux.git-e462c28ffaca0132c1761736bc93cb06a41dc7a6.tar.gz
syslinux.git-e462c28ffaca0132c1761736bc93cb06a41dc7a6.tar.xz
syslinux.git-e462c28ffaca0132c1761736bc93cb06a41dc7a6.zip
isohybrid: support booting from partition; fix CBIOS booting
Fix CBIOS in isohybrid mode. Also allow an isohybrid image to be booted from a partition. Unfortunately this breaks compatibility between differing versions of isohybrid and isolinux.bin. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'mbr/checksize.pl')
-rwxr-xr-xmbr/checksize.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbr/checksize.pl b/mbr/checksize.pl
index 4648c95c..7d61bdfd 100755
--- a/mbr/checksize.pl
+++ b/mbr/checksize.pl
@@ -27,7 +27,7 @@ if (!defined($maxsize)) {
$maxsize = $padsize = 440;
} elsif ($file =~ /^gptmbr[^0-9a-z]/) {
$maxsize = $padsize = 424;
- } elsif ($file =~ /^isohdpfx[^0-9a-z]/) {
+ } elsif ($file =~ /^isohdp[fp]x[^0-9a-z]/) {
$maxsize = $padsize = 432;
} elsif ($file =~ /^altmbr[^0-9a-z]/) {
$maxsize = 439; $padsize = 440;