Installing OSX86 onto a PC

Thanks to "Tester's Blog called Testing Grounds, I was able to merge his Mac tutorials and my Ubuntu tutorial into one handy manual. Visit his blog, it is very interesting. :) Moving right along, putting the OSX operating system on a PC might sound intimidating at first, but a person new to installing OSX86 can easily get it perfected in a weekend. Some would say you can get it done in much less time, but there are usually hiccups, and to be on the safe side, you need to account for those hiccups. For the most part, those hiccups include audio issues and ethernet issues, and occasionally a video card issue. It takes a while to discover the fixes for these, but after you apply them, they usually work perfectly. OK, to get started you will have to have the following pieces of the puzzle:

  • A PC that meets the compatibility requirements for OSX86 you can find this list at OSX86 Project HCL Wiki
  • Blank DVD-R
  • Broadband connection
  • Software for burning an iso to a disk, like Nero for example

There you go, that's it! Now you can start the process. But before you do, you need to understand a few basic things.

1. YOU HAVE TO BACKUP YOUR STUFF!!!

2. It is only legal to install OS X on a PC if you are an apple developer, and are in good with the folks at Apple. But if that were the case, you probably don't need this guide, so most people should probably stop reading now. For those more adventurous, keep reading.

3. I AM NOT RESPONSIBLE FOR ANY DAMAGE THIS MAY CAUSE this is a tip showing how one might go about putting OSX on a Dell, I in no way condone doing so. Any damage to hard drives, data, or any other unforeseeable issues are not my fault, you brought them on yourself.

Now that we have the pleasantries out of the way, we can get down to the nitty gritty. You have to find a copy of the Jas installation DVD version 10.4.8. You might possibly want to start looking in Pirate Bay or the other usual sites. Keep in mind the legal stuff if you decide to do so. Then your going to need to burn that ISO to a disk, you might have some software that will do it for you, otherwise use Nero. Let the fun begin.

1.) BACK EVERYTHING UP!

2.) With the Jas 10.4.8 disk in hand, put it in your DVD-ROM drive in the computer and reboot. Press any key to continue, and let it load up with its crazy text screens.

3.) Let it spin for a while, depending on your exact hardware configuration, it could take anywhere from 2 - 10 min. Be patient young padowan. Eventually a blue screen with a pinwheel will come up and stare you in the face for about a min.

4.) Then a language selection screen will pop up, select whatever works for you, for me its English, and click the arrow.

5.) An introduction screen will pop up, click continue:

6.) The next screen asks you where you would like to install OSX, but seeing as how you have a PC, nothing is available.

Don't worry! go into the utilities button in the upper left hand corner and click on Disk Utility. In about a minuet the Disk Utility Screen will pop up:

7.) Select your hard drive, and click on the erase button. Then for the format select the Mac OS Extended (Journaled) and name it whatever you want. Untitled is so drab, make a good name. When your done with that, click the erase button.

8.) Erasing won't take too long, and when you can see that its renamed the hard drive (Or hard drive partition) click the red x in the corner to exit out. The disk will spin for a bit, then get back to the installation screen seen in step 6, only this time it will have the picture of a hard drive in it. Click on this Hard Drive, click continue, and come to the next screen.

9.) This screen is called installation options. It will have various extras you may or may not need to install OS X onto the PC. It has an AMD processor option, an Intel option, various language supports, printer support, X11 (I have never installed this, but it looks like a development kit for Apple developers), NVIDIA Titan/ATI drivers for graphics cards (Install only one if you need to, I made the mistake of choosing both and it screwed it up a bit) And if somewhere in the options there is a choice between SSE2 or SSE3, pick only one (3 if you can, its the bomb), otherwise it will mess something up. But if there is only one choice(SSE2/SSE3), that makes it easier. Depending on your language and hardware setup, this step is crucial. This one screen can make or break your install, so choose wisely. If you screw something up its easy to start over, and if you do end up messing it up, don't worry, it happens to everyone.

10.) After you've decided your installation fate, click the button. I'm pretty sure once you click that button, there is no going back. you can pull the plug on the computer, but other than that I think its full steam ahead. OSX will install after a thorough disk check. Unless time is an enormous factor, Don't skip the disk check! It checks the DVD for errors, I made the mistake of doing that once and paid for it with about 5 wasted hours of frustration. My install was somehow corrupted and i had to re-download the torrent. Hiccups people, they happen.

Like most installations on PC hardware, the length of time all depends on your hardware configuration. It usually takes about an hour, so don't worry about the time factor.

11.) Believe it or not, the hard parts are over! Once the installation has finalized, optimized, and caused you to hold your breath, OSX will need to restart. When your PC/OSX86 beast restarts, remove the installation DVD and go through the setting up your Mac steps. It might not recognize your keyboard, it'll need your time zone, it'll need other info and so on and so forth. After that you have a brand new Mac!

The following are two demonstrations about how to install Mac OSX onto two different models of Dell. From experience, it seems as though Dell takes nicely to Mac. Odd eh?

Situation 1 - OSX86 on a Dell Dimension 3000

There are a few hiccups related to putting the OSX86 operating system on a Dell Dimension 3000, but like almost all cases with the OS, there are ways around these issues. The two main issues are sound and Ethernet access. Both are easy to fix, IF you follow the steps! The sound and Ethernet cards I have installed in the Dell Dimension 3000 are integrated. I am not sure whether this hardware would be stock for all Dimension 3000's, but i know it is featured in a lot of other computers. The Ethernet is:

  • Intel PRO/VE 100

And the sound card is:

  • SoundMAX Integrated Digital Audio

Hmmm, I'll start off with the easiest fix first. The SoundMAX card only needs a little sound setting tweaking, however the Intel PRO/VE 100 requires some coding surgery. To fix the sound card you need to follow these steps:

1.) Click Go in the navigation bar at the top of your screen. Navigate to utilities, and in that screen click Audio MIDI Setup. In the screen that pops up is a drop down menu (Circled below) which has two options, one for input and one for output. You need to click the second one. Then click Configure Speakers.

This screen should pop up. Use the drop down menu to set the speakers to numbers 3 and 6.

In the end your screen will look like this. Congratulations, you now have sound! Easy wasn't it?

OK, now it's the hard part. Getting Ethernet to work. As a reformed PC user, I found this extremely challenging. The reason your Ethernet dosen't work is because it doesn't have the proper device driver. You will need the AppleIntel8255x.kext file. I have that file hosted here:

AppleIntel8255x.kext

If there is any problem downloading, notify me and I will straighten it out as soon as possible. It is a .zip file, and will need to be extracted.

Inside is a text file with the explanation of what to do. You need to follow it TO THE LETTER! Otherwise it will not work! If the explanation is not clear enough let me know and I can post a clearer version.

Situation 2 - OSX86 on Dell Optiplex GX620

Putting OSX on the Dell Optiplex GX620 was the easiest installation I have ever done. Mostly this is from experience, but I had zero hassles. The two main problems are Ethernet and sound. I have fixed the Ethernet, but didn't get the chance to fix the sound. I have heard fixes for it, and I will look into them. If someone has a surefire way, drop a comment or an email to me.

First follow my first post about how to install OSX on a PC. You won't need to install either the NVIDIA or ATI options if you have a stock GX620, but you know your hardware configuration better than I do, so its up to you.

Second, the Ethernet problem. To fix this hassle you need to install a .kext file, which I have hosted here:

Broadcom Netxtreme 57xx kext

Third, you will need to know the MAC address of your NIC card. Hopefully you wrote it down somewhere for future use, but seeing as how this is doubtful, I'll discuss that in the last part of this post.

Unzip the file and place it in the Extensions folder. To get there open the Finder and go to your hard drive/partition that has OS X installed on it, and click System > Library > Extensions.

Now, to get it to work you need to go to the Terminal by clicking Go > Utilities > Terminal. Once you get the opening screen you need to type EXACTLY these lines of code. Each line is a new line of code, which means you need to press enter after each line.

$ sudo -s

$ chown -R root:wheel /System/Library/Extensions/

$ cd /System/Library/Extensions

$ chmod -R 755 AppleBCM5751Ethernet.kext

OK, you're done with the hard part. Now would be a good time to repair your disk permissions. To do that click on Go > Utilities > Disk Utility, and in that screen select your hard drive/partition with OS X installed.

So, you've got your Ethernet card working eh? Almost. I never did test if it works at this stage, but there is one problem. Right now your MAC address is 00:00:00:00:00:00. You're going to need to change that, so here's the instructions for that:

Open the terminal again and type in:

$ sudo -s

$ ifconfig en0 ether __________

That ___________ is for your MAC address. it needs to be 16 numbers with a : after every two. I found one forum post that used a live Linux cd to find the MAC address, I will link to that list in my next blog post. One thing I never got the chance to test is just BS'ing the MAC address and typing in whatever you want. Try it. Let me know what happens so i can post the results.

OK, after all that junk your Dell Optiplex GX620 should have internet! Woo-Hoo for you!

How to Make a Linux LiveCD, Install it, and Make it Network with a Mac!

If you've never gotten to try out Linux before, this is an easy way to get your feet wet without going all in. It's my opinion that everyone should try every OS they can, and with live Linux CD's, this becomes much easier. In order to do all this you need the following items:

  • Blank CD-R or DVD-R
  • .iso burning software such as Nero

There, that's it. Now go to this website:

Do you see the massive list? Isn't it awesome?! There are options upon options. Features have features, if you can dream up what you want an OS to do, its there. It never touches the hard drive either! if you think your hard drive crashed, or if you want to test to see if your computer is working, go here and burn a live Linux CD to check it out.

1.) Download the Linux of your choice

2.) Burn the image to a CD or DVD using Nero or another software suite that will allow the burning of images to disk.

3.) Pop the disk in, and re-boot

4.) This is the tricky part, you need to hit the boot options screen that your system BIOS has as soon as you power up. For me its F12, for others its Delete, you need to pay real attention to discover what it is. From the list that will pop up, select the CD or DVD drive with the disk in it.

5.) A bunch of text will scroll up the screen, this is Linux finding what hardware you have, finding internal drivers for that hardware, and loading system software into your RAM. The first time I saw this tangled mess of words i was worried, but whatever it says, its not hurting anything.

6.) A nice boot screen will pop up, depending on your Linux version you might need to type in something. It might tell you at the screen what to do, you might only need to hit enter, or if the distribution has a name, you might need to type that in followed by enter. An example would be a distro based off of knoppix, type in Knoppix and press enter.

7.) Pat yourself on the back. You have a live Linux disk! Your now officially cool.

Some things to keep in mind:

  • Most likely your experience with live cd's will be slow. Because your CD drive does not spin nearly as fast as a hard drive, it can't execute programs as fast.
  • If you can do this, you can make a Linux install disk. This will cause a Linux distribution like Fedora, Ubuntu, or whatever else you like to be installed onto your hard drive as an OS like windows. It requires more work, but its free. Who dosen't like FREE?!

Onward and Upward - Installing Ubuntu, and Making it Talk with the Mac

Alright, after having followed how to burn an .iso of linux to a CD, we are ready to show her off.

Go ahead and turn on your computer, place in the CD and either wait for a prompt before your alternative OS loads, or find a function key that allows you to choose the boot order, (or rearrange the order in your BIOS). Once the menu loads, simply hit enter. Let it do the dirty work, and you will eventually make it to a login prompt. Once again, strike the enter key, and Ubuntu will load. On the desktop, double click on the "Install" icon, and follow the easy click through install. It’s best if you make it a clean install on one hdd, or install on a seperate hdd. It’s best to take a quick look over Gparted within the installer and make your partitioning needs there. Continue with the installation.

It may take a while, depending on the speed of your r/rw on your hdd, plus CPU speed. Now for a successful bootup. Assuming all went accordingly, load Ubuntu fully, and login with the proper credentials you supplied. Make sure that the network is properly connected to Ubuntu in the physical sense, (in terms of a switch or hub between your *nix box and OSX box). Ubuntu is nice enough to automatically recognize all the drivers that are needed to complete the given task. Let's pull up a terminal. Click "Applications > Accessories > Terminal." You will now get a fairly spiffy terminal with a command line that states your user name, not root. Let's correct this so we get full admin privellages. Type "sudo su", then your password, then enter. It will now look something like [email protected]:~$. First, we need to make sure that our main ethernet device is recognized. Type ifconfig and look for something along the lines of eth0, eth1, or what have you. This is how Ubuntu, (or any *nix operating system) represents a network device. Assuming that you saw something that was stated prior, let us proceed. We need to create an IP address for this internal network, (note: if you have this on an internet enabled network, and wish to have it apart of it, then skip down to the DHCP section).

We will make Linux the dominant machine, and decide the proper internal IP address for it first. Take from the example and modify it as you wish.

$ ifconfig eth0 inet 172.16.1.39

The code above explained; ifconfig is the program used to modify such specifications, eth0 is your device, explained earlier, inet is the internal IP address you specify, which may be whatever sets of numbers you please, as long as they follow the basic subnet mask rules, and the 172.16.1.39 is a class C IP address. The 39 defines what computer it is, and all the rest must remain the same for it to talk to another computer on that range.

Let's change the subnet mask so the TCP/IP stack can interpret what range it must use.

$ ifconfig eth0 netmask 255.255.0.0

Pretty much the same idea as above, except a few variables have been changed. Netmask is the flag for ifconfig that allows us to alter the subnet mask for the given device specified. The 255.255.0.0 is what is used to give a proper range, (pretty much the default mask that works for this class without it getting cranky).

$ ifconfig eth0

Marvel in all your glory, should appear to be changed to your liking. Go ahead and reboot. While we're waiting, run the same commands shown above on your Mac OS 10. Since OS 10 is based off of Unix, the commands are interchangeable. But first make sure what device you are using on your Mac. Obviously, if you chose 172.16.1.39, then you would want to make your MAc's internal IP address 172.16.1.40, or something of that flavor so the two can have a conversation with each other. Reboot the Mac, and have a look at your Ubuntu box. Pull up the terminal and type:

$ ping 172.16.1.40

This is the IP address that you gave your Mac, if not; change it to fit your needs. Perform the same command in the reverse fashion with your Mac. If you receive data from both, then consider yourself dominant.

DHCP

Assuming that you skipped the prior section since you wish to use internet as well as other computers on your network with your now physically networked boxes, then let the easiness begin. Pull up a terminal in root by typing:

$ sudo su

$ dhcpcd

If it says command not found, then we'll do it the GUI way. By the by, this automatically pulls the proper IP address from your router, and assigns it stress free without you to worry. Click System > Administration > Networking. Right click your wired connection and select properties. Select DHCP, apply, and reboot.

Now that our units talk the talk, let's see them walk the walk. Time to create an SMB share. SMB is the protocol used to share files between NFS or Windows systems without skipping a beat. Share a folder on your Mac, and move back over to your Ubuntu box. Just click on Places > Network Servers. A new folder will appear, and will eventually load the servers that it discovered. Just to be on the safe side, manual will be the way we go. To get an address bar, hold ctrl + L. type the following:

smb:///172.16.1.40

Replace the address above with the one your Mac is currently using. Your shared folder should appear, and if you have ownership, you will be able to transmit files between the Mac and the Linux box.

Congratulations, you have now successfully made a nix and an OSX box talk with each other flawlessly. Stay tuned for the next tutorial, getting a Mac and a Linux client login to the Windows Server 2003 Active Directory.

Props to Tester to writing everything in regards to Mac and burning a Linux .iso, and to me, (leetupload) for writing the talking aspect. You can visit Testing Grounds, (AMajot1's blog site) here.