LinuxQuestions.org
Help answer threads with 0 replies.
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 04-30-2003, 09:53 PM   #1
NSCooper
LQ Newbie
 
Registered: Apr 2003
Location: Arlington, VA
Posts: 2

Rep: Reputation: 0
Angry How do I access windows files in Linux


I know there is a way to read and edit the windows files from Linux. I am using Redhat 8.0 + SGI . Does anyone know how read and edit windows files while on Linux????

Last edited by NSCooper; 05-01-2003 at 10:30 AM.
 
Old 04-30-2003, 10:32 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I don't understand. Edit the kernel? SGI? If Windows is on the first partition of the first hard drive, just mount /dev/hda1 under, say, /mnt/win or whatever's convenient and do 'someeditor /mnt/win/somefile'. There's a difference between line breaks between Win and Lin, but most editors seem to handle that transparently. Unless you mean Windows is NTFS format? Then, with RH, I'd imagine NTFS reads would be enabled. I guess you could mount, copy to Linux, then edit. Writing to NTFS can be enabled by recompiling the kernel, but it's pretty experimental.

Was any of that on target at all?
 
Old 05-01-2003, 10:35 AM   #3
NSCooper
LQ Newbie
 
Registered: Apr 2003
Location: Arlington, VA
Posts: 2

Original Poster
Rep: Reputation: 0
Thankx for ur help, and would u happen to know how i edit the kernel to allow me to access the NTFS files?
Oh and I am using RedHat 8.0 +SGI and it does not have NTFS support. My harddrive that has WinXP on it, was formatted to NTFS.

Last edited by NSCooper; 05-01-2003 at 10:43 AM.
 
Old 05-01-2003, 11:57 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
http://linux-ntfs.sourceforge.net/info/redhat.html

The link above will give you the module to add NTFS support to your kernel. It is READ-ONLY though. Writing to an NTFS partition is not supported yet.(At least I don't think so)
 
Old 05-02-2003, 05:56 PM   #5
BrandonWood
LQ Newbie
 
Registered: May 2003
Posts: 2

Rep: Reputation: 0
Hi,
I'm running RH9, and I installed the NTFS support.
i did:
mkdir /mnt/hda1
mount -t ntfs /dev/hda1 /mnt/hda1
However, I can only access the mounted files as root
How can I change the permissions to allow me to get into the folder with my normal user?
 
Old 05-02-2003, 09:01 PM   #6
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
What are the permissions on /mnt/hda1 ?
 
Old 05-02-2003, 10:55 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Quote:
Originally posted by Crashed_Again
http://linux-ntfs.sourceforge.net/info/redhat.html

The link above will give you the module to add NTFS support to your kernel. It is READ-ONLY though. Writing to an NTFS partition is not supported yet.(At least I don't think so)
Supported, yes; suggested, A BIG FAT echoing - He!! no. Don't do it. There are some that will say "I've enabled it and had no problems" well good for them and lucky them. It's not stable, not near stable (yet) and can actually damage the physical drive (not just the filesystem) supposedly.

Quote:
Originally Posted by BrandonWood

How can I change the permissions to allow me to get into the folder with my normal user?
Edit /etc/fstab Believe it or not this is gone over ~1/week here and a search will reveal a plethora of information on it. However, maybe your situation is "different" so if you could post up your /etc/fstab I/we'll be glad to assist in the editing

The skinny:
/dev/hdx /mnt/ntfs ntfs users,auto,ro,umask=007 0 0

HTH

Cool
 
Old 05-02-2003, 10:56 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Quote:
Originally posted by Crashed_Again
What are the permissions on /mnt/hda1 ?
usually the permissions on the mount point are irrelevant to the mounting partition if fstab overrides those permissions with umask, gid or uid options.

At least this has been my experience

Cool
 
Old 05-03-2003, 06:39 AM   #9
Ju Deddo Koinu
Member
 
Registered: Apr 2003
Location: Austin, TX
Distribution: RedHat 9 w/ KDE
Posts: 86

Rep: Reputation: 15
I have "windows files" in a second partition on my drive (I play the MP3's I garnered from the net from that partition, cause it's easier than moving over all 40 gigs), and I have no problems USING them... I just mount the drive as type "vfat"

But I have another problem... When I move or edit the files... They become corrupted, and I'm not sure how to remedy this...
 
  


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
view/edit Windows folders/files in Fedora 2 or 4 kkeith Linux - Networking 3 10-13-2005 01:19 PM
Linux to edit Windows eggonabull General 2 08-20-2004 10:45 PM
Using Linux Redhat 9 to Backup Windows Server Files linuxbuck Linux - Software 1 03-07-2004 08:48 PM
Cannot edit system files in Mandrake Linux... Tommi Linux - Newbie 7 08-14-2003 01:53 PM
How i can see my windows files from redhat? israel Linux - Software 3 07-14-2003 05:32 PM


All times are GMT -5. The time now is 07:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration