Results 1 to 3 of 3
  1. #1

    Member Since
    Dec 15, 2007
    How-To: Hide a Boot Camp Partition
    After installing Windows XP SP2 Pro on an NTFS partition on my MacBook, I wanted to be able to hide the drive because a drive that I cannot write to does not really do me any good, and I knew I could always mount it manually in Disk Utility if I really needed to look at something. I had tried installing MacFuse and the NTFS -3G drivers to let me write to it, but NTFS -3G does not behave with SIGTERM at shutdown, so it led to ~15 second shutdowns. I also knew that if I needed to write to the partition, I could just drag and drop on VMware Fusion.

    So I first tried placing a full stop (period) before the volume name within XP, but that only hid it from the desktop and left ".XP" on my sidebar, which was a useless eyesore. I also tried to use my licensed copy of Mac Pilot to invisify it, but Leopard found it...again!

    The answer is to open Terminal and enter "diskutil list". In the identifier, the drive should be listed as something along the lines of "disk0s3". Now type "diskutil info (whatever your drive is listed as)". For me: diskutil info disk0s3. That will list a whole bunch of information about the drive. Look for where it says "Volume UUID" and copy the string.

    Next, enter "sudo pico /etc/fstab". Terminal will open an fstab file. This file will let you tell your Mac not to boot a drive. The file should be empty. Enter the following:

    UUID= (Insert your drive's exact UUID here) none ntfs ro,noauto 0 0

    For FAT32 formatted drives, replace "ntfs" with "msdos". Exit and save with ctrl+x (it will prompt you to save the changes).

    Exit Terminal, restart, and the drive should not show up. You can still boot it as a Virtual Machine, and if you need to mount it to access anything from within Mac OS X, just go to Disk Utility, click the grayed-out Boot Camp volume name and mount it.

    This is not some crazy new idea or anything, it's the proper way to prevent auto-mounting through OS X's Unix foundations, but it can be hard to find and I thought I'd put it down in writing here. Let me know if you have any questions, comments, or corrections!

  2. #2

    Member Since
    Sep 17, 2006
    awesome this helped a lot!

  3. #3

    Member Since
    Aug 03, 2011
    Works with Lion, too.
    This was just what I was looking for. For some reason I couldn't get:

    /Developer/Tools/SetFile -a V /Volumes/BOOTCAMP/

    to hide my Bootcamp partition under OS X Lion. But your solution works.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Boot camp software disappeared after removing boot camp partition
    By Metadopa in forum Running Windows (or anything else) on your Mac
    Replies: 2
    Last Post: 04-01-2012, 11:12 AM
  2. Un-Partition Boot Camp
    By ShalomJerome in forum macOS - Apps and Games
    Replies: 7
    Last Post: 07-08-2011, 06:10 PM
  3. Boot Camp Will Not Allow Me To Partition
    By MacManNeedsHelp in forum macOS - Operating System
    Replies: 5
    Last Post: 12-10-2010, 10:35 PM
  4. boot camp / partition help.
    By bartlett in forum macOS - Apps and Games
    Replies: 4
    Last Post: 10-02-2009, 10:10 AM
  5. is it better to play games on VMware running boot camp partition than boot camp?
    By mitch90 in forum Running Windows (or anything else) on your Mac
    Replies: 2
    Last Post: 07-09-2008, 02:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts