| | Dual Booting OS X Snow Leopard and Moblin (with Moblin WiFi guide!)
I am going to call this the definitive guide to dual-booting OS X Snow Leopard and Moblin Linux. This will be divided up into two parts, one for setting up the dual-boot, another for getting a working wifi connection. Main steps:
To get a functioning dual boot, you will need the following.
- Install and Update OS X
- Install and Update Moblin
- Setup GRUB for the Dual Boot
Install OS X Snow Leopard
- A Dell Mini 10v
- An OS X Snow Leopard Install USB (8GB+ drive required)
- A Moblin Live USB (Guide can be found here)
- A wired connection for the wireless setup
Do know that I have had the experience of having the installer freeze occasionally. No worries, just move the mouse, and the thermometer will jump to its real position. I have also seen the installer freeze and 10-11 minutes left. This is normal. You can move the mouse all you want, but it will not unfreeze. The installer will not go past 10 minutes left. If you have it go past 10 minutes, please let me know, and I can edit this. Updating OS X Snow Leopard There are many ways to update your Hackintosh, the most common being running NetBookInstaller, and running â€śSoftware Update...â€ť from the Apple menu. Just make sure that your OS X is completely updated before continue. Installing Moblin
- Turn off your Dell Mini 10v, and insert the OS X Snow Leopard Install USB.
- Turn your computer on, and press F12 before the logo leaves.
- Choose USB Storage.
- If there is an progress bar, let it run out. If not, then choose Mac OS X Install DVD.
- When the drive finishes booting, choose your language, and click the arrow in the bottom right hand corner, or hit the â€śEnterâ€ť key.
- Go to the Utilities, and choose â€śDisk Utilityâ€ť.
- Select your hard drive from the list on the left sidebar (If you have the stock hard drive, the listing might say something like 160.04 GB WDC WD1600BEVT-75ZCT2).
- Go to the Partition menu.
- Under Volume Scheme, in the drop down menu, I recommend that you choose 2 Partitions. It divides the hard drive in two partitions, making installation easier. You may change the partition size if you need.
- In the first partition, in the right of the diagram, name your partition as you wish, format is â€śMac OS Extended (Journaled)â€ť.
- Make the second partition â€śFree Spaceâ€ť.
- Click the â€śOptions...â€ť button under the hard drive diagram. Choose GUID Partition Table
- Click Apply, then click Partition.
- Close the application when its finished.
- Click Continue, and click Agree.
- Choose the hard drive, and click Customize if you wish.
- Click Install, and off you go!
Setting up the OSX/Moblin dual-boot with GRUB I have looked high and low for a way to dual boot OSX and Moblin with Chameleon, but unfortunately, Chameleon does not support booting from an ext2/3 partition, which is that Moblin requires. When you reboot your computer for the first time after the Moblin installation, you won't have a choice but to boot into Moblin. Let's fix that. For this you will need your wired connection. Better yet, keep the wire plugged in if you want to jump from dual-booting to setting up the wifi. First, a few things that aren't required, but very helpful. Notice the four applications in the bottom left hand corner. You should have a media player, a web browser, an about Moblin, and a Moblin Application Installer. You don't have to have those four applications. You could also have more if you wanted. If you go to the applications menu, you will see a Favorite Applications area. If you roll over one of the favorite applications, you will see a purple pin in the corner. If you click that pin, it will no longer be on the myzone screen (home screen). Here are the applications I recommend that you â€śpinâ€ť: Web Browser, Moblin Application Installer, Terminal, File Browser, and Manage Apps. Those are the five apps we will use in this tutorial. Now for the meat of the tutorial!
- Turn off your Dell Mini 10v, and insert the Moblin Live USB.
- Turn on the computer, and press F12 before the logo leaves.
- Choose USB Storage.
- Let the USB load, then choose Installation Only.
- Let it load, and click â€śNextâ€ť at the splash screen.
- Choose your language, and click â€śNextâ€ť.
- The keyboard is an U.S. English keyboard, so just click â€śNextâ€ť.
- Choose the closest city to your location.
- At the partition editor, choose â€śUse free space on selected drives and create default layoutâ€ť from the upper drop down menu. Check â€śReview and modify partitioning layoutâ€ť if you wish. Click â€śNextâ€ť when finished.
- After the image is done copying, leave all the GRUB info alone, we will edit it manually later.
- Enter a user name and password, click â€śNextâ€ť and that's all! Click â€śDoneâ€ť and the installer will exit. Reboot the computer for setting up the dual boot.
Setting up the wifi in Moblin This is where you need to make sure that your Moblin installation is fully updated. You should have had it fully updated before we set up the dual boot, or it shouldn't have worked. But now is the time to make sure that your computer is fully updated by running â€śsudo yum updateâ€ť. After the update, reboot into Moblin just to make sure that you are running the latest kernel. You need to download the wifi driver setup (http://www.zeroepoch.com/download/mo...oblin.i586.rpm). Normally when people try to write guides to get the wifi working in a Moblin setup, they have to compile the kernel and a bunch of other stuff that you really don't need to do. And when they got the driver compiled, it still wouldn't work because they didn't have latest update. This specific wifi driver only works for the latest kernel update. This is why you should have copied the grub.conf I posted because it boots into the latest kernel, therefore the ability to have wifi. A few warnings: When you need to run NetBookInstaller, make sure that you disable to installation of Chameleon. The reason being when you install Chameleon, it writes over GRUB, disabling your ability to boot into Moblin. If you do accidentally install Chameleon over GRUB, then you need to download
- Launch Terminal.
- Run â€śsudo yum updateâ€ť. We need to update the computer eventually, so why not do it now? You need to keep running that command until you get a message that says â€śNo Packages marked for Updateâ€ť. To rerun a command without having to type it again, hit the â€śUpâ€ť arrow key, and it will cycle through previous commands.
- After updating, make sure that you reboot. There is a kernel update, and rebooting is good.
- Launch â€śManage Appsâ€ť
- In the â€śFiltersâ€ť menu, uncheck â€śOnly newest packagesâ€ť.
- Search â€śnetbooksâ€ť. There should be four packages. Two should be called Anjal. Ignore those. The other two are the kernels. We only want one of them, and more likely than not, they both will be installed (i.e, checked on the left). Uncheck the one whose subtitle is â€śkernel-netbook-220.127.116.11-10.1.moblin2 (i586)â€ť. If it is already unchecked, then you are good to go!
- Click â€śApplyâ€ť in the corner, and let it run. When it is done, close the application, and launch Terminal.
- Run â€śsudo gedit /boot/grub/grub.confâ€ť. This is where we edit the GRUB listing (i.e, â€śturn onâ€ť the dual boot function).
- If you followed the instructions on setting up the partition places of the systems, then this step should be easy. So it's OK if you resized one of them. If not, then this step might be a little difficult, but if you read my explanation, then we should be good.
- Copy and paste all this code into your grub.conf, removing all previous text.
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
BUILD: moblin-2.1-final-20091103-002 (18.104.22.168-17.1.moblin2-netbook)
kernel /boot/vmlinuz-22.214.171.124-17.1.moblin2-netbook ro root=/dev/sda3 quiet vga=current
title Mac OS X (10.6 Snow Leopard)
- The default=0 means that the first listing is the default listing to boot into after the timeout time, which we set at 10 seconds (default=10). After the splash image listing, you see the â€śtitle Moblinâ€ť listing. All the indented items after that have the info about booting into Moblin. After the empty line, you see â€śtitle Mac OS X (10.6 Snow Leopard)â€ť. I'm not sure what the rest of that listing is, but it is all important. You won't have to change anything in the bootloader listings if you followed my partition suggestions, ie, the positions of the partitions, not the sizes. Those don't matter to the bootloader.
- Next, you need to go the Chameleon bootloader site, and download the RC3 binary package. I'm not sure if the RC4 binary package will do it, but I'm not willing to try it. When download is done, open the File Browser application, locate the archive, and extract the boot0 file from the i386 folder. Extract it to your home folder. Close all windows, and launch Terminal.
- Run â€śsudo nautilusâ€ť. This will launch the file browser application with root privileges. Chose the hard drive from the sidebar, and follow this path to your boot0 file: /home/<username>/boot0.
- Hit Ctrl+T to open a new tab. In the new tab, go to /boot. Go to your home tab, right click on boot0, and choose copy. Go to the boot tab, and paste the boot0 file. Close all applications, and if you did this section right, you can reboot and have a fully functioning dual boot!.
an Ubuntu Live USB, and install GRUB from the Terminal. I hope this guide helps you, since it is a compiled source of a bunch of confusing and misunderstood guides. Thanks for reading.