diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-03-11 16:29:08 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-03-11 16:29:08 +0100 |
commit | c70513f4a15cb7745cabaf7079055536dd422428 (patch) | |
tree | 7d33947b3670d926c7f88d95741ecc5221a079fe /isohybrid-acritox | |
parent | 7a9152c0ae2d26d1445f1dc20fc2cc708d2432c2 (diff) | |
download | kanotix-c70513f4a15cb7745cabaf7079055536dd422428.zip kanotix-c70513f4a15cb7745cabaf7079055536dd422428.tar.gz |
isohybrid-acritox offset fix
Diffstat (limited to 'isohybrid-acritox')
-rwxr-xr-x | isohybrid-acritox | 2 |
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"; |