LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu 12.04 can't change directory to another disk (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-12-04-cant-change-directory-to-another-disk-4175428115/)

muletopia 09-19-2012 09:29 PM

Ubuntu 12.04 can't change directory to another disk
 
I have dual boot win 7/Ubuntu 12.04 on a solid state drive. The system also has a terabyte mechanical drive. Windows sees this as E: with label "New Volume".
In Linux Dash home find file lists "New Volume".
How do I go there, GUI & Terminal? I work almost exclusively from terminal

JaseP 09-19-2012 09:42 PM

Linux calls it "New Volume?!" It is most likely mounted in /mnt or /media then...

In Nautilus,... make sure the Right hand side pane is open (F9, I think) and look to see any mounted external drives are present. Click on them and take note of it's location.

Changing directories under the command line is done with the cd command...

Hungry ghost 09-19-2012 10:21 PM

Provided that the device you want to cd into is automatically mounted, execute df -h to see the list of mounted devices and their mount points. The last column is the mount point, so if for example you see something like this:

Code:

/dev/sdb1    240G  105G  135G  44% /media/NewVolume
then you just have to execute: cd /media/NewVolume. If it's not automatically mounted, then you have to figure out what's the device, create a mount point for it and mount it. As root execute:

Code:

fdisk -l
It will show you which storage devices you have on your machine and their partitions. Then you just have to create the mount point for it on /mnt or /media and mount it there:

Code:

mkdir /media/data
mount /dev/sdXN /media/data
cd /media/data


muletopia 10-03-2012 07:43 AM

change directory
 
Thank you odise077, did that ok and edited fstab to make it mount at bootup


All times are GMT -5. The time now is 12:09 AM.