LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Navigating to Windows partition in Terminal (https://www.linuxquestions.org/questions/linux-newbie-8/navigating-to-windows-partition-in-terminal-868506/)

davidmgonzalez14 03-14-2011 11:32 AM

Navigating to Windows partition in Terminal
 
Hi there,

I'm still somewhat of a n00b to ubuntu, so please excuse the probable fail of this post.

So a while back i dual booted Ubuntu along with my Windows 7 operating system. I'm trying to navigate to the directories in my Windows partiion, which includes a C (0S) partion and D (Data parttion).

df yields
david@david-laptop:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda6 79165336 49964748 25179188 67% /
none 1542220 300 1541920 1% /dev
none 1547824 2336 1545488 1% /dev/shm
none 1547824 224 1547600 1% /var/run
none 1547824 0 1547824 0% /var/lock
/dev/sdb1 1949340 31616 1917724 2% /media/PENDRIVE
/dev/sda5 135184260 63714256 71470004 48% /media/DATA
/dev/sda2 78139320 59339852 18799468 76% /media/OS


however, when i try to navigate into /dev/sda2 I get the following

david@david-laptop:~$ /dev/sdb1
bash: /dev/sdb1: Permission denied

Ive been reading around and I think my problem is that I'm not root, though I dont fully understand what this means. Can someone please help/explain this to me?

THanks,
David

corp769 03-14-2011 11:43 AM

Quote:

/dev/sdb1 1949340 31616 1917724 2% /media/PENDRIVE
/dev/sda5 135184260 63714256 71470004 48% /media/DATA
/dev/sda2 78139320 59339852 18799468 76% /media/OS
Why would you type /dev/sdb1 to access /dev/sda2? /dev/sda2 is mounted to /media/OS, so you will need to type the following:
Code:

cd /media/OS/
Cheers,

Josh


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