To change the name of your Windows partition:
If your Windows partition is formatted as NTFS, you must change its name only in Windows since OSX cannot write to it.
If the partition is FAT32, you can change the name of the partition just like anything else:click on the icon, press <Enter>, type name, press <Enter>.
You can stop ALL drive icons from appearing on your Desktop:
Finder menu -> Preferences -> General -> UNcheck the "Hard Disk" box
To access your hidden drives/partitions, click on the Finder icon in the Dock and select the disk/partition in the left pane.
If you only want to unmount the Windows partition, then use Terminal (in Utilities folder) to create a system file called rc.local.
Type this in Terminal:
CODE
diskutil list <-- get the Name of the Windows partition
- I'll assume it is "Untitled"
sudo nano /etc/rc.local <-- 2 slashes in there, don't lose one
(give password)
diskutil unmount "/Volumes/Untitled" <-- use correct name there
- use quotes if name has spaces
(press Control-O to save)
(press Y and then Enter to accept)
(press Control-X to exit)
Then reboot.
Since the partition is unmounted, you will not be able to browse Windows files from OSX.