hdiutil

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
MDM
Member
Member
Posts: 57
Joined: Wed Jul 21, 2010 9:05 pm

hdiutil

Post 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.
User avatar
Owen
Member
Member
Posts: 1700
Joined: Fri Jun 13, 2008 3:21 pm
Location: Cambridge, United Kingdom
Contact:

Re: hdiutil

Post 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)...
User avatar
MDM
Member
Member
Posts: 57
Joined: Wed Jul 21, 2010 9:05 pm

Re: hdiutil

Post 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!
Post Reply