Can I Hide the XP Partition on my OSX Desktop?

Discussion in 'Windows, Linux & Others on the Mac' started by Chack, Dec 15, 2006.

  1. Chack macrumors newbie

    Joined:
    Nov 22, 2006
    Location:
    Portland, OR
    #1
    It's just sitting there, calling itself "Untitled" and looking ugly :/

    Is there a way to hide this volume so that I don't have to see it on the Desktop and in the Finder?

    EDIT: Ok, so I found out that I can unmount it in DiskUtility, so maybe there is a way to do that automatically on OSX startup? An AppleScript or something perhaps.
     
  2. kewpid macrumors regular

    Joined:
    Apr 17, 2003
    #2
    Boot back into XP. Right-click My Computer > Manage > Disk Management

    Then rename the disk to something beginning with "." (a period). It should then be invisible to the Mac Finder.
     
  3. Chack thread starter macrumors newbie

    Joined:
    Nov 22, 2006
    Location:
    Portland, OR
    #3
    That is a good idea. Here is what I did instead, though:

    I made an applescript that is just
    Code:
    do shell script "diskutil unmount \"/Volumes/Untitled\""
    saved it as an application, went to Users in SystemPrefs and added it to my Startup Items. Now when I restart it runs this app and unmounts the partition.

    Of course, I would have to make another script that would mount it and launch Parallels, so maybe I will just use your idea instead.

    Thanks!
     
  4. Chack thread starter macrumors newbie

    Joined:
    Nov 22, 2006
    Location:
    Portland, OR
    #4
    Yes, your approach was much more elegant. Worked perfectly.
     
  5. joeyslaptop macrumors newbie

    Joined:
    Oct 24, 2007
    #5
    Even better!

    This one is an AppleScript. Just open Script Editor and cut and paste this in. Change "NameofDisk" to your actual disk name and then run the script.


    tell application "System Events"
    set visible of disk "NameofDisk" to false
    end tell
    tell application "Finder" to quit
    delay 1
    tell application "Finder" to launch


    This way doesn't require a startup script to run every time. It still shows up in DiskUtility.
     
  6. stadidas macrumors regular

    Joined:
    Feb 27, 2006
    Location:
    Kent, United Kingdom
    #6
    I tried this using:

    tell application "System Events"
    set visible of disk "Untitled" to false
    end tell
    tell application "Finder" to quit
    delay 1
    tell application "Finder" to launch

    Untitled is the name of the disk on the desktop, but after Finder re-launches, it is still visible.
     

Share This Page