or Connect
AppleInsider › Forums › Software › Mac OS X › HOWTO: Create bootable Mavericks ISO
New Posts  All Forums:Forum Nav:

HOWTO: Create bootable Mavericks ISO

post #1 of 12
Thread Starter 

I've found a number of websites with instructions on creating a bootable USB for installing Mavericks, but an ISO is much more useful in my ESXi environment. Of course there's a 101+ ways to do this, the only requirement for this solution is a command line. You'll of course need to adjust the paths if necessary/desired.

 

# Mount the installer image
hdiutil attach /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

# Convert the boot image to a sparse bundle
hdiutil convert /Volumes/install_app/BaseSystem.dmg -format UDSP -o /tmp/Mavericks

# Increase the sparse bundle capacity to accommodate the packages
hdiutil resize -size 8g /tmp/Mavericks.sparseimage

# Mount the sparse bundle for package addition
hdiutil attach /tmp/Mavericks.sparseimage -noverify -nobrowse -mountpoint /Volumes/install_build

# Remove Package link and replace with actual files
rm /Volumes/install_build/System/Installation/Packages
cp -rp /Volumes/install_app/Packages /Volumes/install_build/System/Installation/

# Unmount the installer image
hdiutil detach /Volumes/install_app

# Unmount the sparse bundle
hdiutil detach /Volumes/install_build

# Resize the partition in the sparse bundle to remove any free space
hdiutil resize -size `hdiutil resize -limits /tmp/Mavericks.sparseimage | tail -n 1 | awk '{ print $1 }'`b /tmp/Mavericks.sparseimage

# Convert the sparse bundle to ISO/CD master
hdiutil convert /tmp/Mavericks.sparseimage -format UDTO -o /tmp/Mavericks

# Remove the sparse bundle
rm /tmp/Mavericks.sparseimage

# Rename the ISO and move it to the desktop
mv /tmp/Mavericks.cdr ~/Desktop/Mavericks.iso

 

I take no responsibility if it blows up your machine (or worse yet installs Windows). The comments and some man'ing should explain it all. Hopefully it'll save someone some time.

 

Enjoy!

post #2 of 12

Thanks.

Very good script.

 

Marko

post #3 of 12

Seriously, how do you learn to do this stuff, oh I know, by getting sick of fixing Windows machines…I like to blow them up for fun, got a script for that. J/K Thank you so much, I could have never down it on my own, and while i do not really need it, I am learning ESXi and VSphere now, and presently just wanted a way to set this up in Fusion for a preview. I did it by updating a Mountain Lion .vmdk through the app store, which did work, but what fun is that!! Any hints on how to get the VMware tools to work, they seem not to be updated for Mavericks, I am running Fusion 6, it says that its is supported.

post #4 of 12

I followed the instructions, and the ISO was created successfully. However, when I select any of my 2 drives to install Mavericks - both are Mac OS Journaled - I click the Install button and it simply takes no action...

 

Any help?

 

Thanks in advance.

post #5 of 12

Thanks for posting the script !  Great work !!  I am not able to boot from the iso created however.   Same as you I run VMware ESXi in my environment and currently using 5.5 in my home office.   When I create my new VM using this ISO as the cd image it hangs on the grey screen with apple logo in the middle while the beach ball perpetually spins until I halt it manually by shutting down the VM.   Never had an issue like this before, EVER with an iso and my current Apple OS X VM was created on and running in Fusion.   Fusion created VM's cannot simply be transferred over and run in ESXi platform.   Thats the reason I was creating a new bootable Mavericks .iso in order to create an updated VM as well as run on my ESXi server recently completed for home office use.

 

  I copied and pasted your commands only changing the first one to match the path of my Downloads directory where I held a copy of the Install .app.

 

  Any idea how to convert Fusion created Mac OS X VM to ESXi ??  It only complains about reading the virtual disk files if you changed/fixed hardware, NIC Network etc up front.

 

Dave

CCIE #6746 

VCP 5

post #6 of 12

Dave, I too am getting the same issue.  Have you been able to resolve?  Have you or anyone else on this thread been able to resolve?

 

Thanks,

 

Gio

post #7 of 12

I remember getting something similar back on 10.7 and it involved changing the CPUID in the .vmx.  Not sure if that is the issue or what to change the values to.

 

Quote:

Originally Posted by ccie6746 View Post
 

Same as you I run VMware ESXi in my environment and currently using 5.5 in my home office.   When I create my new VM using this ISO as the cd image it hangs on the grey screen with apple logo in the middle while the beach ball perpetually spins until I halt it manually by shutting down the VM.  

post #8 of 12

The reason I think it has to do with the CPUID is that these are the last entries in my VMware log. I am running two ESXi 5.5 hosts. This one happens to be an older Dell desktop that I use for development.  Core 2 (Clovertown).  I have another host running on an Intel i5 3rd gen.  Pretty sure I will get the same issue, but will give it a go.

 

Quote:
 ~~~~2013-11-16T06:28:52.448Z| vmx| I120: FeatureCompat: EVC masks: 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID vendor: GenuineIntel 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID family: 0x6 model: 0xf stepping: 0x6 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID codename: Clovertown (Core) 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID name: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000000, 0: 0x0000000a 0x756e6547 0x6c65746e 0x49656e69 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000001, 0: 0x000006f6 0x00020800 0x0000e3bd 0xbfebfbff 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000002, 0: 0x05b0b101 0x005657f0 0x00000000 0x2cb43049 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000003, 0: 0x00000000 0x00000000 0x00000000 0x00000000 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000004, 0: 0x04000121 0x01c0003f 0x0000003f 0x00000001 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000004, 1: 0x04000122 0x01c0003f 0x0000003f 0x00000001 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000004, 2: 0x04004143 0x03c0003f 0x00000fff 0x00000001 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000004, 3: 0x00000000 0x00000000 0x00000000 0x00000000 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000005, 0: 0x00000040 0x00000040 0x00000003 0x00000020 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000006, 0: 0x00000001 0x00000002 0x00000001 0x00000000 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000007, 0: 0x00000000 0x00000000 0x00000000 0x00000000 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000008, 0: 0x00000400 0x00000000 0x00000000 0x00000000 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 00000009, 0: 0x00000000 0x00000000 0x00000000 0x00000000 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 0000000a, 0: 0x07280202 0x00000000 0x00000000 0x00000000 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 80000000, 0: 0x80000008 0x00000000 0x00000000 0x00000000 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 80000001, 0: 0x00000000 0x00000000 0x00000001 0x20100800 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 80000002, 0: 0x65746e49 0x2952286c 0x726f4320 0x4d542865 2013-11-16T06:28:52.448Z| vmx| I120: hostCPUID level 80000003, 0: 0x43203229 0x20205550 0x20202020 0x20202020
post #9 of 12

Has anyone had any luck with this? I'm experiencing the same grey-screen on boot of the Mavericks ISO/DMG- this is a fresh ESXi 5.5 install on a Core 2 Duo Host. 

post #10 of 12

Thanks!!!

post #11 of 12

I get this error, or is it an error?  It seemed to make a bootable disk even with this "error".  Any help?

 

users-MacBook-Air:~ user$ hdiutil attach /Applications/Install\ OS\ X\ Mavericks.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_app

hdiutil: attach failed - No such file or directory

users-MacBook-Air:~ user$

post #12 of 12

hey thanks! this works like charm

New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Mac OS X
AppleInsider › Forums › Software › Mac OS X › HOWTO: Create bootable Mavericks ISO