我去年在 forum.onmac.net 上写过一篇置顶帖 Quad-Boot: MacOS/Vista/XP/Linux 据我所知应该是第一次在 intel mac 上没有瑕疵地实现 quad-boot
可惜 forum.onmac.net 站点死了几个月了，不知道为什么。以前google里还找得到的时候我留了一份 google cache 在我的硬盘里。现在 google 里也查不到了。
把我保存的 google cache 摘抄一段帖在这里吧。这是最终形成的方案。各位想在mac上multi boot的朋友可以参考。稍微修改一下就可以做 triple boot.
Old 17th August 2007, 04:12 PM
billbear billbear is offline
Should be dual-booting by now.
Join Date: Aug 2007
Now i have a better understanding of how XP installer determines which partition to be "C:". "C:" is the active windows partition. If there is no partition marked as active, it calls the first windows partition "C:" and flag it as "active". So, i have made some improvements. Don't need Winclone now.(Thus you can choose to format XP partition as FAT) Just flag XP partition as "active" in Vista before installing XP. I have never expect that doing a quad booting is so EASY once you find the right place for each OS and the right sequence of installing. I rewrote the HOW-TO:
1> Prepare your Boot Camp driver CD. Backup your files.
edit: Update your firmware, so that your keyboard will work in the legacy bootloaders.
2> Boot from your Tiger install DVD, from the Utilities manu, choose Disk Utility. Under Volume Scheme, choose 6 partitions. Specify a name and format for each partition as below:
0 EFI protected (which is invisible under Disk Utility)
1 Name:Vista Format: MS-DOS File System
2 Name:FAT Format: MS-DOS File System
3 Name:XP Format: MS-DOS File System
4 Name:OSX Format: Mac OS Extended(Journaled)
5 Name:HFS Format: Mac OS Extended(Journaled)
6 Format: Free Space (2 Linux partitions will be created here later)
Click Partition. (Now all your data are destroyed)
3> Close Disk Utility. Install OS X to volume "OSX". After reboot into OS X, download rEFIt from refit.sourceforge.net ,install it to volume "OSX".
edit: Not installing rEFIt is also ok. You can use grub to boot vista, xp, and ubuntu because built-in keyboard issue has been resolved by updating firmware.
4> Insert Vista install DVD and reboot from it. Install Vista onto partition 2 named "Vista". You must format it as NTFS at this point.
5> Under Vista, click the Start button, click Control Panel, click System and Maintenance, click Administrative Tools, and then double-click Computer Management.? In the Navigation pane, under Storage, click Disk Management. Right-click the XP partition, and then click Mark Partition as Active.
edit: There is also a command "fdisk" in MacOS Terminal that handles an MBR-partitioned disk. So for those who don't want to install vista and still want to have more than one partition under XP, do this before installing XP:
open a terminal under MacOS
sudo fdisk -e /dev/rdisk0
enter password and ignore the message "fdisk: could not open MBR file /usr/standalone/i386/boot0: No such file or directory"
type p to print MBR partition table
f 4 to flag partition 4 active
type q to save and quit
6> Insert XP install CD, reboot from it. You may need a USB keyboard at the prompt "Press any key to boot from CD" or you can power of and on and try your luck until the built-in keyboard functions. (Hitting keys immediately after rEFIt selection often works, and sometimes a USB mouse activates the built-in keyboard) If you boot Vista by mistake, you must repeat step 5. (rEFIt will flag Vista as active if you select it)
edit: Built-in keyboard now has no problem as we updated the firmware.
7> You will see the Vista partition marked "D:" and XP partition "C:". Now install XP to "C:". You must format it now or XP will not boot. At reboot, select the 2nd windows logo "boot from partition 4" to continue install. Installation finishes and you have a triple boot Mac.
8> Insert ubuntu install live CD,(i use ubuntu 7.04 64bit) reboot from it. Launch install from desktop.
edit: We can install ubuntu without burning CD:
Install VMware on XP. Create a VM that uses the whole physical disk. Use iso image as cd.
Boot VM, press F2 inside the VM to change bios settings. Make CD the first boot device. Install ubuntu.
(It's DANGEROUS if you fail to press F2 fast enough. It is bad that F2 can be fn-F2 in bootcamp driver's default settings. XP on the real hard disk will boot in the VM while this same XP is running in the real machine. Then VM dies. Reboot the real machine and the real XP corrupts. So, the safe way is to first create a vm without a hard disk, boot it and set the bios to first boot CD, then add the physical disk)
Shut down VM. Reboot the real machine. At the GRUB menu, select recovery mode. Type:
sudo dpkg-reconfigure xserver-xorg
Accept all the default settings.
At step 3, choose your keyboard layout as Macintosh.
At step 4, choose to manually partition the disk:
create a / partition and a swap partition at the end of the disk.(Swap must be larger than memory to be able to "hibernate". And one megabyte here is 1000*1000 bytes, not 1024*1024)
(Optional) You may notice there is a 134M free space(in fact 128M, 134=128*1.024*1.024) between /dev/sda5 and /dev/sda6, believe me, it's of no use. I create a 9th partition here for /boot to reclaim the space.
At step 7, before you go ahead with the install, click "advanced", and tell ubuntu to install GRUB to (hd0,2), the FAT partition. (Yes, this is the right place. Installing GRUB into the MBR will let GRUB manage the windows booting, you will have to go through 2 boot manager to boot windows or linux, which is not what we want. Besides MBR, it seems GRUB can only be installed into among the first 4 partitions to be bootable, and the FAT partition right now doesn't contain a boot code so it's safe to have GRUB live there)
Proceed with the install. Reboot and you will see 4 OSes from rEFIt menu.
edit: If you don't want to use rEFIt, ( I am a little bit uncomfortable that rEFIt creates a directory at the root of my OS X ) install GRUB into the MBR. Hold "option" key upon boot to select "windows", then use GRUB menu to boot ubuntu, vista, or xp.
9> Almost done! Now install hardware drivers in each OS.
edit: To make airport work under ubuntu you must install the madwifi driver.
To write to NTFS partitions under OS X, try Paragon's NTFS for Mac OS X 6.0: www.paragon-software.com/home/ntfs-mac
Last edited by billbear : 12th March 2008 at 04:20 PM.