Page 1 of 1

hdiutil

Posted: Mon May 30, 2011 6:11 pm
by MDM
Greetings, I've recently upgraded my system, and in the process I lost mkisofs. Instead of going through the pain of finding another mac version/buidlling an out of date mac version, I've decided to switch to hdiutil. What I'm doing is

hdiutil makehybrid -o projectpath/build/CUBE.iso projectpath/build/bin -iso -eltorito-boot projectpath/bin/boot.img

While this produces an image that hdiutil claims is bootable, under virtualbox and qemu it doesn't boot (qemu complains of CDROM read error 000C).

Does anyone use hdiutil to create eltorito-boot images, or know how to do it correctly? Thanks for any help.

edit:

Would just like to say that boot.img is a real file that is 1.44 mbs.

Re: hdiutil

Posted: Mon May 30, 2011 7:09 pm
by Owen
I don't know what arguments hdiutil takes, but since there is no reason to believe anything contrary, I'm going to assume that the "-eltorito-boot" parameter specifies an image for use in a non-emulation boot. You're passing what I guess is a floppy image.

My guess is that CDROM read error 000C is "Bootloader too big" (Since 1.44MB won't fit in the real mode address space)

Also:

Code: Select all

Rei:F oshepherd$ port search dvdrtools
dvdrtools @0.2.1 (sysutils)
    a fork of cdrtools DVD writer support
MacPorts has it (though I expect the dvdrtools version to be called growisofs, its a better version of the same program)...

Re: hdiutil

Posted: Tue May 31, 2011 2:09 am
by MDM
Last I checked a 1.44 meg floppy image was required for emulation booting with eltorito. Thanks for the info on those tools, I'm going to check them out for sure!