Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 12-06-2012, 08:24 AM   #1
sam_343
Prospect
 
Join Date: Dec 2012
Posts: 2
[Mountain Lion] Prevent BOOTCAMP partition from mounting

I'm setting up a new MacBook Pro running Mountain Lion and I need to make it so that the BOOTCAMP partition is not mounted at boot time. Ideally I'd like to make it so the partition is permanently inaccessible by the system.

For my purposes, a login script that unmounts the drive doesn't solve the issue.

Coming from a linux background, my first instinct was to edit /etc/fstab but in 10.8 there is a little message in that file that says it is not used by the system.

'Get info' wouldn't let me set permissions on the drive. I also tried to setup BitLocker from the Windows side but the laptop doesn't have a TMP (and I'd rather not use a USB key).

Any help is greatly appreciated! Thanks in advance.
sam_343 is offline   Reply With Quote
Old 12-06-2012, 01:15 PM   #2
cpragman
All Star
 
Join Date: Jan 2004
Location: Limerick, PA
Posts: 693
Funny. I have ML and I'm using fstab to prevent a partition from mounting.

Give it a try
cpragman is offline   Reply With Quote
Old 12-09-2012, 06:13 AM   #3
cpragman
All Star
 
Join Date: Jan 2004
Location: Limerick, PA
Posts: 693
My /etc/fstab looks like this. It prevents a maintenance partition from mounting at startup.

Code:
# entries in this file control how drives are mounted

# Prevent Lion Install from mounting at startup

UUID=52E69E78-ED7A-35D5-9B22-F5790DB2D989 none hfs rw,noauto
cpragman is offline   Reply With Quote
Old 12-12-2012, 02:00 PM   #4
sam_343
Prospect
 
Join Date: Dec 2012
Posts: 2
I tried creating /etc/fstab (with pico and vifs) and neither seems to be working. It's still mounting the partition at /Volumes/BOOTCAMP.

I used:

UUID=2E889750-6EBB-4C85-BDF1-91DDBCD05D9C none auto ro,noauto,nouser,noexec

in the file. My system seems to be ignoring /etc/fstab... any thoughts?
sam_343 is offline   Reply With Quote
Old 12-14-2012, 10:31 PM   #5
cpragman
All Star
 
Join Date: Jan 2004
Location: Limerick, PA
Posts: 693
Try something like this...

Quote:
UUID=2E889750-6EBB-4C85-BDF1-91DDBCD05D9C none msdos rw,noauto

And, man vifs makes it sound like you should definitely use vifs to edit it.
cpragman is offline   Reply With Quote
Reply

Tags
10.8, boot, bootcamp, mountain lion, partition

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump



All times are GMT -5. The time now is 10:12 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.