Upperskidrow.com

stuff and photos

Building a Hackintosh

To begin the story I converted to Linux as my primary desktop one year ago. After a year I decided I wanted to be able to develop for iPhone and Android and didn’t want to purchase a second machine so that left only one option.

Computer Specs:
Dell XPS 9000
ATI Radeon HD 5870
8GB RAM
500GB Boot Disk
2 1.5TB drives for redundant storage
and everything else is “stock”

1. Read the heck out of all blogs pertaining to building a Hackintosh or OSX86
I recommend signing up @ http://www.insanelymac.com/ and http://tonymacx86.blogspot.com/
2. Get a retail copy of OSX (I went for 10.6.6)
3. BACKUP BACKUP BACKUP BACKUP and did I say BACKUP (of course I have a nice 4TB NAS sitting here making it really easy)
4. Get either nawcom’s OSX86 Mod CD or iBoot
5. Download multibeast 3.90 and put on some sort of removable media
6. Burn bootable
As a note, I was unable to get my system booting with iBoot so I used nawcom’s disk without a problem
7. Boot from ModCD
8. select OSX install image as boot
9. When the system comes up partition the drive and install; no special features necessary
After install
10. reboot and remove install source (in my case it is a USB HDD)
11. Boot from ModCD again
12. Select your HDD as boot drive
13. Go through all of the setup stuff
14. Download 10.6.8 combo update (this has the drivers for the 5870 card)
15. run the combo update but DO NOT REBOOT
16. Put in your removable media with multibeast
17. run multibeast and install easyboot and VoodooHDA 2.56 (the latest version did not like the sound card)
18. reboot
Now your sound video etc should be working
as for me I installed XCode and MacPorts and began compiling the programs I needed and installing available programs
As of right now the Apple Store is not working but I’ll get to that after everything is back to normal :)

Posted in Linux Stuff | Leave a comment

Changing MySQL data directory (Ubuntu 10.10 server)

Server: Ubuntu 10.10 server on 4gb stick with 1tb data drive
Scenario: indexes for files on 1tb drive will be over 1g and I don’t want to fill up the mem stick
Solution: move data to the 1tb drive
Steps________________________________
1. make new directory on 1tb drive
# sudo mkdir /files/lib
2. copy files
# sudo cp /var/lib/mysql /files/lib/ -R
3. correct my.cnf
# sudo vi /etc/mysql/my.cnf
change directories from /var/lib/mysql to /files/lib/mysql
4. correct apparmor
# sudo vi /etc/apparmor.d/usr.sbin.mysqld
change directories from /var/lib/mysql to /files/lib/mysql
5. restart apparmor and mysql
/etc/init.d/apparmor restart
/etc/init.d/mysql restart

!!!! done !!!!

Posted in Linux Stuff | Leave a comment