LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   mounting ntfs (https://www.linuxquestions.org/questions/fedora-35/mounting-ntfs-211845/)

matttherat 07-31-2004 11:36 AM

mounting ntfs
 
i know i read somewhere that i ti s possible to mount an NTFS harddriive in linux, but some kernels wont suport it beacause its experemental? well i have fedora core 2 and im trying to do it.. i use the command
Code:

mount -t ntfs /dev/hda3 /mnt
mount: fs type ntfs not supported by kern
and i get
Code:

mount: fs type ntfs not supported by kern
i assume that means i cant do it, but i decided id ask beacause mayb im doing something wrong

synaptical 07-31-2004 11:41 AM

you have to rebuild your kernel with ntfs support.

win32sux 07-31-2004 11:43 AM

you can compile your kernel with ntfs support...

there's also several projects on the web that allow you to get ntfs access...

i can think of:

http://linux-ntfs.sourceforge.net/

there's another project that uses actual windows files to obtain reliable write support, but i'm not sure what the deal is there...


matttherat 07-31-2004 11:44 AM

o0 ty ill try it

VibeOfOurTribe 08-11-2004 11:26 AM

say your kernel # is 2.6.7 and you have the source

# cd /usr/src/linux-2.6.7
# make menuconfig
(active <M> to "File systems/NTFS file system support (read only)",
exit&save)
# make modules SUBDIRS=fs/ntfs
# make modules_install SUBDIRS=fs/ntfs
# insmod /lib/modules/2.6.7/kernel/fs/ntfs/ntfs.o

now you have ntfs support, this is how you mount
# mkdir /mnt/windows
then you can upadte your /etc/fstab to contain the following line:
# /dev/hda3 /mnt/windows ntfs ro,users,exec,uid=500,iocharset=iso8859-1 0 0
save&exit
# mount /mnt/windows
# cd /mnt/windows
POOF!


(hda3 will be changed to whatever your windows partition is)
(lthere are all sorts of different options for fstab if you google around)


All times are GMT -5. The time now is 06:57 AM.