PDA

View Full Version : Help!! Mounting Partition



leflores80
12th June 2007, 01:21 AM
I have an NTFS partition I want to use for /windows I was able to do it before now I don't know how anymore!

Thanks

PS

I created a directory when in term on root@localhost# but I can't do rm to get rid of it!

leflores80
12th June 2007, 02:12 AM
I figured out the deleting of the directory using rm -r <dirname> now I have to figure out how to mount the partition

stoat
12th June 2007, 02:42 AM
Hello leflores80,



I have an NTFS partition I want to use for /windows I was able to do it before now I don't know how anymore!For all of the examples below, replace sdxy with the actual NTFS partition device name and /mnt/whatever with the actual mount point that you have already created.

In Fedora 7...
mount -t ntfs-3g /dev/sdxy /mnt/whatever
In Fedora Core 6...
yum install ntfs-3g

then same as F7
In Fedora Core 5...

Install the livna repository for FC5 (http://rpm.livna.org/livna-release-5.rpm), then...
yum --enablerepo=livna install kmod-ntfs

mount -t ntfs /dev/sdxy /mnt/whatever...or another alternative for FC5...

Go to Linux-NTFS RPMs Downloads - Fedora 5 (http://www.linux-ntfs.org/content/view/187/), download and install the appropriate kernel-module-ntfs, then...
mount -t ntfs /dev/sdxy /mnt/whateverReinstall a new kmod-ntfs or kernel-module-ntfs after every new kernel.

Finally...

To automatically mount the NTFS partition at boot for rw and regular user access in F7 and FC6, add a line similar to this at the end of your /etc/fstab (always reboot after editing fstab)...
/dev/sdxy /mnt/whatever ntfs-3g user,umask=0000 0 0In Fedora Core 5, I used NTFS support as ro only...
/dev/sdxy /mnt/whatever ntfs user,ro,umask=0222 0 0Really finally...

You may need to set SELinux to permissive for NTFS support to work normally.