New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Running Windows (or anything else) on your Mac Discussion of Classic or running Windows, Linux and other OSes on the Mac.

How-To: Hide a Boot Camp Partition

Post Reply New Thread Subscribe

Thread Tools

Member Since: Dec 15, 2007
Posts: 15
Daniel_Moore is on a distinguished road

Daniel_Moore is offline
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!
QUOTE Thanks

Member Since: Sep 17, 2006
Posts: 9
Minasokoni is on a distinguished road

Minasokoni is offline
awesome this helped a lot!
QUOTE Thanks

Member Since: Aug 03, 2011
Posts: 1
muski is on a distinguished road

muski is offline
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.

QUOTE Thanks

Post Reply New Thread Subscribe

« Which method do you use? | Win7 volume shrink with unknown reason »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Triple booting Leopard, Ubuntu, and XP on a MBP JAM Running Windows (or anything else) on your Mac 10 12-30-2008 08:53 PM
Boot Camp Partition Problem ollster Running Windows (or anything else) on your Mac 1 12-27-2007 08:27 PM
Boot camp breaking the partition table tulsamac Running Windows (or anything else) on your Mac 1 10-20-2007 06:49 PM
Problems deleting unused Boot Camp partition kill8joy Running Windows (or anything else) on your Mac 2 06-22-2007 08:12 AM
Parallels with Boot Camp Partition slowing computer down markw10 Running Windows (or anything else) on your Mac 3 01-31-2007 10:26 PM

All times are GMT -4. The time now is 01:35 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?