From 71ac8e4223a5ab0afa69ac18967b7b4fc8c734bf Mon Sep 17 00:00:00 2001 From: Andreas Loibl Date: Thu, 29 Sep 2011 10:54:15 +0200 Subject: delete ISO9660 partition entry from MBR-partition-table --- isohybrid-acritox | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/isohybrid-acritox b/isohybrid-acritox index 0d1c6f9..440e756 100755 --- a/isohybrid-acritox +++ b/isohybrid-acritox @@ -141,6 +141,10 @@ $pentry = 2; seek(FILE, 430+16*$pentry, SEEK_SET) or die "$0: $file: $!\n"; print FILE pack("CCCCCCCCVV", 0x80, 0xfe, 0xff, 0xff, $fstype, 0xfe, 0xff, 0xff, $imgsize/512, $fatsize/512); +# Delete ISO9660 partition entry from MBR-partition-table +seek(FILE, 430+16*1, SEEK_SET) or die "$0: $file: $!\n"; +print FILE "\0" x 16; + $imgsize += $fatsize; # Done... -- cgit v1.0