Resolved Getting Rid of Virtual Disk

Discussion in 'OS X Mountain Lion (10.8)' started by iPhoneApple, Aug 26, 2012.

  1. iPhoneApple, Aug 26, 2012
    Last edited: Aug 26, 2012

    iPhoneApple macrumors 6502

    Joined:
    Jan 24, 2011
    #1
    I tried to use VirtualBox to add a virtual disk for Windows 8. After deciding not to use it anymore, I used the included uninstall terminal file from Virtualbox to get rid of it, but I am stuck with this 17.8 GB file (Windows 8 Consumer Preview.vdi). Where can I delete this file, because I only see it in spotlight and finder doesn't show it.

    Thanks
     
  2. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #2
    You can delete it from terminal. I don't remember VirtualBox making the disk hidden though.
     
  3. iPhoneApple thread starter macrumors 6502

    Joined:
    Jan 24, 2011
    #3
    What do I type in terminal to get rid of it?
     
  4. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #4
    I'm not at my Mac right now to check this, but I think you can drag straight from Spotlight to the Trash.
     
  5. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #5
    Use spotlight to find the location

    If you hover over the preview of the document and hold the command key down spotlight will scroll the file location on the bottom of the preview

    Then open terminal navigate to the location by typing "cd /location" and hit enter
    then type "sudo rm Preview.vdi"

    It will ask for your password.

    ----------

    You're right you can. That would be the quickest solution.
     
  6. iPhoneApple thread starter macrumors 6502

    Joined:
    Jan 24, 2011
    #6
    This file won't let me.



    I can't find the location. I wonder if redownloading VirtualBox will let me delete this .vdi file
     
  7. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #7
    Strange, it's just a file. Even hidden ls -a will list it. In terminal go to Documents and look for VirtualBox, and then look in that folder.

    ----------

    From their website
    https://www.virtualbox.org/manual/ch10.html#idp17581408

    Starting with version 4.0, by default, each virtual machine has one directory on your host computer where all the files of that machine are stored -- the XML settings file (with a .vbox file extension) and its disk images.

    By default, this "machine folder" is placed in a common folder called "VirtualBox VMs", which VirtualBox creates in the current system user's home directory. The location of this home directory depends on the conventions of the host operating system:

    On Windows, this is %HOMEDRIVE%%HOMEPATH%; typically something like C:\Documents and Settings\Username\.

    On Mac OS X, this is /Users/username.

    On Linux and Solaris, this is /home/username.

    For simplicity, we will abbreviate this as $HOME below. Using that convention, the common folder for all virtual machines is $HOME/VirtualBox VMs.

    As an example, when you create a virtual machine called "Example VM", you will find that VirtualBox creates

    the folder $HOME/VirtualBox VMs/Example VM/ and, in that folder,

    the settings file Example VM.vbox and

    the virtual disk image Example VM.vdi.



    It looks like the location is /Users/username.
    So it is not in Documents, but at the root of your home directory.
     
  8. Mr. Retrofire macrumors 601

    Mr. Retrofire

    Joined:
    Mar 2, 2010
    Location:
    www.emiliana.cl/en
    #8
    Use Find Any File. This tool finds all files. :)
     
  9. iPhoneApple thread starter macrumors 6502

    Joined:
    Jan 24, 2011
    #9
    Wow! Great app! It found some

    I attached a picture of what it looks like in Spotlight.
     

    Attached Files:

  10. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #10
    and you looked in /Users/username for the folder which should have the .vdi ?
     
  11. iPhoneApple thread starter macrumors 6502

    Joined:
    Jan 24, 2011
    #11
    Yep. It's not there and Spotlight won't show me where its located.
     
  12. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #12
    Download a demo of DaisyDisk and look for a large file ( 17.8GB ) then delete that way. I don't know where the file is.

    http://daisydiskapp.com
     
  13. iPhoneApple thread starter macrumors 6502

    Joined:
    Jan 24, 2011
    #13
    This worked. Thanks for this app!
     
  14. mrapplegate macrumors 68030

    Joined:
    Feb 26, 2011
    Location:
    Cincinnati, OH
    #14
    Welcome. Where did it end up being located ?
     
  15. iPhoneApple thread starter macrumors 6502

    Joined:
    Jan 24, 2011
    #15
    It was hidden for in the Application Support folder. Still not sure how it got there.
     

Share This Page