November 21, 2024, 10:35:28 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: mounting NTFS partition on Linux  (Read 12206 times)

Offline man_pio

  • Linux Noob !
  • *
  • Posts: 6
mounting NTFS partition on Linux
« on: March 04, 2004, 09:38:34 AM »
I am tired of using windows and planning to move over to linux the only 2 things thats delaying me is MSN messenger and accessing my files on windows partition.....
I read how to mount a windows NTFS partition on Linux which i tried adding the following code

Code:
mkdir /mnt/C

I ran the command
Code:
fdisk -l
got
Device           Boot      Partition  and some other stuff which I 4got    
/dev/hda1         *        HPFS/NTFS

I then edited the /etc/fstab using vi editor with the following code:

Code:
/dev/hda1     /mnt/C   ntfs    users,owner,ro,umask=000  0 0

(since I have a windows ntfs partition)

when I tried to open the /mnt/C directory it is empty and when I restart my system it gives the following error:
"MOUNTING OTHER FILE SYSTEM MOUNT:FS TYPE NOT SUPPORTED BY KERNEL"
please what does this mean and what do I do to be able to access the files in my windows ntfs partion

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
mounting NTFS partition on Linux
« Reply #1 on: March 04, 2004, 10:52:39 AM »
You need a kernel patch.. named as kernel ntfs.. do a googe.. "kernel ntfs rpm" it is a small file in rpm and can be installed on double clicking it..

Offline neo

  • Linux Learner
  • ***
  • Posts: 125
    • http://www.investorsgain.com
mounting NTFS partition on Linux
« Reply #2 on: March 04, 2004, 12:11:11 PM »
better u just need a module ntfs.o compile that module and put it in
/lib/modules/<Kernel Version>/kernel/fs/ntfs/ntfs.o
it will start working

Offline dragoncity99

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 551
mounting NTFS partition on Linux
« Reply #3 on: March 04, 2004, 04:02:37 PM »
U should recompile ur kernel to be able to mount NTFS partitions, but i must remind u that mounting NTFS in Linux is a bit dangerous.

Offline man_pio

  • Linux Noob !
  • *
  • Posts: 6
re:mounting ntfs oon linux
« Reply #4 on: March 05, 2004, 03:20:50 PM »
thanks for your reply I have not yet tried this but this statement scared me "i must remind u that mounting NTFS in Linux is a bit dangerous" thats the main reason why I haven't tried it really.
Pls. could you explain why (i.e the consequenses of doing this) its a bit dangerous to mount ntfs in linux.
thanks

Offline neo

  • Linux Learner
  • ***
  • Posts: 125
    • http://www.investorsgain.com
mounting NTFS partition on Linux
« Reply #5 on: March 05, 2004, 05:22:55 PM »
dont worry man
u may either recompile ur kernel or in the original shipped kernel just compile the module and put it in the modules.
in the recompiled version u get an option of mounting in read write access but in the module stuff u only can do read mounting.
Read mounting is not dangerous but read write mounting is dangerous. so go only for read only mounting.

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
mounting NTFS partition on Linux
« Reply #6 on: March 05, 2004, 05:23:04 PM »
There is no problem with mounting ntfs.. problem is wrting the data on ntfs. So you can safely read ntfs partition in linux..
It means no problem in mounting the ntfs partition .. !!

Offline summer00

  • Linux Noob !
  • *
  • Posts: 10
mounting NTFS partition on Linux
« Reply #7 on: May 20, 2004, 02:53:49 AM »
im really new to here, may i know how to recompile the kernel?

there are so many kenerl version available, mine is 2.4.20-8, so which kernel rpm should i download? after downloaded i just need to double click the rpm only, is it? any more steps need to go? thx alot

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
mounting NTFS partition on Linux
« Reply #8 on: May 20, 2004, 04:00:06 AM »
Don't u think you have asked this in wrong forum ? There is kernel forum also.. and there is also a topic about kernel upgradation and compilation
« Last Edit: May 15, 2007, 09:55:44 AM by Ricky »