Computing.Net > Forums > Linux > Mounting NTFS

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Mounting NTFS

Reply to Message Icon

Name: alban
Date: November 30, 2004 at 00:02:21 Pacific
OS: Windows Xp Home
CPU/Ram: 3.06/1GB
Comment:

Hello Everyone,

Can someone please tell how can i save a file in the windows partition using FC3(I cant even mount the windows drive)...I installed "captive" but it gives me an error that i need kernel-source-xyz.i386.rpm and the headers and i dont know how to install them...is there a better and easier way...maybe using knoppix(i can access the drive but it wont let me save)...

Please Help,

-Eagle101



Sponsored Link
Ads by Google

Response Number 1
Name: NoviceW
Date: November 30, 2004 at 03:41:52 Pacific
Reply:

First you should create a directory under mnt called "C" as a root user.
Then you can issue the following commands in shell.

su
>password:"enter your root password"

#mount -t ntfs /dev/hda1 /mnt/C
In the above example I have used hda1 as the windows partition. In your case it can also be something else.

To check whether it is mounted issue the following command.
#df -T

If you want to mount them automatically when you logged in, you have to edit the /etc/fstab. Add the following line to the fstab entries.
/dev/hda1 /windows/C ntfs rw,users,gid=users,umask=0002,nls=iso8859-1 0 0

Before that make sure you back up the old fstab in case you need it later. fstab to be effective you have to restart the system.

Good luck!

Waruna


0

Response Number 2
Name: 3Dave
Date: November 30, 2004 at 09:04:30 Pacific
Reply:

I think the reason Eagle101 wanted to use captive is that he wants to write to the NTFS partition without fear of corrupting any data , which is possible with NoviceW's solution. If you want full safe write support then captive is the way to go.

It will be better for you in the long run to have the kernel headers and source installed in case you want to compile other packages that require them in the future. On the fedora installation CDs you should be able to find a couple of files called something like:
kernel-source-xyz.i386.rpm and
kernel-headers-xyz.i386.rpm
You can install them with:
# rpm -ivh /path/to/kernel-source-xyz.i386.rpm
and
# rpm -ivh /path/to/kernel-headers-xyz.i386.rpm


0

Response Number 3
Name: zapazo
Date: December 3, 2004 at 19:40:30 Pacific
Reply:

Just a little help... if U want to use knoppix to write into any partition, U should uncheck the read-only checkbox in the properties item of the context menu.
As U know, knoppix mounts all the partitions ro and the icons are in the Desktop, so simply right-click the one U want to write.

Bye.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Mounting NTFS

mount NTFS www.computing.net/answers/linux/mount-ntfs/19051.html

mount ntfs www.computing.net/answers/linux/mount-ntfs/23039.html

mount ntfs partition to linux www.computing.net/answers/linux/mount-ntfs-partition-to-linux/9193.html