LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2012, 10:29 PM   #1
muletopia
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Rep: Reputation: Disabled
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
 
Old 09-19-2012, 10:42 PM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,791

Rep: Reputation: 157Reputation: 157
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...

Last edited by JaseP; 09-19-2012 at 10:48 PM.
 
Old 09-19-2012, 11:21 PM   #3
odiseo77
Senior Member
 
Registered: Dec 2004
Location: Caracas, Venezuela
Distribution: Debian Sid, OpenSUSE 13.2
Posts: 1,147

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
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

Last edited by odiseo77; 09-19-2012 at 11:26 PM.
 
Old 10-03-2012, 08:43 AM   #4
muletopia
LQ Newbie
 
Registered: Sep 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
change directory

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
su:warning: cannot change directory to home/orausr: No such file or directory cdhar Linux - Newbie 4 09-11-2012 07:17 AM
change directory permissions in ubuntu rflores2323 Linux - Newbie 4 11-02-2011 12:11 PM
How to change disk size by editing disk information on the hard disk? xptchina Linux - Virtualization and Cloud 2 12-16-2010 09:12 AM
change default vsftp anonymous accout directory /var/ftp to other directory? hocheetiong Linux - Newbie 2 01-24-2010 07:33 PM
how to change the active directory password from ubuntu login page ashokk Ubuntu 2 10-12-2009 02:22 AM


All times are GMT -5. The time now is 08:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration