LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2003, 06:46 PM   #1
scottie
Member
 
Registered: Oct 2003
Location: UK
Distribution: Slackware 8.0
Posts: 56

Rep: Reputation: 15
NTFS fun


I've been trying to mount my 2nd hard drive but its an ntfs. I know kernels dont support ntfs by default, also i've heard i need to download an rpm and install it.

problem is i'm using slackware and the sites i've been to only seem to have rpm's for red hat. also i'm not quite sure which version of rpm i need. does anyone know where i can get the rpm i need?

scottie
 
Old 10-22-2003, 06:52 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
what version of slackware and kernel are you running? and are you sure slack doesn't have ntfs support? how have you been trying to mount and what's your /etc/fstab look like?

match your kernel version and download either the *.gz or *.bz2. compile and install. get the patch and add that to the compile step if you want.
 
Old 10-22-2003, 07:36 PM   #3
scottie
Member
 
Registered: Oct 2003
Location: UK
Distribution: Slackware 8.0
Posts: 56

Original Poster
Rep: Reputation: 15
my slackware version is 8.0.0
its got kernels 2.2.19 and 2.4.5 but i dunno which its running on.

i dunno for definite that it doesnt ntfs type but when i try to mounting it, it ses

fs type ntfs not supported by kernel

i tried configurin my kernel from this guide online and everythin seemed to work ok but it still wont let me browse my 2nd hard drive

my etc/fstab loooks like this:

/dev/hda1 /windows vfat noauto,user 0 2
/dev/hdb1 /storage ntfs users,noauto 0 0

/dev/fd0 /floppy auto
/dev/cdrom /cdrom iso9660 noauto,owner,ro 0 0
/dev/hda2 / ext2 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /pro proc defaults 0 0

where do i download the kernel and patch from?

scottie
 
Old 10-22-2003, 07:42 PM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
sorry. i left off the link on my post.

http://sourceforge.net/project/showf...group_id=13956

but i didn't see any drivers for your kernel. the highest kernel version i saw was, 2.4.22. you may be SOL at this moment.
 
Old 10-23-2003, 11:24 AM   #5
scottie
Member
 
Registered: Oct 2003
Location: UK
Distribution: Slackware 8.0
Posts: 56

Original Poster
Rep: Reputation: 15
i downloaded linux-2.4.22-ntfs-2.1.4c.patch.gz and unzipped it so i'm left with linux-2.4.22-ntfs-2.1.4c.patch

but i dunno how to use a .patch file, it would'nt let me exectute it

scottie
 
Old 10-23-2003, 12:45 PM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Grab a copy of the vanilla 2.4.22 kernel from www.kernel.org
cd into /usr/src
tar xvzf /path/to/linux-2.4.22.tar.gz
("tar xvjf" for .bz2)
it should create a folder /usr/src/linux-2.4.22 with kernel sources in it
then type (while you're in /usr/src)
patch -p0 < /path/to/linux-2.4.22-ntfs-2.1.4c.patch
you should see the list of files that have been patched
then recompile your kernel, don't forget to compile ntfs support, write support is still unstable at this stage so its not recommended.
Check the slackware forum for the guide on compiling the kernel if you need to.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Writing to an NTFS volume using captive-ntfs (repairing boot.ini) macskeeball Linux - General 3 02-06-2005 09:28 PM
fun with grub and ntfs canman Linux - Software 1 06-28-2004 02:11 AM
Just for fun hyper guy Linux - Newbie 4 03-04-2004 06:07 PM
Captive NTFS -- full r/w ntfs access for Linux spurious Linux - Software 6 01-09-2004 12:29 AM
Fun with my new billsabub Linux - Software 4 02-09-2001 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration