|
|
#1 |
|
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. |
|
|
|
|
|
#2 |
|
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 |
|
|
|
|
|
#3 |
|
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 |
|
|
|
|
|
#4 |
|
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? |
|
|
|
|
|
#5 | |||||||||||||||||||
|
All Star
Join Date: Jan 2004
Location: Limerick, PA
Posts: 693
|
Try something like this...
And, man vifs makes it sound like you should definitely use vifs to edit it. |
|||||||||||||||||||
|
|
|
![]() |
| Tags |
| 10.8, boot, bootcamp, mountain lion, partition |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|