LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can linux be made to read ntfs (https://www.linuxquestions.org/questions/linux-newbie-8/can-linux-be-made-to-read-ntfs-72434/)

TheOneAndOnlySM 07-13-2003 08:22 PM

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?

rshaw 07-13-2003 08:28 PM

read yes, write no

TheOneAndOnlySM 07-13-2003 08:30 PM

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

Mathieu 07-13-2003 08:34 PM

You have to either recompile your kernel

Or

Install the NTFS RPMs

Linux-NTFS Project
http://linux-ntfs.sourceforge.net/index.html

Skyline 07-13-2003 08:47 PM

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

MasterC 07-13-2003 08:53 PM

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

TheOneAndOnlySM 07-13-2003 08:58 PM

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

Skyline 07-13-2003 09:04 PM

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

warkrime 07-13-2003 10:29 PM

Quote:

Originally posted by Skyline
Remember - its umount not unmount
WTF? That actually makes me feel angry.

MasterC 07-14-2003 12:49 AM

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

Cool

warkrime 07-14-2003 05:09 PM

Quote:

Originally posted by MasterC
Let's talk about your father... :D 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?

Skyline 07-14-2003 05:52 PM

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.

warkrime 07-15-2003 01:54 PM

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.

Mons 07-16-2003 08:14 AM

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....

Skyline 07-18-2003 11:14 AM

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.


All times are GMT -5. The time now is 09:13 AM.