New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

need help using hidutil to make custom .iso files

Post Reply New Thread Subscribe

Thread Tools

Member Since: Sep 05, 2007
Posts: 1
OTAKUjbski is on a distinguished road

OTAKUjbski is offline
What I'm trying to accomplish:
I want to be able to load up my .sparseimage with all the files necessary on the disk, customize the background and layout of the Finder window (including using SetFile to hide some files) then convert the .sparseimage to an .iso file (with HFS, UDF & ISO file systems) for distribution and duplication.

This process works flawlessly, except that the HFS+ file system is not displaying the customized background graphic included in the HFS+ file system.
Problem summary:
.iso images created using hdiutil are not retaining their background picture.

Instead, the background only appears if the original disk image source (.dmg or .sparseimage) is present and mounted (i.e., the link in .DS_Store seems to be a symbolic link instead of a hard link).
Steps I'm taking:
  1. Create empty .dmg or .sparseimage (let's say "test.dmg" on the desktop)
  2. Mount the image
  3. Load necessary files into the mounted volume, including the background image file (let's name it "BG.png")
  4. In View Options for the image, set the background to Picture and Select the background image file (BG.png)
  5. Unmount the volume
  6. Open Terminal and run the command hdiutil makehybrid -o ~/Desktop/test.iso ~/Desktop/test.dmg
  7. Mount test.iso
    observe: background is white, even though BG.png is present on the volume
  8. Mount test.dmg
    observe: background is displaying BG.png image
  9. Close and reopen Finder window for test.iso volume
    observe: background is displaying BG.png (off of mounted .dmg volume)
  10. Eject test.dmg volume
  11. Close and reopen Finder windows for test.iso volume
    observe: background is white again
What am I doing wrong?

How do I do what I want to accomplish?
QUOTE Thanks

Post Reply New Thread Subscribe

« Common Lisp Development on the Mac | I need help with this command line using Terminal app »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
How do I play or burn these video files skullion Movies and Video 4 04-01-2005 11:56 PM
Help me with auto renaming files in Finder Strider OS X - Apps and Games 4 02-03-2005 10:33 AM
anyone know how to make .ram files on os x? anchovio Archival Forum 4 01-27-2005 03:14 AM
make and CDRecord plunger OS X - Development and Darwin 3 12-29-2003 05:49 PM
How do I make MPlayer the default player for .avi files? dotmac Switcher Hangout 9 08-11-2003 10:46 AM

All times are GMT -4. The time now is 04:49 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?