LinuxQuestions.org
Review your favorite Linux distribution.
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 01-08-2007, 07:12 AM   #1
Rohan Sharma
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Rep: Reputation: 0
Accessing windows files


How can I access my windows files through Linux ?
 
Old 01-08-2007, 07:42 AM   #2
trevelluk
Member
 
Registered: Nov 2003
Location: Bristol, UK
Distribution: Debian Lenny, Gentoo (at work)
Posts: 388

Rep: Reputation: 32
You'll need to give some more information if anyone will be able to help you. In particular, do you want to read a Windows partition from a Linux partition on the same computer (in which case, it's a fairly simple matter of mounting the partition), or access a Windows network share (in which case, you'll need to use Samba).

Once you've confirmed which one it is, I'll be able to give a lot more help.
 
Old 01-08-2007, 07:42 AM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Have you tried using the search function on the forums? This question has been answered a couple of dozen times at least.

You need to set up a mount point and mount the Windows partition with the proper permissions.
 
Old 01-08-2007, 07:43 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
<chorus> There are a great many threads dealing with this. Can you be more specific? (Which windows files? Where are they? What format? What have you tried? Which distribution?)</chorus>

It is also a help if you edit your profile to include your distribution and location. Thank you.

Also: try reading through the advice link in my sig.

Last edited by Simon Bridge; 01-08-2007 at 07:47 AM.
 
Old 01-10-2007, 08:05 AM   #5
Rohan Sharma
LQ Newbie
 
Registered: Jan 2007
Posts: 2

Original Poster
Rep: Reputation: 0
details of my problem

i have recently installed red hat enterprise linux WS 11 on my system ,I know nothing about linux so I want access my pictures and songs stored in drive c (fat32)of windows.Please help for the same ,thanks in advance.
 
Old 01-10-2007, 07:54 PM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
In what way are the previous replies not adequate?
 
Old 01-11-2007, 03:51 AM   #7
ecuas
Member
 
Registered: Dec 2006
Location: India
Distribution: openSUSE 10.2/ Gentoo 2006.1
Posts: 50

Rep: Reputation: 15
explore arnd a bit in the file manager. you should see a folder called mnt in your root (\) directory. see if there is any folder with a name having 'windows' in it.
if not, you will have to manually mount the windows partition. Google for a basic linux tutorial and you should find how to do it.
 
Old 01-11-2007, 04:47 AM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
All right - pity previals...

If this is a dual boot configuration, windows C: drive will be the first or second partition on the first hard-drive. That is, /dev/hda1 or /dev/hda2. For the sake of an example, I'm going to assume /dev/hda1 - but you should check.

You can find out from a shell terminal by entering "fdisk -l" and looking for vfat (fat32) or ntfs filesystems.

very simply, it goes:

$ su
password:
# mkdir /mnt/windows
# mount -t vfat /dev/hda1 /mnt/windows
# cd /mnt/windows/'My Documents'
# ls

for a fat32 partition and

# ntfs-3g /dev/hda1 /mnt/windows

replaces the "mount" command for an ntfs partition.

For more flexible access, you can fiddle the option in mount. You can also get this to mount at boot time by editing /etc/fstab (man fstab)
 
Old 01-11-2007, 05:18 AM   #9
Ugly_Gaut_Cow
LQ Newbie
 
Registered: Jan 2007
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge
All right - pity previals...
One man can't dig a mine, it takes a team of people. There's nothing wrong with holding someone's hand and showing them right way to be successful at the basics of what they desire to accomplish.

IF you think WAY back in life, I'm sure you can remember the same treatment when you were first learning to walk. By even attempting to install linux on his machine it seems to indicate his desire to take those "first steps".

There's no need to "pitty" anyone. Simply exercising common sense and realizing everyone learns differently should be more than enough.

You can light the "flame" now.
 
Old 01-11-2007, 03:21 PM   #10
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
In my sig, there is a link. Follow it and have a read.

Quote:
There's nothing wrong with holding someone's hand and showing them right way to be successful at the basics of what they desire to accomplish.
And the right way for OP to find out the answer to the question is to use the search engine. He was taken by the hand and pointed to the right place. OP was reassured that the information is easy to find. OP remained obstinate about needing to be spoonfed. Hence: pity. Nothing wrong with that. It is as if I told someone to "walk this way", only to discover they were too young to know how (or needed corn plasters (sic)).

I've got an analogy for you:
Some time ago I saw someone with a white cane enter a construction site and march purposefully towards an open pit. I figured this guy could do with being led a bit so I called out. There's no pity involved there.

Pity the fully able-bodied person who stands in the middle of the same site and yells to be lead out...

Last edited by Simon Bridge; 01-11-2007 at 03:23 PM.
 
Old 01-11-2007, 07:53 PM   #11
Ugly_Gaut_Cow
LQ Newbie
 
Registered: Jan 2007
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge
In my sig, there is a link. Follow it and have a read.

And the right way for OP to find out the answer to the question is to use the search engine. He was taken by the hand and pointed to the right place. OP was reassured that the information is easy to find. OP remained obstinate about needing to be spoonfed. Hence: pity. Nothing wrong with that. It is as if I told someone to "walk this way", only to discover they were too young to know how (or needed corn plasters (sic)).

I've got an analogy for you:
Some time ago I saw someone with a white cane enter a construction site and march purposefully towards an open pit. I figured this guy could do with being led a bit so I called out. There's no pity involved there.

Pity the fully able-bodied person who stands in the middle of the same site and yells to be lead out...

I'm confused...

Was he fully blind, legally blind or just someone with a white cane?

I'm going to assume he was just a guy carrying coloured stick. Borrowed perhaps, but blind? Doesn't make sense. I mean, after all -he "purposefully" marched towards the pit.

What confuses me even further is that one would be willing to assist someone who wasn't looking for help but was intent on causing them self harm "purposefully".

But alas, this is not about the impaired, nor "fully-able" persons or even analogous creativity. It's about comprehensive knowledge (an in-depth acquisition of facts particular to any given topic) and in the end - you're right. There's nothing about this topic anyone can acquire from you that they can't get from a book or other resources.
 
Old 01-11-2007, 11:48 PM   #12
manianbala29
LQ Newbie
 
Registered: Jan 2007
Posts: 8

Rep: Reputation: 0
I am running windows XP and RHEL 4 on my machine
how to mount ntfs partition on linux
explain what is to written in the fstab
thanks
 
Old 01-12-2007, 08:08 AM   #13
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Was he fully blind, legally blind or just someone with a white cane?

The ambiguity was deliberate... this unusual situation clearly begs some questions, like "Are you blind?" Of course, there were other clues... but in the first analysis, all I objectively knew was that he had a white cane.

Quote:
What confuses me even further is that one would be willing to assist someone who wasn't looking for help but was intent on causing them self harm "purposefully".
I don't like people hurting themselves around me. I'm startled that you would be so detached about it... perhaps this is a cultural thing. Morality often is.

Quote:
There's nothing about this topic anyone can acquire from you that they can't get from a book or other resources.
Or, indeed, from other threads in LQ.

"Give a man a fish and you feed him for a day; teach a man to fish with your patent rods and tools designed to work only with each other and you create a captive market." Or..... something.
 
Old 01-12-2007, 08:09 AM   #14
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
I am running windows XP and RHEL 4 on my machine
how to mount ntfs partition on linux
explain what is to written in the fstab
thanks
... you're welcome.

Is there a problem with my previous answer to this question?
 
  


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
Accessing Linux files within Windows gaurav wadhwa24 Linux - General 7 01-21-2006 12:54 AM
accessing windows files from linux... kb_ganesh Linux - Newbie 2 06-24-2005 04:27 AM
Accessing Windows Files jd300 Linux - Newbie 15 09-27-2003 09:21 AM
accessing windows files from redhat 9 raven0_15 Linux - Networking 3 09-20-2003 01:00 AM
Accessing Windows files redhatnoob Linux - Distributions 5 08-11-2003 01:15 AM

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

All times are GMT -5. The time now is 07:45 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