|
|
Getting a Partition NOT to Mount at Startup
|
|
|
|
Junior Member
Join Date: Nov 2004
Status:
Offline
|
|
Is there a method of getting a partition NOT to mount at startup?
Thanks.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jun 2004
Location: Edmonton, AB
Status:
Offline
|
|
You go to system preferences and choose a different boot volume or I think you can hold option at startup
|
|
|
|
|
|
|
|
|
Moderator Emeritus
Join Date: Sep 2001
Location: Arizona
Status:
Offline
|
|
His question was about volume mounting, not selecting the boot device.
|
I like chicken
I like liver
Meow Mix, Meow Mix
Please de-liv-er
|
|
|
|
|
|
|
|
Junior Member
Join Date: Nov 2004
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jun 2000
Location: If I tellz ya, then I gotsta killz ya !
Status:
Offline
|
|
Originally posted by latrapeze:
Is there a method of getting a partition NOT to mount at startup?
Thanks.
In Panther......
Disk Utility >> highlight the partition >> select "unmount" from the toolbar >> whalah
to remount at any time, choose "mount"
|
Personally I find it hilarious that you have the hots for my gramma. Especially seeins how she is 3x your age, and makes your Brittney-Spears-wannabe 30-something wife look like a rag doll who went thru WWIII with a burning stick of dynamite up her a** :)
|
|
|
|
|
|
|
|
Junior Member
Join Date: Nov 2004
Status:
Offline
|
|
Yes, but can you get this to take place at start-up automatically and then mount the disk manually through Disk Utility when needed?
Thanks.
Phil
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Mar 2000
Location: meow meow meow meow, meow meow meow meow, meow meow meow meow meow meow meow meo
Status:
Offline
|
|
I have a lock on this thread and will beam it to the Mac OS X fourm, its not appropriate to the mac mod forum.
Engage!
|
sine -''-..-
now known as pillowcase
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jun 2004
Location: Edmonton, AB
Status:
Offline
|
|
sorry I guess i didn't fully understand the question, now that it has been answered there is no need for me here.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: Chico, CA and Carlsbad, CA.
Status:
Offline
|
|
Originally posted by macaddict0001:
sorry I guess i didn't fully understand the question, now that it has been answered there is no need for me here.
It wasn't answered. Using Disk Utility only unmounts the drive one time, it'll be back the next time he restarts (no different than ejecting a drive by dragging it to the trash can). On a normal *nix box I imagine you'd have to edit the filesystem table at /etc/fstab, but I don't think that same rules apply here. Plug and play dominates... hah.
The best thing I can think of is an Applescript that runs upon login that "tells" the Finder to eject the particular volume.
|
"In Nomine Patris, Et Fili, Et Spiritus Sancti"
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Mar 2004
Status:
Offline
|
|
Originally posted by [APi]TheMan:
The best thing I can think of is an Applescript that runs upon login that "tells" the Finder to eject the particular volume.
Haven't done it myself, but recall reading a discussion back in the early Jaguar days. The script approach worked, but with one hitch: If the user logging in wasn't an admin, the OS would ask for an admin password before allowing the volume to be unmounted. Two possible ways of working around that were 1] put a password in the script (insecure), and 2] edit the sudoers file to allow all users access to that one command (disktool -p).
Not sure how much of this still applies in Panther.
|
-HI-
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Edit /etc/fstab. See the diskarbitrationd manpage - i think "noauto" in the flags will do it.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: May 2002
Location: Austria
Status:
Offline
|
|
You can do this with VolumeWorks from SubRosaSoft. It can hide partitions, so that they won't be mounted automatically. VolumeWorks is not free, however.
|
|
|
|
|
|
|
|
|
Moderator
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
The cleanest way is to unset the "automount" flag in the partition map. I know that you could do this with Norton back in the OS 9 (or rather, 7) days. Today you'll have to use pdisk in the terminal, and pdisk is not for the faint of heart. Try "pdisk -h" to get some quick documentation on how it works. Essentially, what you want is something like
sudo pdisk /dev/disk0 -setAutoMount 9 0
Where:
/dev/disk0 is the device name for the raw device. You can get this from Disk Utility by selecting the disk (not its partition) and getting info - add "/dev/" before the name do it looks like my example above. You can get it from "df" as well.
9 is the number of the partition, or rather of the slice. That you can also see in Disk Utility, if you select the partition, Get Info, and read the number at the bottom of the info screen (Partition Number).
0 is the flag, 0 for false or 1 for true.
Oh yeah, and BACK UP YOUR DATA before messing with pdisk. Really!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|