31 August 2010

Make a Mac OS X Installer USB

It's raining hard (typhoon Glenda is raging outside, I can see it through the office windows) and we all can't go out into the streets and commute home. I'll use this time to update this How-To Guide. Good thing I still have the screenshots available.

What You Need:
  1. External USB hard drive/flashdrive "USB drive" - 8 gigs or more
  2. Lizard application
  3. Latest Retail Pack for the HP Mini 311 - currently Retail Pack 0.9
  4. Image of Snow Leopard Mac OS X Retail DVD
  5. A working Mac or hackintosh
What To Do: 

  1. Launch Disk Utility and format your USB drive - my personal preference is GPT/HFS Extended Journaled
  2. Use the "Restore" function of Disk Utility to restore the Snow Leo Retail DVD onto your USB drive - make sure you have previously scanned the image (.dmg or .ISO file) for restore, just locate the image file at the list on the left panel and access Disk Utility's File > "Scan image for restore" function.                                                      
  3. Or, use Carbon Copy Cloner. Be sure your Mac OS X DVD image is mounted first. (replace that "DanPro" with the DVD image and "DanProMirror" with your USB drive -I  forgot the screenshot)                                                     
  4. Once the restore or cloning is completed, launch Lizard. Click on "Install and Update".
  5. Choose your USB drive from the list of drives - I suggest that you limit the mounted drives to 2 or 3 so you won't get confused. I named my USB "SnowDVD" as you can see: 
  6. Then at the bottom part of the window, click on "Select folder" button. Point Lizard to the "Bootloader" folder inside Retail Pack 0.9. Click on "Install" button. 
  7. Once that's done, copy the entire "Extra" folder from Retail Pack 0.9 onto the root of your USB drive. 
And it's ready for use with your Mini 311. This can be used to:

A. Install Mac OS X on the Mini 311 (fresh installation)
  1. Use the Installer USB to boot up your HP Mini 311. It will automatically boot into the OS X Installer program. 
  2. Format you drive as GPT > HFS + Journaled. Name your drive for ex. "Macintosh HD". OS X Installer may say that Installation has failed. Don't worry; this is normal. Restart your computer.
  3. Boot up your Mini 311 again with the same USB Installer and as Chameleon loads, press F8 and you'll be presented with a list of bootable volumes.
  4. Just choose the "Macintosh HD" drive icon in the Chameleon boot menu via arrow keys. Press Enter key to boot your selection.
  5. Configure your User Account and once you're in your Desktop, 
  6. Install the Mac OS X 10.6.4 Combo Updater. Do not restart yet.
  7. Install HPM311DP HF6 Installer.pkg to set up EFI on the hard disk, thus letting the Mini 311 boot on its own without the need for the USB Installer. 
  8. Restart the computer for changes to be applied.
B. Boot an existing Mac OS X install on the Mini 311 (if and when you sabotaged your EFI setup)
*Just do steps 3 - 8 (skipping step 6, of course, if you've already updated) of letter A above.
    And, in theory, it should work with Snow Leo Retail DVD's upto 10.6.4 10.6.6 just fine (Retail Pack 0.9 on a Mac OS X USB Installer). It's practically the same stuff (kexts and all) in the Extra folder.

    Well what do you know? It stopped raining! I can go home now, bye!!

    41 comments:

    Unknown said...

    Man, I really want to get OSX running on my Mini, but I only have Windows computers available. Anything you can recommend?

    Quactaur said...

    @Chris:

    If you search on google there are a number of ways of virtualising snow leopard (provided your windows machine is upto spec; you'll need a core 2 at the least I think).

    A virtualised SL isn't particularly useful on its own (and on a machine as low spec as a 311 worthless, but should be enough to carry out any prep work.

    Quactaur said...

    p.s. LeMaurien19: First time posting on your blog but it is both what convinced me to get a mini 311c and provided some of the best help imaginable!

    I'm just going through this new USB guide of yours because I managed to kill my existing installation by trying to install the RC5 of chameleon.

    Do you have any tips on how to do this without killing my system, or is it not possible for an amateur until you or another on the insanelymac forums releases a new retail pack?

    LeMaurien19 said...

    As a short answer, no. Just wait for the project release.

    But I'd like you to really have an idea of how this works. Let me explain it to you.

    The Chameleon version that the HP Mini 311 uses is customized for netbooks with the Atom CPU. It contains this specific code that fools OS X into thinking it's a valid CPU (now this CPU "checking" done by OS X actually came with the release of 10.6.2).

    I'm quite positive that the RC5 Chameleon you're trying to test is of a more general flavor; does not include kernel patching (to fool OS X that we're using a valid CPU).

    But, if you really must try RC5 for whatever reason you have, you can google up teapot's modded mach_kernel. If you don't know how to swap this modded kernel with the default one in the system, maybe you need some more research and reading. ;-)

    But anyway, that's the basic idea.

    Paul said...

    Hi,
    The problem I have with Lizard is that it can't see the USB flash drive after I restored the SL Install DVD onto it. GPT, HFS+ (Journaled), restored with DiskUtil, mounted.
    Lizard only sees the internal hard disk on my Macbook Pro, along with my filevault mounted volume. No USB Flash drives are visible (I tried several). What am I doing wrong?

    Huge said...

    Anybody knows if this works on 1116nr? Or should I use the ''deprecated'' guide?

    Thanks

    Paul said...

    Oh, and one more thing. Assuming I get this flash method working, the DVD installer I have used for creating the flash drive is for 10.6.0. So if I upgrade to 10.6.4 after the flash method installation, do I have to do anything to reinstall the bootloaders or any kexts? Thanks.

    Paul said...

    Just like magic, the USB drive showed up in Lizard just now. I didn't do anything different since last night. Not even a reboot!

    LeMaurien19 said...

    @Paul
    Actually, in #5, when I said "confusion", this "drive not showing bug" is part of that. ;-)

    Paul said...

    I see.

    Repeat of a question:
    Assuming I get this flash method working, the DVD installer I have used for creating the flash drive is for 10.6.0. So if I upgrade to 10.6.4 after the flash method installation, do I have to do anything to reinstall the bootloaders or any kexts?

    And how do I do this thing that you mentioned above:
    "Boot an existing Mac OS X install on the Mini 311 (if and when you sabotaged your EFI setup)"
    It boots directly into the installer, so I don't see how you use it to boot an existing corrupted install.

    Thanks!

    LeMaurien19 said...

    @Paul
    The "Extra" folder's contents are 10.6.4 compatible. You can use Mac OS X Retail DVD from 10.6 - 10.6.4 with this. It is also the same Extra folder that is installed with the project release "HPM311DP_063010HF6RC4.pkg" or simply "HF6RC4".

    So, I assume that by "having to do anything" else, I assume that you're referring to making your HP Mini 311's internal drive (with OS X installed and updated to 10.6.4) to be able to boot on its own. So the answer to that is install HF6RC4 (the link is in the older Snow Leo Installation Optical Drive method - sorry I haven't included that part of the installation in this post).

    Press F8 as Chameleon starts. It will give you a list of volumes it recognizes. Use arrow keys to select which installation and press Enter to boot your selection.

    Paul said...

    Thanks for updating the guide. I have everything running fine now under 10.6.4. I've ordered an Atheros 1/2 card 802.11a/b/g/n + BT, and am using a Linksys WUSB600N with drivers from Ralinktech.com in the meantime.

    One minor problem: There is no way to adjust the trackpad sensitivity and turn tap-click off. The Synaptics prefpane doesn't do anything. The VoodooPS2 prefpane complains about a missing ApplePS2touchpad file. I've read that the mini 311 has an ALPS trackpad, not a Synaptics. Is there any solution in sight? Thanks.

    It is impossible to do a lot of typing with the trackpad as is. The slightest close pass causes the curser to jump and select a bunch of text. The next keystroke wipes out the selected text if you don't stop in time. I'm thinking of putting a piece of tape across the touch pad to decrease its sensitivity. Thanks.

    alex aesthetics said...

    @Paul im wondering exactly the same thing as u. the "tap to click" option is incredibly annoying. i suspect it would have sumthing to do w/turning of the mini 311's multitouch. a real fast google brought up ways to disable mutlitouch via ubuntu, but couldn't find anything useful for os x 10.6 on hp mini 311.

    =/

    Danial Qureshi said...

    Hi there was a question I wanted to ask I've already done every step up to using Lizard and downloading HP Mini Retail Pack 0.9 my main problem is when I'm telling Lizard to look in the i386 file from the HP Retail Pack 0.9 for the Chameleon files it states that all the bootloader's files are missing. I've rebooted and taken out the Snow Leopard flash drive and have attempted to get it to work for the past day and can't seem to get any further. If anybody would be willing to assist me I would greatly appreciate it.

    LeMaurien19 said...

    @Danial
    You're going in too deep in the folder. Just point Lizard to the Bootloader folder in Retail Pack 0.0 as indicated in the guide. See #6.

    "Point Lizard to the "Bootloader" folder inside Retail Pack 0.9."

    In this case, you gotta follow the steps to a T.

    Unknown said...

    Thanks for the great guide, man!
    I've stumbled over several problems, though.
    First, Lizard is kinda picky on the combination of the machine you're trying to run it on and a usb drive. As people said, sometimes the necessary drive just doesn't show up in the lizard list.
    Second, and this is the most troubling one– for some reason i always get one of the cpu's "kernels" loaded at 100%, according to the iStat menus. Kernel_task eats up the entire virtual kernel of Atom270. Or did I just missed some part during/post the installation?

    Anonymous said...

    Thanks for a very clear guide.

    However, I just tried following it on my Mini 311c-1101SA (currently running XP) and I have a problem. After creating the SL USB installer, I reboot my Mini ang get the Chameleon boot screen, then select Max OS X install. Then I get a kernel panic screen. Any ideas what might be causing this?

    Could it be my BIOS (I'm on the latest officical firmware v. F.16)? Or could it be my USB stick (A 16GB sandisk cruzer)?

    Anonymous said...

    Sorry, I always hate it when people needlessly post comments but...

    I tried making the USB installer again and it worked this time! I must have missed a step out the first time as I haven't changed BIOS or USB stick.

    My current problem is getting XP to dual boot. I'm following your other guide on this, but finding that XP won't install properly. This may be because I don't have a retail install disk, but instead created a USB installer using the files in the I386 folder found on the Mini's C drive. Will keep plugging away though.

    Anonymous said...

    Can you use the install media that comes with your mac, or do you need to purchase a new box set?

    Also, how is the performance of your Mini 311 with OSX?

    I am thinking about updating my Mini 311 and want to know if it's worth it. I currently share time on my wifes MBP.

    Brian said...

    Looking for some help...

    Can you use the install media that comes with your mac, or do you need to purchase a new box set?

    Also, how is the performance of your Mini 311 with OSX?

    I am thinking about updating my Mini 311 and want to know if it's worth it. I currently share time on my wifes MBP.

    LeMaurien19 said...

    Nope, you gotta use a Retail Mac OS X DVD Installer.

    Aram said...

    Hi I was planning to install mac OSX 10.6.0 on my Mini 210, is this guide applicable to my model?

    LeMaurien19 said...

    @Aram
    You can use this guide BUT you'll need to find the appropriate Extra folder elements - kexts, and plists, etc. - that are Mini 210 compatible.

    After installing, then you'll see what works and what doesn't.

    Hackintosh is no guarantees :)

    M said...

    Hey @LeMaurien19,
    I decided to re-install OSX on my HP Mini 311 and was going about this installer to make a new USB Installer. When the system booted from the USB it gave me a notification that 'Mac OS X can't be installed on this computer' error. What should I do to get rid of it so I can continue my installation?

    -mikehartung

    LeMaurien19 said...

    @LinuxMaster
    Did you first reformat your Mini 311's internal hard drive?

    Launch Disk Utility first and then reformat your HD as Extended Journaled OS X - GUID partition table.

    You can access Disk Utility from the installation program via menubar > Utilities > Disk Utility.

    Victor said...

    Thanks for the guide.
    Install 10.6.2 with Retail Pack 0.9 (1.1a and 2.0 doesn't work) and HPM311DP+HF7. After install 10.6.4 and update to 10.6.6 no problems/KP (European Compaq 311c-1150SD). Only I missing the scroll on my trackpad after installing 10.6.4. Stock WiFi works with Atheros AR9285 fix (only installing the IO80211Family.kext) after AirPort update.
    Do you've a solution for the scroll?

    Anonymous said...

    Hi

    I just downloaded Lizard but is for intel only. Anyway to prepare the USB with a PowerPC Computer?

    I wait u can giveme some clue.

    Congrats for you great work

    PD: i apologize about my english.

    LeMaurien19 said...

    ^You can install Chameleon manually:
    The trick is to know how to determine what the name of your USB stick is - disk1s0, disk1s1, disk2s0, etc..

    Here's a guide from InsanelyMac.

    Wilfredo PatiƱo G. said...

    Thumbs Up for you LeMaurien19! I've just finished installing for the first time leopard in my mini 311 with the usb method and everything went without any trouble. You are simply a GENIUS!!! So thanks for sharing all this info and experience. Regards from Bolivia.

    Onetidd said...

    Hello, i wonder to install it on my 210 mini, but i don't have any extra folder or other, can you help me plz? i'm very sad because i don't find anything for this.

    Anonymous said...

    T.T
    plz tell me touch pad off function.
    touch pad is very sensitive.

    Anonymous said...

    Hello,

    After following this guide I have 10.6.4 up and running on my Mini 311. The problem is that i dont have a extra folder at /Extra. Am i doing something wrong? I have tried to find it via Terminal and finder but no luck. I want to upgrade to 10.6.8 but as i dont have a /extra folder i dont know how. Please help.

    Great guide otherwise!

    Sebastian said...

    Hi,
    The problem I have with Lizard is that it can't see the USB flash drive after I restored the SL Install DVD onto it. GPT, HFS+ (Journaled), restored with DiskUtil, mounted.
    Lizard does not show the install and update section hen i launch it (using OSX 10.7.2 Lion). Lizard opens up and everything, but when I click on the install and update button, the application does not do anything. What am I doing wrong?

    Will said...
    This comment has been removed by the author.
    Anonymous said...

    Victor - how did you get the stock wifi to work with the "Atheros AR9285 fix". Can you give a description of what you did to make it work?

    Thanks!

    Raven said...

    Hello!
    I have a problem with Lizard I click on "Start and Update" and nothing happens, the screen doesn't changes. Do I have to setup something else first?
    I got it from the links above (ver 0.62 B)

    Thanks in advance!

    Bobby said...

    Run a sudo chmod -R 777 command from the terminal on the drive and then it will show up. I had the same issue and that fixed it.

    Anonymous said...

    un a sudo chmod -R 777 command from the terminal on the drive and then it will show up. I had the same issue and that fixed it.

    what exactly i must to type :

    sudo chmod -R 777 /dev/diskx or disks1 or diskx2 ??

    thanks for your help

    Manissa

    chundi said...

    I have the problem that i click on "Install and Update" and nothing happens, i run the command sudo chmod -R 777 on the USB and i click on Install and Update and nothing happens, any help!!!!!
    Than you!

    Anonymous said...

    lizard- same problem as everyone else. it does not show the screen in the picture.

    Anonymous said...

    sorry but your gude does not work for me. i ran lizard and do not get the screen you used. No explaination on how to use Lizard. Back to square one!