Hide a Bootcamp volume from OS X

To hide a bootcamp volume in Mac OS X 10.6 you will need to do the following

First, Open Disk Utility, highlight the Windows partition, click on info and note down the UUID

Open TextEdit & create a file called fstab.txt & save it to the root of the OS X partition, enter the following text into it

UUID=EnterUniqueIdentifierHere none ntfs ro,noauto 0 0

For FAT32 formatted partititons, replace ‘ntfs’ with ‘msdos’

Save & quit TextEdit

Open Terminal, rename & move the file to /etc, do this by typing the following

cd /
sudo mv fstab.txt /etc/fstab

Reboot the machine & log in, you should no longer see the Boot Camp partition on the desktop