Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Create, use, and share multiple Boot Camp partitions System
This hint explains how to set up your OS X hard drive and installation to be able to use Windows Vista or XP in a very, very smart way on your machine. It also includes the holy grail of virtualization. Here are the things this hint will let you do:
  • Use at least two NTFS (or otherwise formatted) partitions on a hard drive.
  • Be able to read and write to these partitions from OS X and the guest OS using NTFS-3G.
  • Use the same software installations whether virtualizing, using natively via Boot Camp, or via Crossover.
  • Have the same set of partitions in Parallels and in native Windows (via Boot Camp).
  • Do all of that without starting from scratch or reformatting the entire disk.
Read on to see the complete guide...

This is my setup now, after the following process has been implemented:
/dev/disk0
   #:                       TYPE NAME              SIZE       IDENTIFIER
   0:      GUID_partition_scheme                  *465.8 Gi   disk0
   1:                        EFI                   200.0 Mi   disk0s1
   2:       Apple_HFS Maintosh HD                  374.9 Gi   disk0s2
   3:       Microsoft Basic Data .Windoof           25.5 Gi    disk0s4
   4:       Microsoft Basic Data Data               65.1 Gi    disk0s3
The . in front of Windoof makes the partition invisible in OS X; I just like to have Windows out of my sight while in OS X.

What I wanted to do was to split the Boot Camp partition created by the Boot Camp Assistant into two partitions: one System partition and one Data partition. While the use of partitioning in OS X can be argued, I always found it smart and safe to partition a Windows hard drive into at least two partitions. When I was a Windows user, I split up my hard drive into districts, like a city. The dirty industrial district, where all Downloads and scrap Data went; the working District with all my Documents; the urban district for Media files; and the cleaned-up, efficient, and seldom-changed Downtown, the System partition.

For Boot Camp, I went for a two partition solution. Now Apple and many forums say you cannot split the Boot Camp Partition, because the Master Boot Record (MBR)/GUID Partition scheme hybrid only allows two System partitions. The common setup consists of:
  1. EFI partition (200MB)
  2. OS X Partition
  3. Boot Camp Partition
Boot Camp actually produces a third, small hidden partition where it puts the MBR Windows so desperately needs and, where I guess, it also saves its methods for EFI BIOS Emulation.

Don't partition using Windows!

Now, if you use the Windows Installer to create a new partition, Windows overrides the MBR and breaks itself. The MBR should not be written to by Windows, or any utility you can use inside Windows. No, no Partition Magic to split up the big fat Boot Camp partition. While this may sound like a nice idea, but it's not. You know that you messed things up once you start getting the "missing HAL.DLL" messages at boot time. Even the commands for restoring the MBR or bootcfg via the Windows Install Disc repair console won't do the trick. So just don't partition inside Windows

How to partition and split?

Thanks to a very lovely program called iPartition, you can actually do this trick. After buying and installing the program, launch it. Once in the program, adjust the size of your Boot Camp partition -- you can do this before or after you install Windows.

Just be sure to have a clean partition (run chkdsk) and be sure to have it defragmented if it was already in use. Once you have adjusted the size of the original Boot Camp partiton (for XP, I went for 30GB, which is fine for the System alone), then you can create another partition -- select Windows FAT/NTFS as a format. Note: iPartition won't format your newly-created partition. If you go for 30GB here as well, be sure to move the My Documents folder to the new partition, and to install all programs there. You can even change the standard installation path for programs using RegEdit, but Microsoft doesn't recommend it.

After you adjust your old partition and create a new one, don't leave iPartition yet. Now comes the most important step to fix a problem which made me go nuts. Click on Tools or Extras in the the menu bar and select Fix MBR (or something of that sort). Don't know exactly what it's name is, but there is a menu item sounding like that. Now do that. [robg says: In iPartition 3.1.1, I believe the correct menu item is Partition Map » Write MBR Code, at least based on the description of this feature in the program's help file.]

After that, you can try to boot Windows (assuming you've installed it); it should boot just fine. If you don't fix the MBR, Windows may look for itself on the wrong partition, which results in yet some more "missing HAL.DLL" screens. Very nice, very helping.

A Possible Free Solution

There is also a way that might work without buying iPartiton. You have to download a program called rEFIt. rEFIt is an alternaitve EFI boot screen, not a replacement bootloader. Once installed, you can press Alt/Option while booting up to select the OS and tools. There you can also fix the MBR.

But how to partition your drive first is another question where I can be of limited assistance. You might want to try doing it using the Windows Install CD then, but I am not sure. All I know you can use rEFIt to fix the MBR scheme. A good idea would be to try the open source Parted Magic, which builds upons a number of good partitioning tools. Basically it's the same stuff that drives the partitioning done by Disk Utility in OS X. Parted Magic is a bootable disc, and should allow you to resize the Boot Camp partition, and create new partitions. However, I haven't tested this myself.

Congratulations, you should by now have a non-standard setup for Boot Camp up and running. From now on, the Boot Camp Assistant will not work if you try to use it!

Over to the Mac side now, we want to use that newly created partition for good stuff in OS X. However, NTFS is a nice Microsoft file system which they like so much that they kept all knowledge to themselves, forcing the Open Source devs to reverse engineer it and work around it. Now thanks to MacFuse, every Mac User can download and install for free a (and stable) driver which enables you to safely read and write NTFS partitions at a great speed. It's like a very old dream coming true.
  1. Install MacFUSE.
  2. Install NTFS-3G.
After rebooting following these installations, you can mount your NTFS partitions and write to them. Think of it, you can install Crossover Office or Crossover Games, and use symbolic links to point to the very same installations of software you have on your Boot Camp partitions. What I did, for example, was to install Steam in Crossover Games. Then, after installation, I deleted the Steam folder inside the Crossover c_drive, and replaced it with a symbolic link pointing to the Steam Install I made in Boot Camp. This works flawlessly.

Parallels won't see the new partition correctly, or fails to set up

I can only help you with Parallels; I only recently switched to them from VMware Fusion. Parallels will not recognize the the second Boot Camp parttition correctly, and if it allows you to boot up the Boot Camp installation, then it will show you the new partition as not formatted. You can get around this by mapping your new partition as a network folder, but that's far from ideal -- autostart applications fail, your Documents folder will be mapped wrong, etc.

Therefore you should do it as shown in this post on Parallels' forums. I know, it's another guide, but if you follow it, you are in heaven of virtualization: space preserving and effective multi-OS computing. I tried it, and it worked for me.

Note to VMware Fusion users: As far I can tell, there is a way to alter some files in the VMware Boot Camp config files to do the same trick. If you are a VMware user, you might want to Google it for yourself.

[robg adds: I haven't tested this one, beyond checking a menu entry in iPartition.]
    •    
  • Currently 2.36 / 5
  You rated: 2 / 5 (11 votes cast)
 
[31,226 views]  

Create, use, and share multiple Boot Camp partitions | 8 comments | Create New Account
Click here to return to the 'Create, use, and share multiple Boot Camp partitions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create, use, and share multiple Boot Camp partitions
Authored by: carmst on Mar 26, '09 08:53:42AM

Hate to be one of those posters that follow up a good, technically interesting hint with "but why?!"... but... why?! :P What's new here is using more than one partition for the Boot Camp install, but it seems like a lot of work to get yourself unsupported by everyone for the sake of a neater set of drive letters in Windows.

Perhaps using the Windows "subst" command for virtual drives might be less messy, and less likely to break on Boot Camp or Crossover or Parallels updates?



[ Reply to This | # ]
Create, use, and share multiple Boot Camp partitions
Authored by: macavenger on Mar 26, '09 09:30:37AM

Why? Simple - if windows hoses itself (as is fairly likely in my experience) you can wipe the system partition and re-install windows completely clean, without loosing your data. If you save all your downloads on that data partition as well, you don't even have to re-download any utilities or the like you downloaded, or be left in the position of going "now what was that nifty program I liked so much?" Of course, this being windows, you still have to re-install all your apps as well as the OS, but at least all your data is intact, and you don't have to worry about potential problems from doing a non-clean re-install of windows.

---
Aluminum iMac 20" 2.4 GHz/3GB/300GB HD



[ Reply to This | # ]
Create, use, and share multiple Boot Camp partitions
Authored by: frgough on Mar 26, '09 06:24:46PM

Or you can just take the money you would spend on iPartition, buy MacDrive 7 instead and keep your data on your OS X partition.



[ Reply to This | # ]
Create, use, and share multiple Boot Camp partitions
Authored by: haralds on Mar 28, '09 11:27:07AM

MacDrive can be a mixed experience.

MacDrive 6 is still my preferred solution with Windows XP Pro - stable.
MacDrive 7 seems to work ok with Vista 32. With Vista 64, it's a disaster.

However, I tend to make Mac volumes read only to avoid trashing, and potential unexpected deposits by nasties if my anti virus fails.

You have to be careful with hygiene, when slumming with Windows - kind of like a bad red light district for masochists...



[ Reply to This | # ]
Create, use, and share multiple Boot Camp partitions
Authored by: haralds on Mar 28, '09 11:22:06AM

Has anybody checked to see, whether it is possible to boot from the second partition? We do all our development from MacBook Pros - including Windows. It is handy to not just have Vista, but also Windows XP Pro or Windows 7.

VMWare is not a complete solution, since it can distort hardware timer interrupts, and also has subtle differences in the way it handles USB hardware.

We do not use Parallels, it is not cross platform (hosting), and has destroyed too many boot camp partitions for me...



[ Reply to This | # ]
Create, use, and share multiple Boot Camp partitions
Authored by: mareanegra on Apr 13, '09 11:41:11AM

Hi!
thanks for the post it's technically good. It helps me to understand how the boot works in my macbook.

I have tested your "Possible Free Solution" to resize the windows partition and works fine. My test it's not exactly the same but I think that it is close enought.

Initially I changed partition sizes from 225GB-5GB to 220-10 (MAC-WIN) with gparted starting with an ubuntu 8.10 live cd (magic parted OS is based in gparted and I tried the same with MP later and also works). after boot from this cd made the change with it. in the first step I reduced the big one and finally grow the second. the second step takes a while to redistribute the data). In the magic parted sesion I changed succesfully the unnamed label for windows partition to "jindousequispe" :p

After this windows partition was unable to boot, it was invisible to bootcamp (at boot time and running MAC OSX). the problem was the MBR.

booting from rEFIt live cd, selecting mbr option, it said that windows partition was a basic data one. I permitted the program rewrite MBR with it own sugerence (change the windows partition to a NTLD NTFS one), and after this the system works fine again with booting from both partitions, from boot camp menus and at boot time (start holding the alt key and selecting the windows disk).

thanks again.





[ Reply to This | # ]
Create, use, and share multiple Boot Camp partitions
Authored by: jackwjia on Aug 09, '10 03:01:43PM

Thanks for the post! It did help me but the procedure is different on a Macpro with 2 physical hard drives when the "Possible Free Solution" is used.

The 1st hard drive has MAC os and the 2nd hard drive has a big Win 7 partition. My purpose was to shrink the Win 7 partition and create a new partition for data on the 2nd hard drive. After the Parted/rEFIt procedures, it only gave me a black screen with "Missing operating system". Try to run the windows repair disk and it can see c:\windows. When I run BOOTREC /FIXBOOT or BOOTREC /rebuildbcd, it complained that the file system is invalid.

I noticed that rEFIt partition tools only show GPT/MBR information on the 1st hard drive. No option to check the 2nd hard drive is available. What I did was to pull out the 1st hard drive and run rEFIt partition tools to sync MBR with GPR on the 2nd hard drive. Run BOOTREC /FIXBOOT and BOOTREC /rebuildbcd and Windows 7 boots successfully.



[ Reply to This | # ]
Create, use, and share multiple Boot Camp partitions
Authored by: Kirth Gersen on Feb 20, '11 02:34:02PM

This post is couple years old, but I was very excited to find it, as this partition scheme (under Bootcamp control) is EXACTLY what I've wanted to do. Up till now, other directions on the web have been unsuccesful and/or function in a way I don't desire.

BUT ... the instructions here didn't work for me :-(, specifically the apparently essential step in iPartition, "Write MBR Code", is grayed out and unavailable.

Unsurprisingly , my Windows bootcamp partition became unbootable, and I had to restore WinXP from a copy, using Winclone utility.

I've sent a support request to Coriolis Systems (iPartition), but if anyone has ideas in the meantime, please weigh in.



[ Reply to This | # ]