LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 07-13-2003, 08:22 PM   #1
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
can linux be made to read ntfs


that's the question, is there any way to make linux read and write to an ntfs partition?
 
Old 07-13-2003, 08:28 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
read yes, write no
 
Old 07-13-2003, 08:30 PM   #3
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Original Poster
Rep: Reputation: 30
how can i make it read?

when i try mounting it like so:

mount /dev/hda2 /mnt/ntfsdrive

it tells me ntfs is not supported
 
Old 07-13-2003, 08:34 PM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You have to either recompile your kernel

Or

Install the NTFS RPMs

Linux-NTFS Project
http://linux-ntfs.sourceforge.net/index.html
 
Old 07-13-2003, 08:47 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi TheOneAndOnlySM


The general format for a temporary mount - (not a tablefile one) would be ( I'd test it out this way first before making an entry in /etc/fstab )

mount -t ntfs -o ro /dev/hda2 /mnt/yourname

That's if /dev/hda2 is your ntfs partiiton

/mnt/yourname - would just be the path to the directory that you have created as a mount point for the ntfs partition


I'd check the man pages though
 
Old 07-13-2003, 08:53 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
It would be very beneficial to you to place your distro in your user cp (at the top of page). This will display it under your username and really help us out a lot when answering your questions.

For example:
RH doesn't include NTFS support by default and requires a bit of work to get it in there (from the page listed in an above post).

Cool
 
Old 07-13-2003, 08:58 PM   #7
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Original Poster
Rep: Reputation: 30
ok, ya, just noticed that my distro isn't listed, but thx i got ntfs to mount, thx for the link and commands everyone and all the help

Last edited by TheOneAndOnlySM; 07-13-2003 at 09:02 PM.
 
Old 07-13-2003, 09:04 PM   #8
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
If you created a directory to use as a mount point and called it "yourname" and you created it in the /mnt directory then the unmount command would be

umount /mnt/yourname

Remember - its umount not unmount
 
Old 07-13-2003, 10:29 PM   #9
warkrime
Member
 
Registered: Jul 2003
Location: Sammamish, WA, USA
Distribution: Gentoo
Posts: 42

Rep: Reputation: 15
Quote:
Originally posted by Skyline
Remember - its umount not unmount
WTF? That actually makes me feel angry.
 
Old 07-14-2003, 12:49 AM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Let's talk about your father... Why does that make you feel angry?

Cool
 
Old 07-14-2003, 05:09 PM   #11
warkrime
Member
 
Registered: Jul 2003
Location: Sammamish, WA, USA
Distribution: Gentoo
Posts: 42

Rep: Reputation: 15
Quote:
Originally posted by MasterC
Let's talk about your father... Why does that make you feel angry?

Cool
I dunno.....I was in a bad mood that day, angry at my inability to use Linux like I can Windows. It is kind of silly though. Right?
 
Old 07-14-2003, 05:52 PM   #12
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Warkrime

theOneandonlysm asked a question about unmounting then Edited it out a few minutes later - in the interim I replied.

For your information - its a common mistake - I was being accurate and helpful.
 
Old 07-15-2003, 01:54 PM   #13
warkrime
Member
 
Registered: Jul 2003
Location: Sammamish, WA, USA
Distribution: Gentoo
Posts: 42

Rep: Reputation: 15
Quote:
Originally posted by Skyline
Warkrime

theOneandonlysm asked a question about unmounting then Edited it out a few minutes later - in the interim I replied.

For your information - its a common mistake - I was being accurate and helpful.
I think you misunderstood me. I was angry that the command for unmounting was umount as opposed to unmount.
 
Old 07-16-2003, 08:14 AM   #14
Mons
LQ Newbie
 
Registered: Jul 2003
Location: Kerala
Posts: 5

Rep: Reputation: 0
Hello Skyline:
I tried the command:
mount -t ntfs -o ro /dev/hda2 /mnt/yourname
1)I succeeded in loading ntfs files in linux. But if I logout and try to access the files the next time I login,I am unable to do so.Is it possible to make linux permanently detect the ntfs files .
2) Few of my windows partitions have files in both ntfs and fat32 formats. So when I mount the drive as ntfs,I am unable to access the fat32 files; and vice versa.
Is it possible to make linux detect both file systems simultaneously from the same partition.
Thanking you,
Mons....
 
Old 07-18-2003, 11:14 AM   #15
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Apologies Warkrime - my misinterpretation.

Mons - I've been away for a couple of days climbing the Pike of Blisco in the Lake district in England.

Mons - Anyway - the idea is to put an entry in your Filesystem tablefile otherwise known as /ect/fstab - its just a configuration file in your /etc directory.

Putting an entry in here will enable your NTFS partition to be mounted on boot.

So - for example - if your NTFS partition is /dev/hda2 and your mount point is /mnt/mons - then the entry would be

/dev/hda2 /mnt/mons ntfs ro,auto, 1 1

remember to put this line at the bottom of your /ect/fstab file

Just use a text editor to open it up and remmeber to save it.


Regards a Shared Data partition - the best way of doing it is to format a partition with FAT32 - then both XP/2K and Linux can both read/write to and from this partition.
 
  


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
Does Linux support Read-Write in NTFS? hackerarchangel Linux - Newbie 3 09-25-2005 02:31 AM
Can I mount an ntfs partition or read one using linux? r_squared Linux - General 8 11-20-2004 12:18 PM
Linux can read NTFS partitions...how? Quew Linux - Newbie 4 12-28-2003 04:32 PM
Read multi partitions in Windows NTFS from linux java8964 Linux - General 5 11-19-2003 11:18 AM
Can Linux read NTFS files and viceversa? vdorta Linux - General 2 08-19-2002 04:52 PM


All times are GMT -5. The time now is 04:06 AM.

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