summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-03-11 16:29:08 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-03-11 16:29:08 +0100
commitc70513f4a15cb7745cabaf7079055536dd422428 (patch)
tree7d33947b3670d926c7f88d95741ecc5221a079fe
parent7a9152c0ae2d26d1445f1dc20fc2cc708d2432c2 (diff)
downloadkanotix-c70513f4a15cb7745cabaf7079055536dd422428.zip
kanotix-c70513f4a15cb7745cabaf7079055536dd422428.tar.gz
isohybrid-acritox offset fix
-rwxr-xr-xisohybrid-acritox2
1 files changed, 1 insertions, 1 deletions
diff --git a/isohybrid-acritox b/isohybrid-acritox
index 159f855..3b2e817 100755
--- a/isohybrid-acritox
+++ b/isohybrid-acritox
@@ -254,7 +254,7 @@ print FIMG pack('H*',$mbr);
# Update GRUB2 locations
seek(FIMG, 0x5c, SEEK_SET) or die "$0: $file: $!\n";
print FIMG pack("V", $csf_pos_lba);
-seek(FIMG, $csf_pos + 0x3f4, SEEK_SET) or die "$0: $file: $!\n";
+seek(FIMG, $csf_pos + 0x1f4, SEEK_SET) or die "$0: $file: $!\n";
print FIMG pack("V", $csf_pos_lba+1);
# Write ApplePartitionMap entries
seek(FIMG, $bs*1, SEEK_SET) or die "$0: $file: $!\n";