LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-14-2007, 05:28 AM   #1
anuj_sri
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
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
 
Old 12-14-2007, 05:39 AM   #2
saheelahamed
LQ Newbie
 
Registered: Jul 2007
Location: Bangalore
Posts: 25

Rep: Reputation: 15
Use smbmount command
 
Old 12-14-2007, 05:55 AM   #3
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

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


Reply



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
I want to access windows hard drive on linux kafnir Linux - General 7 05-15-2006 06:10 AM
Drive access from both Windows and Linux stranger777 Linux - Newbie 1 04-12-2006 12:00 PM
access linux hard drive from windows pcandpc Linux - Newbie 12 05-14-2005 04:41 PM
Access contents of Linux drive from Windows???? welchdoc Linux - Newbie 3 11-15-2003 08:19 PM
how to access a Linux drive from Windows 2k euangel Linux - Newbie 3 07-11-2003 08:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration