About Me

United States
www.krishnavedam.googlepages.com/vedam's hi everyone, Interested to do something more to our college or to our friends,and to make ourselves be special one among all others then cmon share your views and ideas suggestions here cmon in. help each other in answering their questions and through others ways. just post here ur question or else answer the posts as far and as many as u can

Thursday, November 8, 2007

APPLE INSTALLATION ON INTEL



PRE INSTALLATION PROCESS:

• Place the image on your desktop. It should be named osx-leopard105.dmg
• Unzip the zip file on your desktop; PLACE ALL THE CONTENTS ON YOUR DESKTOP (2 PATCH FILES AND 3 FOLDERS)
• Now lets open the patch file. Double click the patch-it.sh file in your desktop. This should open it in text edit. If not, just right click it and select open with->textedit
• Now, look for the line where it says: DMG="/Users/XXX/Desktop/osx-leopard105.dmg". Make sure you change XXX with your username. This path points to the GM image located on your desktop! Save and close the file.
• Now, open up a terminal window; just type terminal in spotlight and load terminal from there;
• On your terminal window, do a sudo –s command and enter your password.
• Now Type “cd desktop" in the terminal window and hit enter.
• Now type ./9a581-patch.sh THE PATCH WILL NOW EXECUTE! Be patient, go grab some coffee or kiss your wife. It will take a bit of time.
• When the patch is done, you will see a Leo_Patched_DVD.iso image file inside the 9a581-patch folder. The size should be 4,698,669,056 bytes. If it is a bit more, dont worry. This is the image we will either burn to a DVD-RW or restore it to a partition. More ahead…
NOTE: PREBINDING ERRORS ARE ALRIGHT IF YOU GET THEM WITH THE SCRIPT
INSTALLATION METHOD 1 – Burn the Image
Now that we have our patched image, Leo_Patched_DVD.iso, lets burn it to a DVD-RW (I chose a DVD-RW since if you screw up, you can just erase it)
* If you are a Windows user, I recommend ImgBurn (http://www.imgburn.com/) to burn your .iso
• Open up disk utility;
• Make sure that your DVD-RW is on the drive; Click the drive on the left column in disk utility; now on your right side of the window, select erase. This will blank out the media (make sure you select the DVD drive, not another partition on your system!!)
• After that, Click Burn on the top left corner; browse to the 9a581-patch folder and select the Leo_Patched_DVD.iso. This will now burn it to the DVD. Wait a bit, kiss your wife again or get some more Brazilian coffee…
• After it is done (make sure you let disk utility verify your image), you will now have a fresh 9a581 patched DVD (it includes the new patched kernel as well,I didn’t tell you that huh?)
INSTALLATION METHOD 2 - RESTORE Leo_Patched_DVD.iso TO A PARTITION
Some people prefer using a spare partition to do the install instead of a DVD. That is quick install option if you want to test out the process without the long waits of burning a dvd, loading, etc… Just remember, the process below is to setup a partition for the installation files, not the actual leopard installation!! Well here it is:
• First, you need a partition somewhere. I recommend having a second hard disk since you can just reformat after you are done installing. Use Disk utility to partition the drive. It should be MAC OSX Journaled format. Also, it needs to be MBR. Partition and format (Make sure the Volume is named “Leopard”)
• Lets flag the partition and make it bootable.
Somehow, The Leopard Installation process does no make the partition bootable. You need to do this yourself (working on a fix). Before you run the steps below, make sure you copy the files located in files/i386 (from the pack) to /usr/standalone/i386/ on your tiger disk.
-----------------------A NOTE ABOUT THIS SECTION:---------------------------------------
Before you start this section: Kali (The Great!)has released a CD that will simplify the MAKE IT BOOTABLE process:

http://www.tiny.cc/TJSym
I would recommend using it for those that are new to this. I you use the CD, just jump to the next section
Many have reported a better "success rate"( If I can call it that way) when applying the commands below from the terminal window when booting from the DVD. What I mean is, Boot the DVD and when the welcome window shows up, run the terminal from the Utilities menu. also, the steps below will work either BEFORE or AFTER the Install.
• Open up terminal. This is what you do (red text is what terminal will show after the commands you enter):
sudo fdisk -e /dev/rdiskX ( replace X and x with the disk/partition you will restore the image to)
fdisk: 1> update
Machine code updated.
fdisk:*1> f 1
Partition 1 marked active.
fdisk:*1> w
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n] y
Writing MBR at offset 0.
fdisk: 1> q
Your partition is now active!
MAKING IT BOOTABLE
*Note: If you are trying this with the USB disk method, place the startupfiletool, boot and boot1h files in your USB disk. When running the commands add a "./" to it
ie: ./startupfiletool -v /dev/rdisk1s1
• First, Lets Unmount the disk: In terminal type: diskutil umount diskXsx
• Ok, now lets put the file “boot1h” in the beginning of the partition: In terminal, browse to the i386 folder inside the 9a581-patch folder. Then type this:
sudo dd if=boot1h of=/dev/rdiskXsx bs=512 count=1
• Now, lets run the startup tool to embed the boot code: (Place startuptool in your usr/sbin folder, on your Tiger Disk if installing from tiger;otherwise, see above)
sudo startupfiletool -v /dev/rdiskXsx boot
• And last, lets give the pope’s blessing to the partition:
sudo bless -device /dev/diskXsx -setBoot –verbose
Now, mount and bless the mount:
• diskutil mount /diskXsx
• bless -mount /Volumes/YOUR_VOLUME_NAME -setBoot -verbose (Volume name is prob Leopard)
The partition is now bootable. The bless command wont give you any confirmation. It will just give you a "args:" line followed by your command.
-------------------------------------------------------------------------------------------------------
Now, to restore the Leo_Patched_DVD.iso to the partition:
• Open up Disk utility; Select Restore;
• Drag the Leo_Patched_DVD.dmg to the Source textbox and then Drag the Destination partition (the one you partitioned above) to the destination text box (this is on the right hand side in disk utility). Hit Restore. Wait a bit and the restore process is done!
Well done…now you have either a patched DVD or a “patched” partition containing the install. This is what we called “Pre-installation process. Let’s go now for the “Post-Installation” process…

POST INSTALLATION PROCESS:

In the first part, I showed you how to patch your DVD/prepare an installation partition. Lets now move to the install process.
You will need a partition to install Leopard. The partition we just did earlier was just to hold the installation files. Make sure you have a partition on one of your disks to receive the install. And the partition where you will be installing needs to be MBR not GUID!!!
After inserting the DVD/booting the install partition, just go and install leopard as usual. Make sure you un-select printer drivers/languages/xcode, etc… Our DVD is a single layer one without all the garbage. If you picked the restored partition method, the restored partition should show on the bootloader. If not:
• When the Darwin Bootloader loads, used advanced options and type rd=diskXsX (where X is the disk where you restored to, and X the partition number). This should boot into it (if not, there is something wrong with your setup!) Check the MAKING IT BOOTABLE SECTION from the post above or use Kalis CD. Link listed above.
After installing Leopard, reboot into Tiger again. DONT BOOT INTO LEOPARD YET!!!
NOTE: If you got the GreenD Patched DVD, The post patch method can be run from an External USB Pendrive. If no Tiger installation is present, Boot to the DVD, and once the Welcome Screen shows up, select Utilites->Terminal. Get a bit familiar with UNIX so you know how to browse to the PenDrive! The GreenD DVD has the instructions necessary.
Now we will run the Post Patch script to replace some kexts. This is due to the fact that When Leopard installs, it gets its kexts from their install package. We need to copy ours to the install partition so that it boots properly.
• After you boot into Tiger (or the DVD) Open up a terminal window and do a “sudo –s”; Enter your password (no need for sudo if booting from DVD, we are already root);
• Type “cd” and a hit space. Now, drag the folder 9a581-patch on your desktop to the terminal window and hit enter. This should give you the path to the folder (DVD boot, browse to your PenDrive file location)
• Now type ./9a581-PostPatch.sh THE POST PATCH WILL NOW EXECUTE! Wait a tit bit…
The Script will ask you to reboot, Hit Y/N and reboot.
We should be done now!!!! You now should boot to your Leopard installation disk. If you get stuck after this, boot with a –v option and watch for errors/panic.
From here on, we can post your problems here and we will try to
sort it.
AGAIN: The kexts here are the common ones used on everyday installations, but this was tailored for an ASUS P5W-DH Deluxe. If you get any panics with –v switch, we can try to pinpoint to what kernel is doing it. Some people have reported that the BootCache.kext gives panics. It is a bit more to do, but we can all get it sorted here.
Hope this helps a lot of you!


Patch installing
http://dailyapps.net/2007/10/hack-attack-install-leopard-on-your-pc-in-3-easy-steps/
http://forum.osx86scene.com/viewtopic.php?f=16&t=2008&st=0&sk=t&sd=a&sid=812ad7647071deb678a8e9725866ee3e
TOR download
http://www.torproject.org/docs/tor-doc-win32.html.en
DVD
http://www.demonoid.com/files/download/HTTP/1402044/7862916
patch
http://www.demonoid.com/files/download/HTTP/1403802/3931458

No comments: