If you get the VT-x is not available error when trying to install or run Ubuntu under OSX in Sun’s Virtualbox, you can fix this problem by editing the the xml file for the VM.
With Virtualbox NOT RUNNING, first go into the VM’s directory. On my computer its in:
/Users/john/virtualbox/Ubuntu
Then edit the xml configuration file. Mine is: Ubuntu.xml
My Uncle, Carl C. Wallace died on Sunday, Nov. 29 2009. He was the last of my father’s siblings. It is difficult to believe they are all gone now. I always felt that my Uncle Carl was extra special. Perhaps it was because when I was a child, he lived in California and when he came to visit it was always a rare treat. Perhaps it was because there was something about him that I could identify with. He, like my father and my Uncle Joe were, as my sister put it, “larger than life”. All three were strong personalities that had been very successful in the most difficult of times. They were all good Christian men. May they all rest in peace.
Do you find yourself attracted to Apple’s Mac OSX operating system, but you don’t want to spend the money on Apple hardware? Do you just like to play around with different operating systems? Why not build a Hackintosh? Its easier than you might think.
First, I should mention the best place to learn about building and running a hackintosh can be found at Insanely Mac. It is THE forum for the hackintosh community.
You will need a retail copy of Apple’s new OSX Snow Leopard. Its only $25, so there really isn’t a reason not to support Apple.
Also you will need a good PC with compatible hardware. I suggest using Gigabyte mainboards. They are very OSX friendly. I have a GA-P35-DQ6 revision 1.0. Other mainboards will work, but it seems most people use Gigabytes.
I am providing the following instructions as an example of how easy it is to install OSX on your PC. These instructions were taken from tseung’s InsanelyMac guide: here):
Snow Leopard Vanilla Retail Guide for GA-P35-DS4 and other related boards
This is a guide for Gigabyte GA-P35-DS4. It may work on related boards so if it works for you, feel free to report it in this thread. I cannot test much on other motherboards as I only have GA-P35-DS4.
Success has been reported on the following related motherboards: GA-EP35-DS3P, GA-EP35-DS4, GA-EP45-DQ6, GA-X38-DS5, GA-P35-DS3R, GA-EP35-DS3L (ALC888), GA-P35-DS3L (ALC888), GA-EP45-DS3R, GA-P35-DQ6, GA-P35-DS3P, GA-EP45-DS5, GA-P35-DS3, GA-EP35-DS3
Might also work on other GA boards with Realtek ALC889A or ALC888 audio codec.
Success has been reported with the following graphics cards: NVidia 8800GT 512MB, NVidia 8600GT 256 MB, NVidia 9600GT 1024MB, Radeon X1950 PRO, NVidia 7600GT 256MB
Failure has been reported with the following graphics cards: ATI HD3870, ATI 4850 1024MB, NVidia GeForce 7100 GS
Graphics might also work on other NVidia cards without additional kexts added.
Boards with Realtek ALC888 audio codecs requires a different DSDT.aml and a different LegacyHDA.kext in /Extra. I’ve added an experimental installer for this, so let me know it it works. Check the guide to see when to apply it.
If you have a related board, try the DSDT generator first to ensure it can compile a DSDT.aml. Also ensure that there are no “Alias” strings in dsdt_fixed.txt. If so, report it and I will make a fix.
The main goal of this guide is to take most of the manual patching out of installing by providing you with an installer. I’m including the sources so if you are writing a guide and are comfortable with regular expression I invite you to check it out…
I’m also including a standalone DSDT patcher for your DSDT patching pleasure. It is specific for GA-P35-DS4 but I’ve tried to make it relatively easy to modify. It’s based on DSDT Patcher 1.0.1e source code by fassl et al. and How to patch DSDT with LAN and HDEF functions by tmongkol et al. Not all features of DSDT Patcher are implemented but feel free to play with it.
If you act now, I’ll include a script that will enable you to do a full system restore from Time Machine without booting from the retail DVD. That means you can have a separate snow leopard rescue installation. I suggest about 30 GB but it can be smaller if you like.
The boot loader used in the installer is based on Chameleon RC3.
Note that the installer use /var/log/install.log for logging.
This has been tested on a GA-P35-DS4 motherboard (rev 1.0) with the F14 BIOS, Q6600 Quad Core [email protected] GHz (G0 stepping), Nvidia 8800GT 512 MB, 2 GB RAM, SATA hard drive, SATA DVD drive and an Apple USB keyboard. The retail DVD version was 10.6.0 and the Chameleon Boot Loader version tested was 2.0-r640. Install time: approximately 1 hour
For details and screenshots of the BIOS settings go here.
Remember to support OS X by purchasing a genuine retail DVD
Known issues
Automatic sleep after a period of inactivity may not work. As a workaround install Please Sleep from here
1) Save your BIOS settings by pressing F11 in the main BIOS screen. Booting from the boot CD will reset your settings. You can load your settings by pressing F12 in the main BIOS screen.
2) Burn the boot cd iso using your favorite ISO burning software.
3) Transfer the installer and optionally EFIStudio or other EFI string generator to the USB Drive. Alternatively, you can download them after installing OS X.
Install Snow Leopard:
1) Insert your newly burned CD into your drive, reboot and press F12 during POST, and choose CD-ROM as bootup device.
2) When Chameleon boots up, insert your Snow Leopard Retail DVD into your drive, then press F5. The Snow Leopard DVD should now show up. If it doesn’t, open and close the drive, and press F5 again. Select the DVD, press -v and press enter.
3) Install OS X. Grab a cup of coffee…
4) Restart. You need to load your saved settings in BIOS before proceeding. You should also exchange the retail DVD with your boot CD. Save your settings (F10) and restart. Press F12 to boot from your CDROM.
5) This time select your newly installed SL partition at the Chameleon main menu. Press -v and enter to get logging. Fill out the various forms. If you do not wish to register with Apple you can press cmd+Q when prompted for your Apple ID.
6) Install GA-P35-DS4 Snow Leopard Installer.
6.1) Only for ALC888 boards. Ignore this step if you own a mb with ALC889A such as GA-P35-DS4! Install Snow Leopard ALC888 Installer.
7) Restart. Again, load your saved BIOS settings and save them. This time, boot from the drive containing your newly installed SL partition.
If graphics works, you are done. Otherwise, move along…
8) Open /Extra/com.apple.Boot.plist in an editor. Remove
12
<key>GraphicsEnabler</key><string>y</string>
Also check the string under Kernel Flags. Remove -pci0 if present.
If you are using EFIStudio: add Display and then click “Hex String to Clipboard”. Add device-properties to com.apple.Boot.plist and paste the hex string in between tags below the device-properties line.
After this, the com.apple.Boot.plist should look similar to this:
com.apple.Boot.plist
123456789101112
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plistversion="1.0"><dict><key>Kernel</key><string>mach_kernel</string><key>Kernel Flags</key><string>arch=x86_32</string><key>device-properties</key><string>f2030000010000000 ... A LOT OF NUMBERS ... 6172656e74</string></dict></plist>
If you’re using a graphic kext instead of an EFI string, your com.apple.Boot.plist should look similar to this:
Add the graphics kext to /Extra/Extensions. Restart.
That’s it! You’re done. You should now be booting into Snow Leopard with the correct resolution, network and sound.
If you want your internal drives on your Desktop, click the appropriate checkbox in Finder Preferences.
Alternative install method
If the Boot CD doesn’t work (some ATI graphics cards or IDE DVD drive, for example), you can restore an image of the Snow Leopard DVD to a partition or a USB thumb drive using Disk Utility. Before you can restore the DVD image, you need to scan it for restore (Images –> Scan Image for Restore in Disk Utility). Once the image has been restore to the target partition, run the installer with the target partition as target. You may have to modify com.apple.Boot.plist and add graphics kexts (look in step 8 above).
— If something goes wrong…
As mentioned, take a look in /var/log/install.log. If the installer failed there is probably some errors around a “.rb” string. If anyone get errors from patcher.rb, download and install the standalone DSDT generator. This should bail out as well. Attach the output and the dsdt.dsl file to a post in this thread and I’ll look into it.
— Details
The installer copies smbios.plist, generates DSDT.aml and adds extensions to /Extra. It also puts a modified ifconfig into /usr/local/bin and a launchd plist into /Library/LaunchDaemons. This is needed for Bonjour to work. It should work with the 64-bit kernel, but I still recommend using the 32-bit kernel.
At the moment, the installer installs these kexts to /Extra/Extensions:
LegacyHDA.kext — audio NullCPUPowermanagement.kext — Disables AppleIntelCPUPowermanagement.kext OpenHaltRestart.kext — Fixes restart/shutdown PlatformUUID.kext — Fixes log warnings about missing UUID for root device SleepEnabler.kext — Fixes Sleep when AppleIntelCPUPowermanagement.kext is disabled fakesmc.kext — Simulates the SMC device on macs for decryption etc.
In addition, the Installer sets up GraphicsEnabler.
You either have an IDE drive or you’re using an unsupported graphics card. You’ll need to use the alternative install method in this guide
3) Some hard drives cannot be found in OS X
IDE hard drives are not supported. You may be able to find a kext that works for you on this site
4) My drives do not show up on the desktop
This can be changed in Finder Preferences
5) Can I upgrade to 10.6.1 with Software Update without trouble?
Yes
6) My drives are orange (OS X thinks they are external).
The DSDT sets the drives on the first SATA controller as internal but leaves the drives on the second SATA controller as external to support those of you who use E-SATA. This can be rectified in the DSDT if you want them to be internal but it’s purely cosmetic as far as I can tell. On the GA-P35-DS4, the first SATA controller connectors are yellow, and the second SATA controller connectors are purple
7) My PS/2 keyboard/mouse doesn’t work.
PS/2 is not supported. I believe there is a kext somewhere but USB should work. Make sure to enable USB keyboard in BIOS
8) How do I configure SMBIOS?
/Extra/smbios.plist. Details are out of scope for this guide, so you’ll need to Google. Don’t hesitate to report your findings, though
9) Can I migrate my applications and users from Leopard
*Yes. Use Migration Assistant (included in SL). If your Leopard installation contains extra kexts in /System/Library/Extensions, you may have to delete them in order for SL to work properly. If you’ve used my Leopard guide, you need to remove RealtekR1000.kext and HDAEnabler.kext. *
I have three SATA disks in my system. The first disk has Windows XP on it, the second disk has my Linux system on it, and finally the third disk has Mac OSX Leopard set up with a GUID partition.
The system boots using GRUB 0.97, and the GRUB menu is on my Linux ext3 partition. This is the menu.lst file for my system:
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Sat Apr 11 19:52:24 2009
#
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.3725'. You can restore it like this.
# dd if=mbr.sda.3725 of=/dev/sda bs=512 count=1
#
# Start GRUB global section
timeout 15
color light-gray/blue black/light-gray
default 0
# End GRUB global section
# Other bootable partition config begins
# Mac OS X
title Mac OS X
root (hd2)
chainloader (hd2)+1
# title Windows on (/dev/sda1)
title Windows XP
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
# title Linux on (/dev/sdb1)
title Slackware Linux
root (hd1,0)
kernel /boot/vmlinuz root=/dev/sdb1 ro vga=normal
# Linux bootable partition config ends
title --- For help press 'c', type: 'help'
root (hd0)
title --- For usage examples, type: 'cat /boot/grub/grub.txt'
root (hd0)
I currently have a Java based API that I wrote using the proprietary GXS Enterprise OTX (Onward Transmission Exchange) protocol. It will allow you to create custom OTX bridges quickly and efficiently. It is all my code, written cleanly from scratch. I’ll be posting a demo here sometime soon. The demo will be what is called an “echo bridge”, but first I need to obfuscate the code and do a couple other things. If you are interested in this then send me an email using my online contact form.
The trick to installing OpenSolaris on VMWare Fusion is to change the RAM allocation from 580 to 768 MB. I also chose to use NAT networking when setting up OpenSolaris 2009.06.
When trying to install VMTools, you might get this error message:
1234
Unable to copy the source file
/usr/lib/vmware-tools/configurator/autostart-vmware-user.sh
to the destination file
/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh.
To correct that problem, su -s into root and issue the following command:
1
pfexec mkdir -p /usr/dt/config/Xsession.d
In order top prevent the black screen issue after installing VMTools, do the following:
(1) Before running the vmtools installer, do the following as root:
12
cd /usr/X11/lib/modules/drivers/
mv vmware_drv.so vmware_drv.so-before-vmtools
(2) Next you’ll run the vmtools installer. At some point the perl script based installer will create the vmware-tools directory, and then wait for additional input. At this point do the following:
12
cd /usr/lib/vmware-tools/configurator/XOrg
ln -s 7.1 7.4
For OpenSolaris 2009.06 its 7.4.3, but future versions of OpenSolaris the number will change. Put in the number corresponding to your version of OpenSolaris (don’t include the minor revision number).
Thats it! You should have a working version of OpenSolaris running under VMWare Fusion with VMTools installed.
Click on the Titans logo, and the widget will flip to show you the Titans schedule for 2015. When you are done, click the “Done” button, and the widget will flip back the the small Titans logo. This is nice because the widget will normally occupy a very small footprint on your dashboard until you need to see the schedule.
This widget follows the “Obama Propaganda” theme, using the art of Shepard Fairy which surfaced during the 2008 presidential campaign.
What I thought interesting about this art is that is has that Soviet Cold-War-Era look & feel to it. The “HOPE” message has been removed from the art, and I replaced it with the message: “ИЗМЕНЕНИЕ!” The translation from Russian is: “CHANGE!”, which was a central theme of Obama’s throughout his presidential campaign. I put it into Russian to mimic what a Soviet propaganda poster might look like in order to put forth the notion of Obama being an old-style communist leader with old-style communist values. The art coupled with the countdown effectively alters Obama’s message of “Change” to that being the time when he leaves office. Can it be too soon?
By clicking on the “LP Logo” on the back of the widget, the person’s web browser will go to the Libertarian Party main web page at www.lp.org.
This widget is a simple news feed widget that goes out to the Libertarian Party web site, grabs the LP Blog news feed, and displays it in the widget. The length of each article preview displayed in the widget can be adjusted on the back.
By clicking on the “LP Logo” on the back of the widget, the person’s web browser will go to the Libertarian Party main web page at www.lp.org.
Have you ever wanted a Mac OS X style dock for your PC? Here is the solution. First you’ll need to download an install Stardock’s ObjectDock. There is a free version, and there is an ObjectDock Plus for $20. I have the free version. You can download both versions from here: ObjectDock from Stardock
Next download my OSX ObjectDock Theme and install it. You can download it from here:
It comes with its own installer, so all you have to do it tell the installer where your ObjectDock installation is. After its installed, you will have a dock running on Windows that will look like this:
Note that the dock’s background is semi-transparent. The reddish color to the dock is simply the background that I had on my desktop when I captured the dock image.