PDA

View Full Version : Triple boot Mac Pro: Mac OS X, Linux 64bit, XP 64bit


MacSolidWorks
18th May 2007, 12:02 AM
To my knowledge, nobody has attempted to install all 64bit OS's on a triple boot Mac Pro. I am glad to announce that I've managed to figure it out with a lot of help from other really smart people.

Original posts, blogs, websites, etc, referenced:
Disk partitioning: http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp
Linux (ubuntu) installation: http://macapper.com/forums/showthread.php?t=134

Installing the Operating Systems

OSX

Install Mac OS X: Install Mac OS X as normal onto your hard disk drive with a single partition. (If it's already installed, you can skip this step.) In order to save time, only install the base system at this point. Boot into Mac OS X.
Mac OS X update: Install the Mac OS X combo update and all other updates (if necessary)
firmware update: Install the firmware update for your mac (if necessary).
rEFIt: Install rEFIt at this point

Boot Camp & partitioning

DO NOT download, install, or run the BootCamp Assistant! Since we are installing Windows XPx64 the driver package it creates is useless (32 bit drivers won't work on a 64bit OS).

If you've already partitioned using BootCamp, it created a 3rd partition at end of the drive, you can remove it if you boot from another drive and run this command:
sudo gpt remove -i 3 /dev/disk0

A simpler way to remove the partition is to use Boot Camp Assistant, which allows to "restore the startup disk to a single volume" (see its manual).

Open up a terminal window and type diskutil list. It should look something like this:

/dev/disk0
#: type name size identifier
0: GUID_partition_scheme *115.8 GB disk0
1: EFI 200.0 MB disk0s1
2: Apple_HFS Macintosh HD 115.5 GB disk0s2

We’re going to re-partition the hard drive now. Right now, there’s only one partition: Apple_HFS (Mac OS X), which takes all of the space on the hard drive. We need to shrink this partition and add 2 others for Windows and Linux. The command syntax is...

sudo diskutil resizeVolume [disk identifier] [disk size] [partition type] ["Partition label"] [partition size] [partition type] ["Partition label"] [partition size]

To do so, type in:
diskutil resizeVolume disk0s2 85.5G "Linux" "Linux" 15G "MS-DOS FAT32" "Windows" 15G

You can change the volume names/sizes but not the order. In English, this command resizes the current partition to 85.5 GB (disk0s2 85.5G), creates a 15 GB Linux-type partition labelled “Linux” (”Linux” “Linux” 15G), and creates another 15 GB FAT32-type partition labelled “Windows”(”MS-DOS FAT32″ “Windows” 15G). My 120GB hard drive has 115.8GB, so be sure to change the partition size to match your disk space. After resizing the partitions, it will ask you to reboot. Go ahead and reboot. Verify the partitions to make sure they’re correct. It should look a little something like this:

/dev/disk0
#: type name size identifier
0: GUID_partition_scheme *115.8 GB disk0
1: EFI 200.0 MB disk0s1
2: Apple_HFS Macintosh HD 85.5 GB disk0s2
3: Linux 15.0 GB disk0s3
4: NTFS/FAT32 15.0 GB disk0s4

If you get error messages see: http://wiki.onmac.net/index.php/Triple_Boot_via_BootCamp

Once you have completed the resizing, it will ask you to reboot. Reboot Mac OS X as you would normally do. When it starts up, run diskutil list again and verify that your new partitions have been created!

Windows XPx64

Insert your Windows XPx64 CD and restart. Go ahead and let rEFIt load up and then choose the Windows CD. Or...when you hear the chime, hold down the C key (to boot from CD).

Windows Setup will start. (Upon initial setup from the Windows CD, the install froze at “checking system hardware”, I was able to get it going again by just touching the power button once, do not press and hold as this will turn off the system)

At the disk partition screen, select the C: drive. "Quick partition" it as NTFS (or FAT32 if you want to write to it in Linux and Mac OS X). Setup will continue and eventually it will restart your computer. (see Talk:Triple_Boot_via_BootCamp for a workaround if the Windows installer does not offer to reformat your windows partition at install time - the Windows installer should format it here or it may not be bootable)

After the first restart, choose the Windows HDD from rEFIt in order to continue setting up XPx64. You will need to repeat this until Windows is fully installed.

Install necessary 64bit drivers specific to the MacPro:
Nvidia drivers for 7300GT graphics card: http://www.nvidia.com/object/winxp64_93.71.html
Chipset drivers for Intel processor: http://downloadcenter.intel.com/Detail_Desc.aspx?agr=N&ProductID=816&DwnldID=13326&strOSs=109&OSFullName=Windows*%20XP%20Professional%20x64%20Ed ition&lang=eng
Network card driver: http://downloadcenter.intel.com/detail_desc.aspx?agr=y&dwnldid=8719
Once your internet connection is up, go to Windows update and install the HD audio bus driver before installing the following driver from RealTek: http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=24&PFid=24&Level=4&Conn=3&DownTypeID=3&GetDown=false#High%20Definition%20Audio%20Codecs

Activate windows: Now that your network card works, activate Windows (so that it doesn't stop working)

You should now have most of your issues in the hardware manager resolved, video up to snuff, and workable audio.

You now have a dual boot system! But obviously, we aren't finished yet.

Linux

NOTE: This installation procedure does NOT require you to install LILO or know any programming at all, everything stated here is in the GUI (windowed environment), and yes it still works with GRUB, and no it does not screw anything up on the EFI or BIOS.

Reboot into Macintosh

Download the latest release 7.04 (Feisty Fawn) ubuntu http://www.ubuntu.com/getubuntu/download, be sure to select the 64bit version before downloading. Burn it to a DVD following the instructions on their website, or just slap the disk image on a DVD, but be sure it's in ISO format. (don't complain to me that you don't have a DVD writer, these instructions are for the MacPro which has a DVD writer from the factory)

Reboot and choose the ubuntu DVD from the rEFIt menu. NOTE: before you select “start or install ubuntu” from the DOS looking screen hit F4 and set the screen resolution to something other than VGA, otherwise you can't see anything but a garbled display.

Once ubuntu is loaded form the LiveCD click the install icon and follow along the setup for the general stuff.

When you come to the partitioning part, make sure you install Linux to the 3rd partition (disk0s3). Ubuntu will ask you to mount a Swap drive to a different partition, but that’s not necessary. Just install “/” to disk0s3.

Pretty soon, the installer will say it “GRUB will be installed to (hd0)”, with (hd0) being a clickable button. Click on the button and delete the (hd0), then click OK. You’ll notice the (hd0) has been replaced with “/dev/”. Go ahead and click the button again, and add “sda3″ at the end. It should say “GRUB will be installed to /dev/sda3″ with “/dev/sda3″ being a clickable button. This will install grub (GRand Unified Bootloader) onto just the Linux partition instead of the entire hard drive.

When finished, it will ask you to reboot. Go ahead and attempt to reboot. (Be warned, the 64 bit version of ubuntu apparently has a shut-down bug from the live CD. When it gets to the part where it ejects the DVD and asks you “remove the CD from the tray and hit enter”...it freezes. You cannot hit enter or any other key to complete the shut down process.

Leave the DVD in the tray, close it, and just hold the power button down until the computer shuts off.

Power up the computer. Let rEFIt load the selection screen as normal. If you try to boot to the installed Linux partition from rEFIt, nothing will happen, you'll just see a pleasant little Linux penguin icon but nothing will boot.

Therefore, boot from the liveCD again (ensuring to hit F4 and set the screen resolution to something other than VGA before it loads.)

Now that you are back in ubuntu on the LiveCD, on the top of the screen find the three menu choices labeled “Applications”, “Places”, and “System”. Click on System>Administration>GNOME Partition Editor

Once the GNOME Partition Editor has launched you will see a list of all the drives on your system, notice that the 200MB EFI protected system partition has a little check mark in the boot column, but the Linux drive labeled /dev/sda3 does not have a little boot check mark.

Click the little button in the boot column to make the /dev/sda3 a bootable volume. Quit the application and reboot.

Upon rEFIt launch, choose the Linux drive (not the LiveCD) and boot to ubuntu.

Setup your internet connection and install the updates to ubuntu.

Install ENVY STABLE RELEASE (0.9.3-0ubuntu5, released on May 16 2007) http://www.albertomilone.com/nvidia_scripts1.html
NVIDIA driver setup instructions: http://www.albertomilone.com/latest_nvidia_udsf_feisty.html Follow the installation guide to the letter! If you don't you'll have nothing to see!

If you are using a CinemaHD display and have a 7300GT Nvidia card you will be able to get 1900x1200 resolution by using the nvidia program located under Applications>System Tools>Nvidia settings

You now have an all 64bit Triple Boot system on your Mac Pro!

VERIFICATION

You will now want to reboot into all three OS's to verify that nothing has been destroyed and everything boots well. Notice that we did very little with the terminal window or programmed anything to set this up (except for the Nvidia driver). Pretty cool I think!

Believe me, if I can do this, you can. A big thank you to B0rg and OnMac.net the two sources I stole most of this information from.

snakepit_usmc
31st December 2007, 03:59 AM
Nice work! Do you have any experience with VMWare? Your post got me thinking about running Catia V5 on 64 bit XP.

I must confess that I don't yet have a Mac, but am seriously considering the purchase. I've been looking at the Macbook Pro and need to be able to run V5. I feel pretty comfortable that it will run pretty well in either VMWare or (hate to go there, but whatever it takes...) using Bootcamp.

Any input you may have would be greatly appreciated.

Regards,

Joe

MacSolidWorks
2nd January 2008, 04:06 PM
Semper Fi Marine, thank you for serving our country.

To answer your question yes I have quite a bit of experience using VMware. Currently I'm running VMware with XPx64 and SolidWorks on my MacPro at work. Our office is totally Mac, but with the virtualization stuff, I can do everything I need to do with no problems.

I decided long ago to dump bootcamp altogether and use VMware exclusively for running SolidWorks. Having evaluated both Parallels and VMware for running SolidWorks, I've concluded that VMware is the clear winner for stability and reliability hands-down. As a matter of fact the virtual machine is more stable than any windows box I've ever used in the past.

Using a MacPro allows me to rum my VM HDD off a RAID 0 drive which gives me a super performance increase. I've also found that for normal use 512MB RAM assigned to the VM is perfectly adequate, but if I need to do an analysis in Cosmos I just assign more RAM to the machine in the settings.

I am also using a SpacePilot for 3d manipulation and it works great. My only complaint is the total lack of OpenGL support with VMware. I don't know if they're working on it or plan to in the future, therefore my software must run in software emulated OpenGL. This really isn't a huge problem, it just means you can't have realistic surfaces or textures in your models while designing (but who really uses that eye-candy anyway?).

On the Mac purchase, I cannot recommend the Mac OS enough. Having been a Windows user since 1992 in the Corps to present day, I've never had a better computing experience than when I switched to the Mac, this includes my experience with all the different flavors of Linux.

Good luck and Semper Fi

specter
11th January 2008, 11:32 AM
Nice work! Do you have any experience with VMWare? Your post got me thinking about running Catia V5 on 64 bit XP.

I may be mistaken, but I have always thought that neither Parallels Desktop, nor Fusion don't support 64 bit OSes...
Prove me wrong, please:)
________
Buy Extreme Vaporizer (http://www.vaporshop.com/extreme-q-vaporizer.html)

zarmanto
11th January 2008, 02:39 PM
I may be mistaken, but I have always thought that neither Parallels Desktop, nor Fusion don't support 64 bit OSes...

From the VMWare Fusion product page (http://www.vmware.com/products/fusion/):

"Play Windows games on your Mac. Create powerful multi-core virtual machines and run 32- and 64-bit operating systems with ease. Use your iSight camera in Windows and gain access to Windows-only USB 2.0 devices."

(emphasis mine)

The details page says that they offer exclusive support of 64-bit OSes... so I can understand your confusion, since you're a Parallels guy. ;)

MacSolidWorks
11th January 2008, 05:17 PM
I'm running 64 bit windows right now on VMware, I've also run the 64 bit Sabayon Linux, and Ubuntu 64 (with Beryl) on vmware in the past as well.

I've also installed and run all the above OS's in boot camp natively as well.

There is no way to "prove" this to you other than you simply trusting what I've stated and the documentation provided by VMware.

specter
16th January 2008, 11:19 AM
There is no way to "prove" this to you other than you simply trusting what I've stated and the documentation provided by VMware.
There's no need to prove: Parallels supports only 32-bit OSes (i had to waste a good deal of time to find that out from their site), while VMWare supports both 32 and 64-bit ones.
I've never used 64-bit Windows, there has been no need. But if suddenly I'd need to, Parallels would definitely let me down here
________
Sex videos (http://www.{censored}{censored}{censored}{censored}tube.c om/)

EKMUV
5th March 2008, 12:07 PM
Semper Fi Marine, thank you for serving our country.

To answer your question yes I have quite a bit of experience using VMware. Currently I'm running VMware with XPx64 and SolidWorks on my MacPro at work. Our office is totally Mac, but with the virtualization stuff, I can do everything I need to do with no problems.

I decided long ago to dump bootcamp altogether and use VMware exclusively for running SolidWorks. Having evaluated both Parallels and VMware for running SolidWorks, I've concluded that VMware is the clear winner for stability and reliability hands-down. As a matter of fact the virtual machine is more stable than any windows box I've ever used in the past.

Using a MacPro allows me to rum my VM HDD off a RAID 0 drive which gives me a super performance increase. I've also found that for normal use 512MB RAM assigned to the VM is perfectly adequate, but if I need to do an analysis in Cosmos I just assign more RAM to the machine in the settings.

I am also using a SpacePilot for 3d manipulation and it works great. My only complaint is the total lack of OpenGL support with VMware. I don't know if they're working on it or plan to in the future, therefore my software must run in software emulated OpenGL. This really isn't a huge problem, it just means you can't have realistic surfaces or textures in your models while designing (but who really uses that eye-candy anyway?).

On the Mac purchase, I cannot recommend the Mac OS enough. Having been a Windows user since 1992 in the Corps to present day, I've never had a better computing experience than when I switched to the Mac, this includes my experience with all the different flavors of Linux.

Good luck and Semper Fi
MacSolidworks, I'm very pleased to have come across your posting; my yacht design company has been using Solidworks since last November and I love the software! We have been running it via Parallels and lately as our interior & exterior models have become more and more complex Parallels has been suffering and crashing allot! I've been tempted to either make the switch to boot camp, which I do not relish or to give VMware Fusion a try. After reading your post I'm going to have one of my guys switch over to Fusion and see how things go. We are using the latest MacPros 2.8 8Cx with 6 gig ram each. I'm waiting for the graphic Nvidia Quardro FX5600 cards to arrive. Any helpful advise or hints you can pass on would be greatly appreciated.