Friday, February 13, 2009

Dual Boot Mac (Kalyway 10.5.2) and Windows XP using Darwin Bootloader


Ahh... finnaly I got another time to post... and here is My new experience..
Well, since Apple decide to use Intel proc. Mac / OSX can be installed on a regular PC (like mine) both Intel and AMD (read the OSX HCL here). And since I got a new Motherboard after my older MB crash, I bought a new one which is fortunately listed in OSX HCL in wiki. Seems like my ambition nearly come, and yes it came to me. And this is how I dual booting my computer an OSX and a Windows XP.
First, here is my computer specs..:
- Motherboard ASUS P5KPL-AM
- 2 Gb ram (visipro)
- 160 Gb SATA HD (seagate)
- 1 DVD-RW (Pioneer)
- Geforce 7200GS 256Mb VGA (digital alliance)
- regular 15" monitor (samsung)
- common  USB mouse and keyboard (PS2 not recommended)
that's mine...


OK, I have condition like this :
My harddisk have 4 patitions (in Windows) : C (40Gb NTFS), D (60Gb NTFS), E (40Gb NTFS), and F(20Gb Empty). C used as windows partition, which have Windows XP installed, D and E already contain data and files. So, I have only partiton no.4 (F) left and this partition will be my Mac partition.
Let's do the fun part.... Set your BIOS to boot from CD/DVD ROM first then insert your Kalyway DVD. After Darwin loading press Enter for default boot or press F8 to give some boot options. Some PC Hardware need options for installing Mac.In My PC I used this option : -v -x cpus=1. If you have Dual Core Processor, sometimes the option cpus=1 needed. For more explaination about options please refer to some OSX Forums or just Google it. For now, you can use options like mine.
Wait for a while, if anything running well, you should now face the installer GUI. Select Tools > Disk Utility and the Disk Utility will appear. Now select partition no. 4 (F). Select Erase tab, then erase the disk, format with the default Mac file system (Mac Extended (Journaled)). Click erase, when it done, close the Disk Utility.
Now you can select the partition you just created as the destination disk. You may customize the installated package or just go with the default package. In My PC I select NVinject and NVinject 256Mb for my graphic driver. Now press Install if you ready.
Wait till the installation complete. Restart your computer and remove the Kalyway DVD, if it cannot be removed then set the boot sequence to Harddisk first.
Normally you can now boot with the installed Mac /OSx. You will be ask to fill some informations. But in My case, I have the "HFS+ Partition error" after my second boot to OSX. This kind of error in My case, due to the Mac patition is fail to recognized as the active partition, so the solution is set it to active partition.

Ok now for dual boot. Now we have two OS in the same PC but only one (which is Mac) can be loaded by darwin bootloader (Mac bootloader). But in mine, no one can booted and what I have to do is set the partitions which have OS installed to active one.
Here is what I do, put the Kalyway DVD in CD/DVD ROM, restart and set first boot sequence to CD/DVD ROM again. Boot with Kalyway DVD, then after Darwin loaded press F8. Write -s and press Enter to boot into single user mode. Now after you are in the single user mode here is what to do :
to activate Windows partition (in partition 1 / C) run :

fdisk -e dev/rdisk0
flag 1
write
update
reboot

After reboot you can now boot Windows Xp. Then to activate Mac partition which is partition no 4 restart you computer, enter single user mode again and run :

fdisk -e dev/rdisk0
flag 4
write
update
reboot

"flag 4" used to set patition no.4 to active, so if you installed Mac at partition no.2 (for example) then use flag 2. Or in the other word use "flag n" which n refer to partition number of your installed Mac.
If anything running well, now you can select which partition to boot. Press any key when darwin booting then you can select which partition to boot. To boot windows select first partition, and to boot whic Mac select partition no. 4. That's all I do to dual boot XP and MAc in PC. Please note that this only works with Windows XP, and some PC hardware will have different results.

And also note that this article is for learning purpose only and I'm not suggest you to do piracy with Mac. If you love Mac then buy the real Mac if you can.

OK that's all for now and Good Luck. Fell free for comment....

8 comment:

yonghan said...

Mas,udah coba internet blm?Saya juga pakai asus p5kpl-am.Thanks buat tutornya,saya udah berhasil install kalyway,hanya buat internet ga bisa..Thanks...

Sam F. Chaerul said...

maaf yonghan... saya juga belum coba untuk akses internetnya... saya baru pakai untuk desktop... jadi sementara belum bisa saya pastikan... anda bisa lihat di forumnya untuk lebih jelasnya... mungkin jika ada perkembangan akan saya tulis lagi disini... terima kasih atas komentarnya.....

Administrator said...

once you are in XP, how can you make the other partition active

Administrator said...

once you are in XP, how can you make the other partition active

Sam F. Chaerul said...

@Administrator : I'm not sure if it could be done in Xp due to the usage darwin boot loader.... and as far as I know that xp bootloader not supported for various OS in one PC...

Lee said...

Hello,

What did you do about the nic? I'm having a little trouble getting mine to work.

take care,
Lee

Sam F. Chaerul said...

@Lee :
I'm sorry Lee, I haven't test it yet, well maybe I'll update this post later. If you don't mind I suggest you to ask in some forums... Big appreciate for your comment...thanks...

krix said...

Mas Sam, tolong saya...
Saya sapai ke blog anda lewat google (artikel ""Dual Boot Mac (Kalyway 10.5.2) and Windows XP using Darwin Bootloader"). saya awam di kutak-katik komputer dan baru nyoba install Kalyway 10.5.2 di Asus eeePC. Maksudnya mau dual boot dg Windows 7 Ultimate (sudah ada dr belinya). Proses installnya lancar sampai saat restart Mac-nya lalu tiba di "Welcome" screen, isi country, language, keyboard layou dan Migration later. di klik, tunggu 1 menit, balik lagi ke "Welcome". Berkali-kali begitu. Apa yang salah ya?
Tolong bantu saya, rasanya udah masuk sebelah kaki.

Thanks
Pa' Kris

ini spek-nya:
The spec:
Asus eeePC 1201T
CPU: AMD MV40
Chipset: RS780M
VGA: Mobility Radeon HD3200
RAM: 2GB