Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have 750GB Internal Hard-Disk, with 4 partition.

One partition is for Ubuntu, Another 3 partition are only for storage.

One of my partition name was "Virtual Box". Suddenly, Partition name in sidebar shows "Virtual Box", But when i check properties of partition it shows "/media/Virtual Box2/"

enter image description here

And When i Go to Command line and do ls inside /media/ directory. It shows below 3 partition. enter image description here

And I have Ubuntu Virtual box file in my "Virtual Box" partition, but it says "Access Denied" for "Virtual Box1" Name there.

enter image description here

Kindly help me in Fixing my Partition. I am not able to open my "virtualbox" file.

share|improve this question

migrated from stackoverflow.com Dec 19 '13 at 12:06

This question came from our site for professional and enthusiast programmers.

    
Oh Thanks, Can any 'Moderator', move my question there. Thanks –  John Cargo Dec 19 '13 at 10:13
1  
I flagged it, hopefully they will move it. –  fedorqui Dec 19 '13 at 10:17
    
No Answers yet :( –  John Cargo Dec 19 '13 at 13:01
1  
Please edit your question with the output of ls -l of the /media/???/ directory. Obfuscating the file paths really isn't necessary, BTW. –  douggro Dec 19 '13 at 15:36

1 Answer 1

up vote 0 down vote accepted

When we take a look to your ls -l /media/$USER we will make sure. But the guesses now is that you have not 1 but 2 directories called Virtual Box in /media/$USER. The easiest way to solve this is:

  1. Make all directories symbolic links of /media/$USER/Virtual Box:

    sudo umount /media/$USER/Virtual\ Box2
    sudo umount /media/$USER/Virtual\ Box1
    sudo umount /media/$USER/Virtual\ Box
    mv /media/$USER/Virtual\ Box2 /media/$USER/Virtual\ Box
    mv /media/$USER/Virtual\ Box1 /media/$USER/Virtual\ Box
    ln -s /media/$USER/Virtual\ Box2 /media/$USER/Virtual\ Box
    ln -s /media/$USER/Virtual\ Box1 /media/$USER/Virtual\ Box
    
  2. Remove the others directories and remount the drive again:

    sudo umount /media/$USER/Virtual\ Box2
    sudo umount /media/$USER/Virtual\ Box1
    sudo umount /media/$USER/Virtual\ Box
    rm -ri /media/$USER/Virtual\ Box2
    rm -ri /media/$USER/Virtual\ Box1
    rm -ri /media/$USER/Virtual\ Box
    

    Restart the system.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.