I've found 2 methods but I've not tested either. The second method is reported to work well, but as before, I've not tested it
The Lion DMG (disk image) is in the SharedSupport folder; the file is called InstallESD.dmg
Copy and Paste
You'lll want to use the Mavericks not Lion, that is unless you want a Lion Bootable Installer.
If you want to make it easy, go to http://liondiskmaker.com and download DiskMakerX. (DiskMakerX is formally known as LionDiskMaker.
# 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
This works!
Just burn the resulting Mavericks.iso file to a dual layer DVD with Disk Utility.
Complicated - but I now have a bootable installer for mavericks on DVD.
Except that it does not install a recovery partition.
There are several methods available to manually create one, but the easiest is to download and uncompress https://dl.dropboxusercontent.com/u/13872235/Musings/Recovery Partition Creator 3.7.zip and run the script file.
Just make sure you still have the Install OS X Mavericks.app file. If not, redownload from the Purchases tab in the Mac App Store.
'Fixed the Lion/Mavericks oversight.
DiskMaker X won't make an image burnabale to DVD-DL iso .
Also, diskMaker X doesn't always create a bootable USB drive. It's failed on me several times and I've had to make mine using terminal commands.
'
OK, not sure if I missed that part. I thought you wanted to make a bootable USB.
LionDiskMaker aka DiskMakerX worked for me, however my USB Thumbdrive is slow as heck.
This works!
Just burn the resulting Mavericks.iso file to a dual layer DVD with Disk Utility.
Complicated - but I now have a bootable installer for mavericks on DVD.
Except that it does not install a recovery partition.
There are several methods available to manually create one, but the easiest is to download and uncompress https://dl.dropboxusercontent.com/u/13872235/Musings/Recovery Partition Creator 3.7.zip and run the script file.
I've found 2 methods but I've not tested either. The second method is reported to work well, but as before, I've not tested it
Right-click on the Mavericks download file, and select "Show Package Contents" from the pop-up menu.
Expand the Content folder in the new Finder windows
Open the SharedSupport folder.
The Lion Mavericks (disk image) is in the SharedSupport folder; the file is called InstallESD.dmg
Right-click the InstallESD.dmg file, and select "Copy" from the pop-up menu.
Right-click in a blank area of the desktop, and select "Paste Item" from the pop-up menu.
Launch Disk Utility, located at /Applications/Utilities.
Click the Burn button in the Disk Utility window.
Select the file you copied to your desktop as the image to burn, then click the Burn button.
Pop a blank DVD-DL into your Mac's optical drive and click the Burn button again.
The resulting DVD will be a bootable copy of OS X Mavericks.
Can this work with a flash drive? I can't find a dual layer DVD anywhere and all my DVD+Rs don't have nearly enough storage.