Showing posts with label Macintosh Section. Show all posts
Showing posts with label Macintosh Section. Show all posts

Sunday, December 12, 2010

How to Update Bash Version on MAC

Hi,

Another post, just share some experience. Forthose whom a bit extreme users. Here how to update your bash version. Here we go...

This is all what you need:
1. Apple XCode, you can download by yourself from apple website.
2. Bash 4.1

This is how to do
01. tar -xzvf bash-4.1.tar.gz
02. 'su -' or 'sudo -s' -> you must have root previlage
03. cd bash-4.1
04. ./configure && make && make install
05. chsh -s /usr/local/bin/bash user_name
06. sudo bash -c "echo /usr/local/bin/bash >> /private/etc/shells"
07. Close your terminal & open it again
08. type in 'help' it should have the bash version on the top if it's already 4.1
09. 'su -' or 'sudo -s'
10. cd /bin
11. mv bash bash_old
12. ln -s /usr/local/bin/bash bash

Enjoy your new Bash..

Regards,
феникс

Thursday, May 13, 2010

Make Macbook White Early 2009 on 64 Bit

Hi,

All this is my experience to change Macbook White Early 2009 to load using 64Bit Kernel, under Snow Leopard 10.6.3.

Below is the Mac specification :

Model  Early 2009
Release Date  21st Jan 2009
Model Numbers  MB881*/A
 Machine Model MacBook5,2
 Display 13.3" glossy widescreen LCD, 1280 x 800 pixel resolution
FSB  1066 MHz
 Processor 2.0 GHz Intel Core 2 Duo (P7350)
Memory  2 GB (two 1 GB) 667 MHz PC2-5300
Expandable to 4 GB
Graphics  nVidia GeForce 9400M using 256 MB RAM
 HardDrive 120 GB
Optional 160 GB, 250 GB, or 320 GB
 AirPort Exteme Integrated 802.11a/b/g and draft-n (n enabled)
Internal Slot-Loading  4× DVD+R DL writes, 8× DVD±R read, 4× DVD±RW writes, 24× CD-R, and 10x CD-RW recording
OS  Mac OS X v10.5.4
Weight  5.0 lb/2.3 kg
 Dimension 1.08 x 12.78 x 8.92 in/27.5 x 325 x 227 mm

First do this thing to check whether the Mac is supported or not :
$ ioreg -p IODeviceTree -w0 -l | grep firmware-abi
$ | |   "firmware-abi" = <"EFI64">


If you get "EFI 64". It's mean your MacBook is supported.

$sudo -s  --> make you come a root BE CAREFULL!!!

#cd /User/yourusername/Downloads/
#cp boot64.efi /System/Library/CoreServices/
#cd /System/Library/CoreServices/
#chown root:wheel boot64.efi
#chflags uchg boot64.efi

#bless --folder /System/Library/CoreServices --file /System/Library/CoreServices/boot64.efi

After it's done, still under root go to :

#vi /Library/Preferences/SystemConfiguration/com.apple.Boot.plist

press 'i' then add this 'arch=x86_64'.

Kernel Flags
arch=x86_64



Press 'esc' and the type ':wq' then restart the machine immediately 'shutdown -r now'. It will take quite long time for the first loading.






If the Mac comes withe problem before you go in, then just insert your installation disk then open terminal. Type in :


sudo bless --folder /Volumes/VolumesNames/System/Library/CoreServices --file /Volumes/VolumesNames/System/Library/CoreServices/boot.efi


Restart the machine after that it will works normal.


File you need to dowload:


1. boot64.efi files
2. HexEdit Just in case do you needed.


Regards,
феникс

Wednesday, March 17, 2010

Install SnowLeopard with Vanila Kernel

Hi everyone,

Just to share with you all, how to install SnowLeo 10.6 with vanilla kernel.

This is my PC specification :
  • Intel Core 2 Duo E7600
  • ASUS P5BV with BIOS ver. 0402
  • 8 GB DDR2 PC6400
  • Geforce 8400GS 512MB
  • Samsung SyncMaster 2033 1600x900
  • Sound Blaster Live! 24bit
  • 1 x Seagate 160GB
  • 1 x Seagate 200GB
  • 2 x Seagate 250GB
The First thing you need is :

  1. Any OSX server can be installed, I suggest iAtkos v7 - you can find this on the website or torrent the file.
  2. USB FlashDisk 8GB.
  3. SnowLeopard Retail 10.6 ISO file - You can find this on the website or torrent it or buy the retail one.
  4. Download this two files : My Hack Installer or myHack Web, ATools, and PCI Efi 10.5
  5. This one is optional if you using Sound Blaster Live! 24 bit.
Here we go :

1st Step Prepare your USB Drive:
  • 'Utilities'->;'Disk Utility'
  • Plug the USB flash drive. It should be at least of 8 GB capacity.
  • Partition GUID with only one partition schema, formatted as Mac OS Plus (journaled). Labeled it with any name.
  • Mount the original Snow Leopard ISO image
  • Back in Disk Utility and in the Restore tab of the created partition, drag and drop the "Mac OS Install DVD" volume to the source field and your USB FlashDisk as the destination. We've just erased the flash drive, so there's no need to check the box "Erase destination".
  • Wait until Finish it will take around 20-30 minutes.
2nd Step Install myHack to your USB

  • Mount myHack
  • Run it and select the flash drive as destination


  • Customize the options suitable to your system. This is really the most important thing in the project. You need to understand what does every extension and if you need it or not for your system. You may also need some additional extensions to support your hardware that aren't included with myHack. At the end of the guide you'll find an appendix with an explanation of my selections.



  • I highly recommend to obtain a compiled DSDT.aml for your system and better with some fixes applied. It's out of the scope of this guide, but you'll find tons of info in http://www.osx86.es/ and more specifically with the tool DSDTSE. Once you have your dsdt.aml file, you should place it in the root of your flash drive.

Run pfix to repair permissions and rebuild mkext.kext
This step is crucial. You need to re-run pfix everytime you make some changes in the contents of the Extra folder. You'll do it this way:
  • Run the terminal app
  • Write sudo -s
  • Enter the admin password
  • Drag and drop the pfix program from the root of your flash drive to the terminal command line and press the enter key.
  • It will show a list of every volume in the system. By default it assumes "/" as the root of
  • If we're trying to run pfix in the boot volume we should just press enter, but now we need to run it over the "Mac OS Install USB" volume so we'll type /Volumes/Mac OS Install USB after /pfix  (ex-sample : /pfix /Volumes/Mac OS Install DVD 

    3rd Step Install Hackintosh using FlashDrive

    • Boot from FlashDisk
    • I will Prompt you installation page.
    • Go to 'Utilities' -> 'Disk Utility'
    • Install your Macintosh

    If you only use this harddisk as mac os only, GUID partition would be better.


    4th First Login to mac

    • After the installation done, do restart. Boot from your FlashDisk first.
    • Install myHack Package one more time, but put your HDD as the destination.
    • Install everything as same as your installation before.
    • Restart your machine again. Unplug your FlashDisk.
    • Boot from your HardDisk, to make sure everything work well, put in 'Verbose Mode'.
    • Welcome to Hackintosh :)

    Hopefully this method quite helpful. Feel free to inform me if there is something wrong there ^^


    Regards,
    феникс