Mounting NTFS Partition
In Fedora you can mount NTFS partition as read only. You also need a small package to mount ntfs on Fedora. You can download it from
http://www.linux-ntfs.org/ . But before download it you have to check your kernel version and processor. So do following steps.
- First thing is you have to know the kernel version. To get it open a terminal and type following command and hit enter.
uname -r
You should see a response something like one of these:
2.6.9-1.667
2.4.18-3
2.4.18-17.7.x
2.4.22-1.2115.nptl
2.6.8-1.521
The version might also have one of the following suffixes:
smp
bigmem
hugemem
BOOT
*Note: If the result ends with smp then you have a multi-processor computer (you probably
already knew that).
- Next thing is you have to find about your processor. To get type following command in a terminal and hit enter.
uname -m
You'll see out put like i686.
- Now downloading time. You have to download package mach to kernel version and processor. As a example if your kernel version is 2.6.9-1.667 and processor is i686, then you have to search 2.6.9-1.667 ntfs driver in i686 category in http://www.linux-ntfs.org/ downloading page.
- Install the downloaded package. The you have to give some few check to determine all are ok or not.
Type following command in a terminal and hit enter.
/sbin/modprobe ntfs
There should not be any output. If there are a lot of error messages see the Help Section.
Type following command also in a terminal and hit enter.
dmesg | grep NTFS
You'll see something like this.
NTFS driver 2.1.20 [Flags: R/W MODULE]
You can now check that the kernel really understands NTFS. The output may vary slightly, but you are looking for the entry ntfs. Type following command and hit enter.
cat /proc/filesystems
Output may like following. Check the ntfs is included there.
| nodev |
sysfs |
| nodev |
rootfs |
| nodev |
bdev |
| nodev |
proc |
| nodev |
sockfs |
| nodev |
binfmt_misc |
| nodev |
usbfs |
| nodev |
usbdevfs |
| nodev |
futexfs |
| nodev |
tmpfs |
| nodev |
pipefs |
| nodev |
eventpollfs |
| nodev |
devpts |
| |
ext2 |
| nodev |
ramfs |
| nodev |
hugetlbfs |
| |
iso9660 |
| nodev |
mqueue |
| nodev |
selinuxfs |
| |
ext3 |
| |
vfat |
| |
ntfs |
| nodev |
rpc_pipefs |
| nodev |
autofs |
| |
|
- Let's start mounting. In a termininal type
/sbin/fdisk -l
and found the ntfs partions.
Lets think hda1 is ntfs. Now create a folder in /media/ Named with C:
Now type following command and hit enter in a ternimal.
mount /dev/hda1 /media/C: -t ntfs -r -o umask=0222
To make permanant this mount type gedit /etc/fstab and hit enter.
Add the following line end of that document and save.
/dev/hda1 /media/C: ntfs ro,defaults,umask=0222 0 0
Kasun Chathuranga
14-May-2006 13:06