Mounting NTFS under Linux

Where Penguins and Daemons chill together in the warmth of the Sun.

Moderators: SecretSquirrel, notfred

Postposted on Sun Mar 17, 2002 4:38 pm

Hi guys...

I've WinXP installed so it would be nice if I could read at least (I know there are some issues with writing to NTFS under Linux) my files in the NTFS partition..

I've already tryed

mount /dev/sda1 /mountpoint
mount -t ntfs /dev/sda1 /mountpoint

and in both cases I get a message saying NTFS is not supported by the Kernel...

I know Linux can read NTFS partitions... but how??

Thanks guys!
Fleury
Hardware:
Abit KR7A-133-Raid
Athlon XP 1700+
512 mb DDR 266
Maxtor D740X 60gb Ata 133
ATI Radeon 8500 64mb
Sound Blaster PCI 128

OS:
WinXP Pro
RedHat 7.2
fleury
Gerbil
 
Posts: 11
Joined: Wed Jan 16, 2002 6:00 pm

Postposted on Sun Mar 17, 2002 5:31 pm

NTFS support needs to be compiled into the kernel or loaded as a module before you can mount the FS. If you're using the default kernel with your RedHat install try typing "modprobe ntfs" before mounting the filesystem. If that works you'll need to modify your startup scripts to make it permanent.
Steel
Global Moderator
Gold subscriber
 
 
Posts: 2321
Joined: Wed Dec 26, 2001 6:00 pm

Postposted on Sun Mar 17, 2002 6:24 pm

I get a "can't find NTFS module" or something like that...

I'll check RedHat site for docs... =(

Thanks for you help!
Fleury
fleury
Gerbil
 
Posts: 11
Joined: Wed Jan 16, 2002 6:00 pm

Postposted on Sun Mar 17, 2002 8:38 pm

Just so you know "ntfs" needs to be lowercase. Linux is funny that way :wink:.
Steel
Global Moderator
Gold subscriber
 
 
Posts: 2321
Joined: Wed Dec 26, 2001 6:00 pm

Postposted on Sun Mar 17, 2002 9:07 pm

As root, run `insmod ntfs' and then use lsmod to see if it loaded. If it works, edit your /etc/modules file and add a line like this:

ntfs
You are false data.
Speed
Gerbil Elite
 
Posts: 706
Joined: Thu Dec 27, 2001 6:00 pm
Location: Chicago, IL USA

Postposted on Thu Apr 11, 2002 1:05 am

If that doesn't work you can always
make xconfig
I think, and just recompile your kernel with ntfs support....
LJ
Gerbil Elite
 
Posts: 883
Joined: Wed Apr 10, 2002 1:24 am

Postposted on Fri Apr 12, 2002 1:14 am

You can try the stuff from this.

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

Get the v1.6.0 version for kernel-stable versions (linux-2.4)

Not sure if Redhat has their own rpms via redhat-network for it.

--treatment--
--treatment--

~beats pickin' cotton~
treatment
Gerbil In Training
 
Posts: 2
Joined: Fri Apr 12, 2002 1:01 am


Return to Linux, Unix, and Assorted Madness

Who is online

Users browsing this forum: No registered users and 1 guest