Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacNoobGuy

macrumors 6502
Original poster
Apr 18, 2012
497
0
hey guys I'm running OSX Lion and i want to create a bootable USB drive.

could anyone tell me how to create a bootable USB drive in case something goes wrong with my Mac? i need an official link from Apple.

thank you!
 
Why do you need an official link when all the available guides just a proper www search away are just as helpful?

And do you want a bootable clone of your current OS X installation or do you want a bootable OS X installer? It is not really clear from your post.
 
For what it's worth, I've used Carbon Copy Cloner to create a bootable USB copy of my boot drive. I placed a sufficiently sized sata drive into an external USB enclosure, formatted it correctly, ran CCC and was able to boot from the external.

Is that what you're wanting to do?
 
hey guys I'm running OSX Lion and i want to create a bootable USB drive.

could anyone tell me how to create a bootable USB drive in case something goes wrong with my Mac? i need an official link from Apple.

thank you!

I see from your previous posts you have a 2011 Mac Mini. That machine's firmware has a function called Internet Recovery that will allow the machine to boot even with a new, blank hard drive installed. From this recovery screen you can redownload the OS from Apple onto the new drive. So you don't really need to have a USB key with the OS installer on it.

If it just makes you feel better to have the installer, you can grab it using this process, then use Lion Diskmaker and 8GB USB key to make a full installer.

Or, if you are using a local USB disk with Time Machine for backups, you can option key boot to that backup disk and do a full restore to a new, blank disk from there.
 
If it just makes you feel better to have the installer, you can grab it using this process
Do you have a link that doesn't require participation in some Google question & answer thingy?

Or, if you are using a local USB disk with Time Machine for backups, you can option key boot to that backup disk and do a full restore to a new, blank disk from there.
That's interesting. That would be for a restore, not a clean install, correct?
 
Do you have a link that doesn't require participation in some Google question & answer thingy?

Hmm... I never saw that question thingy before. I cleared my cookies, then it does pop up. Annoying. Below is the text of the article.

I've found a way to get a full Lion installer by capturing the installer files that the recovery partition downloads. This seems to work on my 2008 MBP machine with the App Store version of Lion installed on it, but it should be of particular interest to users of the new MacBook Airs and MacBook Pros which don't come with an install disk, but can't install the App Store version of Lion. By following this hint, it should be possible to get a full Lion install disk for those machines that won't require network access to install.

To avoid messing up your one and only good Lion installation, I recommend getting an external drive big enough to install Lion on. An external hard drive or separate partition is great. A large USB flash drive might work, but I haven't tried it.

As we all know, the Recovery HD lets you reinstall Lion by downloading it from Apple's servers. Unfortunately, it deletes itself after installation, so it doesn't give you a chance to make a boot disk that doesn't involve network access. However, it is possible to capture the installer and interrupt the install, so that it doesn't get a chance to delete itself.

Here's what to do:
Open the Terminal, and type this command to list all partitions on your hard drive or SSD:

diskutil list

Look for 'Recovery HD' in the list, and note its identifier. It will be something of the form diskXsY, where X and Y are numeric digits. (On my machine, it's disk0s3).
Type the following command to mount the recovery HD:

diskutil mount readOnly /dev/[identifier]

Replace [identifier] above with the identifier from step 2. So on my machine, I typed:

diskutil mount readOnly /dev/disk0s3

The disk image inside the recovery HD is invisible, so use the Terminal to mount that too:

hdiutil attach "/Volumes/Recovery HD/com.apple.recovery.boot/BaseSystem.dmg"

Now, from the newly mounted Mac OS X Base System image, double-click the 'Install Mac OS X' application at the root of the disk. Surprisingly, it launches, even when booted into a standard Mac OS X user account from the hard drive!

Go through the license agreement. Once it asks you for a disk to install on, choose the external drive or spare partition. (Or the boot partition if you're feeling gutsy. As long as you don't let the installer reboot, it shouldn't be able to install anything, but I like to err on the side of caution.)
Enter your admin password when prompted, and the installer will start downloading.

Open an old-style (non-autosaving) application that still uses the traditional Save, Save As..., etc. commands in the File menu (I used TextWrangler) and make a new unsaved document, and type a few things in it. This will give you a little insurance against the installer rebooting the system, since the app won't let the system reboot until you respond to its message asking whether you want to save the document or not.

The installer will start downloading some packages into a folder called Mac OS X Install Data on the root of the drive you're installing onto. Of the files it puts in there, the interesting item is a package with a funky name (on my system, it was 'mzm.stuhjljp.pkg'). It will be the file in the folder with the largest file size. Once the file finishes downloading, the installer will extract the InstallESD.dmg image from it and delete the package. This will be fine as long as you don't let the app restart your machine.

Wait for the download to finish. This will probably take a while, as it's a very large download.

Once the installer finishes download and prompts you to restart your Mac, force-quit it. Do this quickly, as it may automatically reboot for you after a timeout period (although if you've got an unsaved document open, you should be able to prevent that).

You should now have a file called InstallESD.dmg in the Mac OS X Install Data folder. You can burn this to a DVD, or image it to a USB flash drive to create a boot disk.


That's interesting. That would be for a restore, not a clean install, correct?

Yes, exactly.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.