I'm trying to create DVD-sized powerpc ISO images of Debian Woody. For
thes to be bootable, they need to be HFS hybrid disks. The command I'm
using to create the image is (apologies for wrapping):

sledge:/home/steve/debian/debian-cd# mkisofs -r --netatalk -hfs -probe
-map /home/steve/debian/debian-cd/data/hfs.map
-prep-bootinstall/prep/boot.bin -part -no-desktop -hfs-bless
CD1/install/powermac -hfs-volid Debian/PowerPC_woody -o
/foo/woody-cd/debian-30beta-powerpc-binary-1.iso
/mirror/debian-local/yacs/woody-powerpc/CD1

Using a current release of mkisofs from cdrtools 1.11a31 or 1.11a32
gives me:

...

Using LIBBO000.DEB;1 for 
/mirror/debian-local/yacs/woody-powerpc/CD1/main/libb/libbonobo/libbonobo2-dev_1.113.0-1_powerpc.deb
 (libbonobo2-0_1.113.0-1_powerpc.deb)
Using LIBBO001.DEB;1 for 
/mirror/debian-local/yacs/woody-powerpc/CD1/main/libb/libbonobo/libbonobo2-0_1.113.0-1_powerpc.deb
 (libbonobo2-common_1.113.0-1_powerpc.deb)
Using LIBZV000.DEB;1 for 
/mirror/debian-local/yacs/woody-powerpc/CD1/main/libz/libzvt/libzvt2-0_1.113.0-1_powerpc.deb
 (libzvt2-dev_1.113.0-1_powerpc.deb)
too many files for HFS volume
/usr/bin/mkisofs: Not a directory. no error

I've tracked this down to 32-bit overflow in get_adj_size() in
mkisofs/write.c. Changing this to use 64-bit arithmetic allows things
to get further, but still no cigar:

...

Using LIBBO001.DEB;1 for 
/mirror/debian-local/yacs/woody-powerpc/CD1/main/libb/libbonobo/libbonobo2-0_1.113.0-1_powerpc.deb
 (libbonobo2-common_1.113.0-1_powerpc.deb)
Using LIBZV000.DEB;1 for 
/mirror/debian-local/yacs/woody-powerpc/CD1/main/libz/libzvt/libzvt2-0_1.113.0-1_powerpc.deb
 (libzvt2-dev_1.113.0-1_powerpc.deb)
can't HFS format Debian/PowerPC_woody
/home/steve/debian/cdrtools-1.11.new/mkisofs/OBJ/i686-linux-cc/mkisofs: Input/output 
error. should not happen!

I've made further changes in hfs.c to hfs_format(), specifically
doubling hce->hfs_hdr_size. This allows the format to happen, but then
things then fail with 

...
Using LIBBO001.DEB;1 for 
/mirror/debian-local/yacs/woody-powerpc/CD1/main/libb/libbonobo/libbonobo2-0_1.113.0-1_powerpc.deb
 (libbonobo2-common_1.113.0-1_powerpc.deb)
Using LIBZV000.DEB;1 for 
/mirror/debian-local/yacs/woody-powerpc/CD1/main/libz/libzvt/libzvt2-0_1.113.0-1_powerpc.deb
 (libzvt2-dev_1.113.0-1_powerpc.deb)
can't HFS create file 
/mirror/debian-local/yacs/woody-powerpc/CD1/dists/woody/main/disks-powerpc/3.0.23-2002-05-21/doc/pt/install.pt.txt
/home/steve/debian/cdrtools-1.11.new/mkisofs/OBJ/i686-linux-cc/mkisofs: Success. 
Possible Catalog file overflow - please report error

I've no idea where to go from here. I've tried buggering with various
of the other fields in the format MDB structure, but that doesn't
help. I don't know enough about HFS to know what to look at
next. Help!

-- 
Steve McIntyre, Cambridge, UK.                                [EMAIL PROTECTED]
Support the Campaign for Audiovisual Free Expression: http://www.eff.org/cafe/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to