LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to access windows drive on linux ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-access-windows-drive-on-linux-606717/)

anuj_sri 12-14-2007 05:28 AM

How to access windows drive on linux ?
 
Hello,
I have dual OS on my system, win xp and rhel 5 linux
I have ntfs partition for linux.
I want to know how can I access my windows drive while I am working with linux ?
i am new to linux, I don't know how to find out whether my windows drive is mounted on linux ?:) But i am sure it is..

Thanks

saheelahamed 12-14-2007 05:39 AM

Use smbmount command

Dinithion 12-14-2007 05:55 AM

to check if your windows drive is mounted, simply start a terminal and type:
mount
That one will give you a lot of extra partitions, so it can be hard to se if you don't know what you are looking for. To list out partitions of ntfs filesystem, type this insted:
mount | grep ntfs

If your drive is unmounted, you could do something like this:

If you want to write to the partition, you have to install ntfs-3g (I'm not sure if it comes as default in rhel5).
If you only need to read from the partition, you can mount it (usualy without any any need to add modules to the kernel). First figure out what partition it is, to do so, use fdisk or cfdisk. Make a folder to mount the partition to, mkdir /media/ntfs or something else describing. If your partitions name is i.e. /dev/sda1, you can mount it like this:
mount -t ntfs -o umask=000 /dev/sda1 /media/ntfs.


All times are GMT -5. The time now is 10:37 PM.