Go Back   MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 9, 2012, 11:37 PM   #1
ScottishDuck
macrumors 6502
 
Join Date: Feb 2010
Location: Argyll, Scotland
Post [GUIDE] Creating a **good** Mountain Lion USB

This method allows you to create a USB that allows for quick installation and clean installs.

This method will provide you with the "classic" OSX installer, with disk utility and whatnot available before starting the install. The installation will be a LOT faster.

*Download the installer from the app store.

*Right-click installer -> "Show Package Contents"



*Contents -> Shared Support -> InstallESD.dmg (open it/mount it)



*Open the terminal and copy this command:

Quote:
open /Volumes/Mac\ OS\ X\ Install\ ESD/BaseSystem.dmg


*Now open Diskutility and "restore" BaseSystem.dmg to your USB drive.

***PLEASE NOTE THIS REQUIRES YOUR USB HAS A GUID PARTITION TABLE***

[Changing partition table to GUID]




[Restoring the DMG]


*Now open your newly restored USB drive



*System -> Installation



*Delete the link called "Packages" and then create a new folder with the same name





*Open the terminal again and copy this to it:

Quote:
open /Volumes/Mac\ OS\ X\ Install\ ESD/Packages


*Copy everything in this folder to the "Packages" folder you created on your USB.





**Note this stage might take a while**



Hurray you now have a working installer!

[I'd appreciate a sticky if possible ]

Last edited by ScottishDuck; Jul 10, 2012 at 06:53 AM.
ScottishDuck is offline   11 Reply With Quote
Old Jul 9, 2012, 11:54 PM   #2
212rikanmofo
macrumors 6502a
 
Join Date: Jan 2003
I don't recall it being this many steps to create a bootable install for Lion. I followed the one here:

http://www.macworld.com/article/1165...ewer_macs.html

It only requires you to locate the installESD.dmg file and restore that to your usb drive using the disk utility.app

I had no problems performing a clean install doing it this way at all.
212rikanmofo is offline   4 Reply With Quote
Old Jul 9, 2012, 11:58 PM   #3
aleni
macrumors 68000
 
Join Date: Jun 2006
i found this guide is too many works while the casual guide is just simply restore the installESD to a flash disk.

care to explain?
__________________
easier to see my post.
aleni is offline   0 Reply With Quote
Old Jul 10, 2012, 12:01 AM   #4
212rikanmofo
macrumors 6502a
 
Join Date: Jan 2003
Quote:
Originally Posted by aleni View Post
i found this guide is too many works while the casual guide is just simply restore the installESD to a flash disk.

care to explain?
The guide I posted worked fine for me, and less steps. Not sure why there's so many steps in the OP's post.
212rikanmofo is offline   0 Reply With Quote
Old Jul 10, 2012, 12:28 AM   #5
otech
macrumors newbie
 
Join Date: Jul 2012
I think the emphasis might be on the **good**.

I found that if I were to only restore the InstallESD.dmg to a USB, it would actually seem to download most of the OS during install after the initial part - a few other people said the same.

I am hoping that this method actually ensures the packages are copied from the USB drive - which of course would make for a faster install.

Am trying it out now to confirm this - will post back if I don't notice a difference.
otech is offline   1 Reply With Quote
Old Jul 10, 2012, 01:45 AM   #6
otech
macrumors newbie
 
Join Date: Jul 2012
Well, its a little un-scientific as this method is the only one I tried on the GM - but it installed much quicker than the half dozen other installs I have done with DP's and the USB drive did not stop flashing the whole time.

Total time to install would have been 20 minutes (on an MBP 8,1 with non-apple SSD).

Previously installs would take anywhere up to an hour for me. Though I did repartition/align my SSD this time too..
otech is offline   1 Reply With Quote
Old Jul 10, 2012, 03:11 AM   #7
ScottishDuck
Thread Starter
macrumors 6502
 
Join Date: Feb 2010
Location: Argyll, Scotland
Quote:
Originally Posted by otech View Post
I think the emphasis might be on the **good**.

I found that if I were to only restore the InstallESD.dmg to a USB, it would actually seem to download most of the OS during install after the initial part - a few other people said the same.

I am hoping that this method actually ensures the packages are copied from the USB drive - which of course would make for a faster install.

Am trying it out now to confirm this - will post back if I don't notice a difference.
I'll try and explain how InstallESD.dmg does its thing:

*It will boot and ask for a drive to install on
*It will copy BaseSystem.dmg (what I use) to your drive and have your mac boot into that after the restart.
*It will then launch the installer my USB uses and install to your drive with that
*Finally it removes the BaseSystem.dmg from your drive and reboots

Also, as you state, if you look at the installer log it needlessly accesses the network (which I assume may allow it to patch in security updates?) and wastes time looking for packages which either don't exist or are already on the USB.

By doing things my way it removes a chunk of time from the install (copying Basesystem.dmg to your HDD and rebooting).

This is a much cleaner way of doing things.
ScottishDuck is offline   5 Reply With Quote
Old Jul 10, 2012, 04:42 AM   #8
Morien
macrumors member
 
Join Date: Oct 2010
I'm waiting on my first Mac to ship, and if it ships with Lion (likely), I will want to perform a clean install to ML. I haven't used OSX since 2001, so it will take me some playing around to get the hang of terminal and the os as a whole.
So, this guide, while I'm sure I can do it with a bit of patience, looks a bit advanced for me.

Will there be a utility released when ML reaches the app store that will do all of this for me? (with it as 'clean' as this guide would make it)
Morien is offline   0 Reply With Quote
Old Jul 10, 2012, 04:54 AM   #9
torana355
macrumors 65816
 
Join Date: Dec 2009
Location: Sydney, Australia
Quote:
Originally Posted by ScottishDuck View Post
I'll try and explain how InstallESD.dmg does its thing:

*It will boot and ask for a drive to install on
*It will copy BaseSystem.dmg (what I use) to your drive and have your mac boot into that after the restart.
*It will then launch the installer my USB uses and install to your drive with that
*Finally it removes the BaseSystem.dmg from your drive and reboots

Also, as you state, if you look at the installer log it needlessly accesses the network (which I assume may allow it to patch in security updates?) and wastes time looking for packages which either don't exist or are already on the USB.

By doing things my way it removes a chunk of time from the install (copying Basesystem.dmg to your HDD and rebooting).

This is a much cleaner way of doing things.
Exactly, this is how i made my Bootable usb stick for Lion aswell, much faster when it come to actually installing off it as ALL the data is on the USB not just a chunk of it.
torana355 is offline   2 Reply With Quote
Old Jul 10, 2012, 05:07 AM   #10
DerMario
macrumors member
 
Join Date: Jun 2012
Can someone explain how to make a bootable DVD? Would be great! Because I have just 4GB sticks
DerMario is offline   0 Reply With Quote
Old Jul 10, 2012, 06:51 AM   #11
ScottishDuck
Thread Starter
macrumors 6502
 
Join Date: Feb 2010
Location: Argyll, Scotland
Quote:
Originally Posted by DerMario View Post
Can someone explain how to make a bootable DVD? Would be great! Because I have just 4GB sticks
Basically you need to do this process but inside a disk image and then burn that disk image to DVD.

I'll make a guide later.
ScottishDuck is offline   0 Reply With Quote
Old Jul 10, 2012, 07:41 AM   #12
dilgit
macrumors regular
 
Join Date: Sep 2010
can't find...?

I downloaded GM, opened the dmg file, go to app>"view package contents", see some folders and files but can't find "Shared suport" folder or installESD.dmg file.
__________________
MacBook Pro 15" Retina - i7 2.6GHz/512GB SSD/8GB RAM
iMac 27" - i7 3.5GHz/32GB RAM/512GB SSD/780M 4GB
dilgit is offline   1 Reply With Quote
Old Jul 10, 2012, 08:49 AM   #13
xemino
Guest
 
Join Date: Aug 2009
hey, i tried using lion diskmaker, but it failed w/ "can't get real path for source"

this guide here does it the same way, only via the terminal, but copies some additional files:
https://sites.google.com/site/nozycz...tick-installer

Quote:
cp /Volumes/Mac\ OS\ X\ Install\ ESD/mach_kernel /Volumes/lionUSBinstaller/.
cp /Volumes/Mac\ OS\ X\ Install\ ESD/kernelcache /Volumes/lionUSBinstaller/.
cp /Volumes/Mac\ OS\ X\ Install\ ESD/boot.efi /Volumes/lionUSBinstaller/.
cp /Volumes/Mac\ OS\ X\ Install\ ESD/MacOSX_Media_Background.png /Volumes/lionUSBinstaller/.
cp /Volumes/Mac\ OS\ X\ Install\ ESD/.disk_label /Volumes/lionUSBinstaller/.

add
<key>Kernel Cache</key>
<string>\kernelcache</string>
to /Volumes/lionUSBinstaller/Library/Preferences/SystemConfiguration/com.apple.Boot.plist
what's your take on that?
and you might wanna re-host those images on ompldr.org
xemino is offline   0 Reply With Quote
Old Jul 10, 2012, 10:16 AM   #14
macmongral
macrumors member
 
Join Date: Jun 2011
Quote:
Originally Posted by dilgit View Post
I downloaded GM, opened the dmg file, go to app>"view package contents", see some folders and files but can't find "Shared suport" folder or installESD.dmg file.

its not a dmg file from the dev site its an app, so I am not surprised you are having trouble
macmongral is offline   1 Reply With Quote
Old Jul 10, 2012, 10:26 AM   #15
torana355
macrumors 65816
 
Join Date: Dec 2009
Location: Sydney, Australia
Quote:
Originally Posted by dilgit View Post
I downloaded GM, opened the dmg file, go to app>"view package contents", see some folders and files but can't find "Shared suport" folder or installESD.dmg file.
The dmg file you "downloaded off the app store" is the installESD.dmg file lol.
torana355 is offline   0 Reply With Quote
Old Jul 10, 2012, 10:32 AM   #16
absolutazn87
macrumors member
 
Join Date: Sep 2007
Location: New York, NY
Is it the same process for an SD card?
__________________
13'' Macbook Air, 1.7 Ghz Intel Core i5, 4GB RAM, 256GB SSD || 32GB iPhone 5 White/Silver on AT&T || 32GB iPad Mini White
absolutazn87 is offline   0 Reply With Quote
Old Jul 10, 2012, 02:32 PM   #17
tribaltek
macrumors newbie
 
Join Date: Jul 2011
Or just use the restore feature in disk utility. Two steps and done.
tribaltek is offline   -2 Reply With Quote
Old Jul 10, 2012, 02:34 PM   #18
Simplicated
macrumors 65816
 
Simplicated's Avatar
 
Join Date: Sep 2008
Location: Waterloo, ON
Quote:
Originally Posted by tribaltek View Post
Or just use the restore feature in disk utility. Two steps and done.
Did you even bother to read...? Here, I'll quote it for you.


Quote:
Originally Posted by ScottishDuck View Post
I'll try and explain how InstallESD.dmg does its thing:

*It will boot and ask for a drive to install on
*It will copy BaseSystem.dmg (what I use) to your drive and have your mac boot into that after the restart.
*It will then launch the installer my USB uses and install to your drive with that
*Finally it removes the BaseSystem.dmg from your drive and reboots

Also, as you state, if you look at the installer log it needlessly accesses the network (which I assume may allow it to patch in security updates?) and wastes time looking for packages which either don't exist or are already on the USB.

By doing things my way it removes a chunk of time from the install (copying Basesystem.dmg to your HDD and rebooting).

This is a much cleaner way of doing things.
__________________
Clarus says "Moof!"
Simplicated is offline   0 Reply With Quote
Old Jul 10, 2012, 02:37 PM   #19
xemino
Guest
 
Join Date: Aug 2009
hmm, just did everything you mentioned, deleted and recreated my 1 (visible) partition on my ssd.
the installer didn't create a recovery partition i restored my data w/ the migration assistant, but i don't think that could've triggered it, since that happens at the very end of the installation.
xemino is offline   0 Reply With Quote
Old Jul 10, 2012, 02:39 PM   #20
xgman
macrumors 68040
 
Join Date: Aug 2007
Quote:
Originally Posted by torana355 View Post
The dmg file you "downloaded off the app store" is the installESD.dmg file lol.
So how do you make the bootable usb drive with the "app"?
__________________
{2014 27" r-imac-4.0i7-295x-32gb ram-1TBSSD+External TB enclosure>Samsung840evo ssd + Segate Enterprise 5TB-UAD Apollo/Marantz/Amphion/Bowers&Wilkins Sound-Nektar P1 61}
{ipads}{iphones}{LG G3}
xgman is online now   1 Reply With Quote
Old Jul 10, 2012, 02:42 PM   #21
tribaltek
macrumors newbie
 
Join Date: Jul 2011
Quote:
Originally Posted by Simplicated View Post
Did you even bother to read...? Here, I'll quote it for you.
I did indeed. Using restore took one minute of actual work time. The rest was just time copying. *yawn*

The actual install process took about two minute of actual work time. Walked away, made some breakfast, and it was done when I got back in my office.

To each his own. Restore process is painfully simple and works fine.
tribaltek is offline   1 Reply With Quote
Old Jul 10, 2012, 06:35 PM   #22
Psilocin
macrumors member
 
Join Date: Jun 2012
Location: Chicago
Quote:
Originally Posted by ScottishDuck View Post
I'll try and explain how InstallESD.dmg does its thing:

*It will boot and ask for a drive to install on
*It will copy BaseSystem.dmg (what I use) to your drive and have your mac boot into that after the restart.
*It will then launch the installer my USB uses and install to your drive with that
*Finally it removes the BaseSystem.dmg from your drive and reboots

Also, as you state, if you look at the installer log it needlessly accesses the network (which I assume may allow it to patch in security updates?) and wastes time looking for packages which either don't exist or are already on the USB.

By doing things my way it removes a chunk of time from the install (copying Basesystem.dmg to your HDD and rebooting).

This is a much cleaner way of doing things.
Quote:
Originally Posted by torana355 View Post
Exactly, this is how i made my Bootable usb stick for Lion aswell, much faster when it come to actually installing off it as ALL the data is on the USB not just a chunk of it.
Forgive me for asking, but can either of you break down your "faster" method step by step even further for a mac noob like me? Would really appreciate it.
__________________
15" rMBP (2014), 2.3Ghz, 512 SSD
32GB iPad, Third Gen
Psilocin is offline   0 Reply With Quote
Old Jul 10, 2012, 07:00 PM   #23
jnl1211
macrumors 6502
 
Join Date: Jan 2011
Location: NWIndiana
Wow. Way more complicated and useless than just mounting InstallESD.dmg


It's just as **good**

----------

Quote:
Originally Posted by dilgit View Post
I downloaded GM, opened the dmg file, go to app>"view package contents", see some folders and files but can't find "Shared suport" folder or installESD.dmg file.
Quote:
Originally Posted by macmongral View Post
its not a dmg file from the dev site its an app, so I am not surprised you are having trouble
haha, that's because he didn't get it from there. He's running a dmg that was a torrent someone uploaded
__________________
KCCO
jnl1211 is offline   0 Reply With Quote
Old Jul 10, 2012, 08:37 PM   #24
ppnkg
macrumors 6502a
 
Join Date: Jul 2005
Location: UK
May I actually thank the OP for taking the time to post a detailed guide here for those looking for such a guide?

So: thank you ScottishDuck, and I hope you'll be able to post a guide for creating a DVD too
ppnkg is offline   1 Reply With Quote
Old Jul 10, 2012, 08:44 PM   #25
torana355
macrumors 65816
 
Join Date: Dec 2009
Location: Sydney, Australia
Quote:
Originally Posted by xemino View Post
hmm, just did everything you mentioned, deleted and recreated my 1 (visible) partition on my ssd.
the installer didn't create a recovery partition i restored my data w/ the migration assistant, but i don't think that could've triggered it, since that happens at the very end of the installation.
That is correct this process does not create that useless recovery partition. You don't need it with your new 10.8 usb bootdisk
torana355 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > OS X 10.8 Mountain Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Questions on creating a bootable USB Drive of a Mountain Lion OS X 10. MacOSX10 OS X 10.8 Mountain Lion 3 Aug 7, 2013 05:00 PM
Error while creating a Mountain Lion USB Key Roc P. OS X 10.8 Mountain Lion 21 Jul 26, 2013 09:18 PM
Mountain Lion - Security Configuration Guide? RubyRoses OS X 10.8 Mountain Lion 8 Jan 5, 2013 07:29 AM
Guide to mount Mountain lion on osx mrhaxor OS X 10.8 Mountain Lion 3 Sep 5, 2012 05:52 AM
Creating botable mountain lion usb on Windows LunaMacNoob iMac 2 Aug 24, 2012 04:27 AM

Forum Jump

All times are GMT -5. The time now is 02:08 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC