Mounting an NTFS drive in Fedora.


Recommended Posts

I recently downloaded and installed Fedora, and I must say I'm quite impressed with it. My only problem is that I cant figure out how to mount and NTFS drives in Fedora (Ihave 2 I need to mount). I've searched around the net and found some help on doing this but I still can't seem to figure out how to do this exactly. I'm very new to linux so if someone could help me out and give me instructions in plain english on how to mount NTFS drives I would greatly appreciate it.

Thank you!

Link to comment
Share on other sites

man mount

if i'm not mistaken: mount -t ntfs /dev/hda1 /mnt/hd

Don't forget that unpriveledged users (normal users) cannot mount by default, you will have to be root (su) to do this.

Link to comment
Share on other sites

I've tried that but I kept getting an error saying "ntfs is not supported by this kernel". I think I may have to recomplile for ntfs support but I'm not sure how to do this :) Like I said I'm very new to linux.

Link to comment
Share on other sites

the default kernel doesn't support ntfs so yes you have to recompile the kernel and add support for it. I remember reading somewhere that there are rpm's that you can install to add support but i am not sure because I have never used them.

to make a long story short:

(as root)

yum install kernel-source

cd /usr/src

ln -s linux-2.4 linux

cd linux

make mrproper (mine wouldn't build if i didn't do this)

make xconfig and load the default config from your kernel located in /usr/src/linux/configs

go to "file systems"

check ntfs as a module or build it right in. save and exit

make dep

make bzImage && make modules && make modules_install && make install

cat /etc/grub.conf and make sure it added your new custom kernel

reboot

add your ntfs partition to fstab

Link to comment
Share on other sites

ok, this is what you do...step by step

1. go to http://linux-ntfs.sourceforge.net/rpm/fedora1.html

2. in console type "uname -r" (that's your kernel release) and get the corresponding rpm from the site.

3. in console, type "rpm -ivh *.rpm" (replace the * with the name of the rpm you downloaded).

4. now you have 2 options, you can either have the drive mounted at every boot, OR you can mount it manually everytime.

i) to mount it at every boot and be available for use to all users, edit /etc/fstab as root and put the line:

/dev/hd** /mnt/windows ntfs ro,umask=0222 0 0

(replace hd** with your drive/partition)

ii) to mount it manually every time and have it available to all users, type in console (as root):

mount /dev/hd** /mnt/windows -ro umask=0222

again, replace hd** with your drive info.

good luck :D

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.