LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-13-2008, 02:02 PM   #1
DanSK
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
Compiled kernels with FUSE & NTFS support for CentOS 5.1?


I'm running CentOS 5.1 on a x86_64 system, and need to enable ntfs support for USB-pluggable drives.

I have installed all the relevant fuse-ntfs-3g packages (and also tried the dkms ntfs stuff), but nothing works. modprobe wont load the module:

# /sbin/modprobe fuse
FATAL: Could not open '/lib/modules/2.6.18-53.1.14.el5/weak-updates/fuse.ko': No such file or directory

From some other posts, it became apparent my kernel was not compiled with support for fuse:

# grep -i fuse /boot/config-2.6.18-53.1.14.el5
# CONFIG_FUSE_FS is not set

(I have the latest CentOS 5 kernel, along with the relevant kernel-devel and headers packages).

Question: Is there some easy way to find and install a kernel package that already has FUSE support compiled in to it? Or do I actually have to recompile the kernel myself? Or is there some other easy way around this?

Thanks!
 
Old 03-13-2008, 10:02 PM   #2
kennylai44
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Smile Choice Other Repository Use It Or Recompile With Require Options

You can use ATRPMS repository to avoid complex compile or others job. Any how FUSE for kernel 2.6.18-53.xx currently still under testing. I suggest that you begin with the SPEC file from ATRPMS (download it from ATrpm web site) as the begin then study the features/options that available then choice your own & putting it into the new HOMEMAKE Spec & compile into RPM . I usually follow this method to get away from library depency that make me sick.
 
Old 03-16-2008, 08:45 PM   #3
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
I was able to get NTFS support on a centos 5 install(2.6.18-53.1.4.el5) using

http://wiki.centos.org/TipsAndTricks/NTFSPartitions



But I am having problems getting NTFS support for a fresh install of Centos 5 on another PC.

rpm -q centos-release
centos-release-5-1.0.el5.centos.1
# uname -r
2.6.18-53.1.14.el5xen

This is fdisk -l

Disk /dev/hdd: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

dmesg

dmesg | grep hdd
ide1: BM-DMA at 0x1100-0x1107, BIOS settings: hdcio, hddio
hdd: ST360020A, ATA DISK drive
hdd: max request size: 128KiB
hdd: 117231408 sectors (60022 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
hdd: cache flushes not supported
hdd: hdd1


error:


mount -t ntfs-3g /dev/hdd /mnt/hdd1

NTFS signature is missing.
Failed to mount '/dev/hdd': Invalid argument
The device '/dev/hdd' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
 
Old 03-17-2008, 12:32 PM   #4
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
ok.. I put my ntfs drive back in my 1st install of centos and Im getting the same error.

I also installed http://sourceforge.net/project/downl...3.1-1.i586.rpm


and getting the same error when I try to mount with it.


any suggestions?
 
Old 07-23-2008, 06:40 PM   #5
hendra.uzia
LQ Newbie
 
Registered: Jul 2008
Posts: 2

Rep: Reputation: 0
Hi DanSK,

You can mount ntfs easly with ntfsprogs, no more touching kernels, recompiling, or even restarting.
Here a few steps you can follow, I found it from linux-ntfs:

Here the link:
[html]
http://www.linux-ntfs.org/doku.php?id=ntfsmount[/html] First of all you need to download FUSE. Then:
Code:
tar zxvf fuse-2.7.0.tar.gz
cd fuse-2.7.0
./configure && make && sudo make install
Then you need to install ntfsprogs:
Code:
tar zxvf ntfsprogs-2.0.0.tar.gz
cd ntfsprogs-2.0.0
./configure --enable-fuse-module && make && sudo make install
And then, here's to mount ntfs:
Create a directory to mount your volume to:
Code:
mkdir /mnt/c
Mount your volume:
Code:
ntfsmount /dev/hda1 /mnt/c
Please be sure that you download the latest stable packages for best performance.
And don't forget to visit:
[html]http://www.linux-ntfs.org/doku.php?id=ntfsmount[/html]or
Code:
man ntfsmount
to get a more comprehensive guide.

Happy _ Linux

Last edited by hendra.uzia; 07-23-2008 at 06:41 PM.
 
Old 07-23-2008, 06:43 PM   #6
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
CentOS does not come with Fuse or NTFS-3g built-in. You need to download it.

download fuse source code
./configure --exec-prefix=/ && make && make install

download ntfs-3g source code
./configure && make && make install

to mount:
mount -t ntfs-3g /dev/sdX# /mnt/destination

You are done. I've done this on most of my CentOS servers and it works. IT WORKS!! IT WORKS!!!!!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe fuse: operation not permitted (centos 4) rs387 Linux - Server 3 10-29-2007 03:52 PM
Mounting NTFS w/ fuse & ntfs-3g Elguapo Linux - Software 1 07-07-2007 06:13 PM
Fuse filesystem instead of NTFS? DirkDiggler Linux - General 4 06-02-2007 07:05 PM
CentOS/RHEL & PHP5 support riluve Linux - Newbie 4 05-01-2007 08:18 AM
ntfs-3g with FUSE (NTFS WRITE) - what do I put in fstab 1kyle SUSE / openSUSE 3 02-07-2007 06:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration