Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Keep Boot Camp partitions off the desktop System 10.5
I wanted to prevent the Boot Camp partition from showing up on my user's destkop, while not preventing other mounted disks from showing there. I had tried editing the /etc/fstab file, but ran into glitches when putting that into an image (OS X and Windows XP) and mass-duplicating it for my 6,000 MacBook users. I then noticed that Boot Camp would pick up what the volume's name was in Windows, and name it in OS X accordingly. So I simply put a dot in front of the name while booted into Windows, and rebooted into OS X.

After doing this, the partition no longer shows the hard drive icon on the desktop. It doesn't hide the partition from Finder windows, but it does not show it on the desktop. It was a quick and dirty solution that also worked with the image I created. I believe this only works in the newest version of Boot Camp.

[robg adds: I've marked this one 10.5-only for now; if you've got Boot Camp in 10.4 and can test it, please post in the comments.]
    •    
  • Currently 2.57 / 5
  You rated: 4 / 5 (7 votes cast)
 
[17,282 views]  

10.5: Keep Boot Camp partitions off the desktop | 8 comments | Create New Account
Click here to return to the '10.5: Keep Boot Camp partitions off the desktop' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Keep Boot Camp partitions off the desktop
Authored by: BrentT on Sep 15, '08 08:23:06AM

In Finder>Preferences>General I found unchecking "Hard disks" and "CDs, DVDs, and iPods" keeps my Boot Camp drive off the desktop. This is OK with me as I usually don't need to see CDs mounted on the desktop as I can reach them through the Sidebar.

In the Finder>Preferences>Sidebar I uncheck "Computer" and "Hard Disks", and check "External Disks", "iDisk", and "CD, DVDs, and iPods"



[ Reply to This | # ]
10.5: Keep Boot Camp partitions off the desktop
Authored by: Gex2501 on Sep 15, '08 04:45:43PM
Acutually I think it's easier to set the bootcamp partition to invisible. I've got bootcamp on 10.5 and 10.4 and this works just fine. I think you'll need the dev tools installed to use the SetFile command. You just execute this in the terminal:

sudo SetFile -a V /Volumes/BOOTCAMP_VOL_NAME/

and that will make it invisible on the desktop and in the finder. Obviously the "BOOTCAMP_VOL_NAME" should be changed to match the name of your bootcamp partition. You can still get to it in the terminal and you can open a finder window to it with command+G if need be. Just use a lowercase 'v' in the command if you want to reverse the process. I can't remember if sudo is necessary but I put it in just in case.

[ Reply to This | # ]
10.5: Keep Boot Camp partitions off the desktop
Authored by: sjk on Sep 15, '08 08:22:36PM
Acutually I think it's easier to set the bootcamp partition to invisible.
That's what I was thinking; thanks for confirming it works.

[ Reply to This | # ]
10.5: Keep Boot Camp partitions off the desktop
Authored by: Pedro Estarque on Sep 15, '08 09:43:26AM
if you've got Boot Camp in 10.4 and can test it, please post in the comments.

I think Boot Camp has expired for 10.4.

[ Reply to This | # ]
10.5: Keep Boot Camp partitions off the desktop
Authored by: hazkid on Sep 15, '08 02:48:36PM

It still works on 10.4. The license, may have expired, but the software is still 100% usable. There are plenty of people out there who are using it with 10.4 and don't even know the license is expired (and it doesn't matter anyways), so if someone with 10.4 could test it, that would be awesome.

---
Naren Hazareesingh



[ Reply to This | # ]
10.5: Keep Boot Camp partitions off the desktop
Authored by: Nick Barron on Sep 16, '08 04:59:36AM

I see no reason why you can not use the simple command chflags. This will hide the volume or directory you select from the Finder.

chflags hidden /path to directory/volume

i.e /Volumes/WindowsInfestation

to undo simply chflags nohidden /path to directory/volume

This should solve your issue without altering the name etc

Nick



[ Reply to This | # ]
10.5: Keep Boot Camp partitions off the desktop
Authored by: marriott on Sep 30, '08 12:40:29PM

Unfortunately this can't be done if the Windows disk is formatted NTFS (I don't trust the third-party drivers yet).



[ Reply to This | # ]
10.5: Keep Boot Camp partitions off the desktop
Authored by: darrow on Oct 01, '08 04:21:57AM

I came across this before once, shame it doesn't work in Tiger, "invalid flag: hidden"

I just unmount any unwanted volumes including Boot Camp ones, and it's easy to write a script for that.



[ Reply to This | # ]