LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-16-2005, 08:10 PM   #1
patricodog
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22

Rep: Reputation: 15
Unhappy NTFS in FC3


I've been to the site: linux-ntfs.sourceforge.net/rpm/index.html that everyone refers to and I tried that, as well as the trouble shooting. To me, it seems that some of the installation commands are out of date because FC3 isn't understanding them, I get errors often after his commands. After installing it (at least I think I did, probably not successfully, but thanks to rpm its easy to tell...), my kernel still doesn't recognize the fs NTFS. I'm not sure what other info I should be telling you guys, so if you need, just ask.
 
Old 02-16-2005, 08:35 PM   #2
jfryman
Member
 
Registered: Dec 2004
Location: Newport News, Virginia
Distribution: CentOS 4, FC4, Ubuntu Breezy/Dapper, Arch 0.7.1
Posts: 40

Rep: Reputation: 15
Re: NTFS in FC3

----- Post removed Double post ----

Last edited by jfryman; 02-16-2005 at 08:37 PM.
 
Old 02-16-2005, 08:36 PM   #3
jfryman
Member
 
Registered: Dec 2004
Location: Newport News, Virginia
Distribution: CentOS 4, FC4, Ubuntu Breezy/Dapper, Arch 0.7.1
Posts: 40

Rep: Reputation: 15
Re: NTFS in FC3

Okay, here's the trick....

First, you'll need to find out what kernel you have. Run: uname -r
This will spit out the kernel version you need.
Then, visit the website http://linux-ntfs.sourceforge.net/rpm/fedora3.html, which I believe you've been to. Download the corresponding RPM file you need. i586 for Pentium, K6 processors, i686 for most modern processors (PIII, PIV, AMD Athlon, Duron) If you've got a x86-64, that's another story all-together. Change to superuser (su) and run rpm -ivh <rpmfile>.rpm

Now, here's the fun part. Mounting the disk. Unless you're always root (which is never recommended), you'll need to set the appropriate permissions for the mount. Here is an example. Fedora Core 3 puts it's mount points in /media instead of /mnt (I prefer keeping /mnt)

mount -t ntfs /dev/hda1 /mnt/ntfs -o uid=<username>

additionally, consider adding an entry in fstab

/dev/hda1 /mnt/ntfs ntfs defaults,uid=<username> 0 0

and have it continually mounted.

Hope this helps!

-James

Last edited by jfryman; 02-17-2005 at 10:18 AM.
 
Old 02-16-2005, 09:12 PM   #4
patricodog
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for the help. I installed with the rpm command. and then with the mount command I get this output: "mount: mount point mnt/ntfs does not exist".

Also, is there a reason why the rpm file i download has a kernel version in it's name? The name is "kernel-module-ntfs-2.6.10-1.766_FC3-2.1.22-0.rr.4.3.i686.rpm" and my kernel version is "2.6.9-1.667smp" It said it installed 100%, but I'm just wondering why the filename has a kernel version in it. Thanks.

Last edited by patricodog; 02-16-2005 at 09:18 PM.
 
Old 02-16-2005, 10:10 PM   #5
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Rep: Reputation: 15
Quote:
I'm just wondering why the filename has a kernel version in it. Thanks.
Because the kernel-module was compiled on that kernel versjon. It's just pure gambling to install a kernel-module which is not compiled for your kernel version. It might work and it might just as well not work.

Check out the fedorafaq.org site to see how to install modules using yum.

There is usually modules available for the newest kernel. And you can upgrade the kernel with yum.

Just do (as root):
[list=1][*]yum list available > packages.txt[*]Find the kernel-package (rpm) by viewing packages.txt with a texteditor probably kernel-i686[*]yum upgrade kernel-i686 (or yum install, if upgrade doesn't work)[*]reboot[*]uname -r (to find out which kernelversion you just installed)[*]Find the kernel-module you want to install and which corresponds with the kernelversion you got from step #5 by viewing packages.txt once more.[*]yum install kernel-module-ntfs-2.6.10-1.760_FC3.i686 or equivalent package[*]and probably reboot once more?[/list=1]

Last edited by tsiMental; 02-16-2005 at 10:55 PM.
 
Old 02-16-2005, 10:18 PM   #6
patricodog
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
I'm confused on #6, shouldn't I, by this step, have already updated the kernel and rebooted, why and I telling it to install a certain one after I already updated? And if I'm to install a certain version, why would I not choose the one that corresponds to the NTFS rpm's version?
 
Old 02-16-2005, 10:53 PM   #7
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Rep: Reputation: 15
There is always a NTFS rpm for the newest kernel... you update your kernel and then you install the kernel-module which was not included in the kernel-update.

And of course you should install the kernel-module corresponding to your kernelversion. That's why you checked which kernelversion you have on step #5.
 
Old 02-16-2005, 10:58 PM   #8
patricodog
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
So why do I upgrade in #3 if I'm just going to upgrade a specifc on later in #7?
 
Old 02-16-2005, 11:28 PM   #9
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Rep: Reputation: 15
A kernelmodule is like a plugin for the kernel...

You need the version of the module to correspond with the version of the kernel. Since you cannot find a module for your current kernel-version, you need to upgrade your kernel to the same version as the module (which happens to be the newest kernel version).

The module makes the kernel capable of using the NTFS filesystem.

When you have installed the module, you can use mount or a GUI Disk Manager to mount your NTFS-partitions.
 
Old 02-17-2005, 12:14 AM   #10
patricodog
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
I typed "yum list available > packages.txt" into the terminal and the cursor goes to a new line and just sits there, if i only enter "yum list available" if goes through a bunch of installing (or so it seems, something similiar) then it finishes with a bunch of packages, i can't scroll up far enough to see if packages.txt is in there. I'm new to yum, sorry for asking such basic questions.
 
Old 02-17-2005, 12:35 AM   #11
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Rep: Reputation: 15
when you typed:

yum list available > packages.txt

yum just printed it's output into the file packages.txt
when the cursor jumps to the next line, type:

kedit packages.txt

and you get kedit up, containing the output of "yum list available" Although, when you open "kedit" this way, you woun't be able to type anything in terminal window until you close kedit again. It would be better to browse to the directory where you put packages.txt using Konqueror and open it by double clicking on "packages.txt."

The reason why you would want to do this, is because "yum list available" produces to much output to fit in the terminal window you wouldn't see the entire output.

And it is much easier and faster than typing:
"yum list available"
every time you need to see the currently available packages.

Last edited by tsiMental; 02-17-2005 at 12:37 AM.
 
Old 02-17-2005, 12:53 AM   #12
patricodog
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
for the module I don't know which to choose (and the full name for that matter). the full name is cut off for the last two in KEdit.
"kernel-module-ntfs-2.6.10-1.760_FC3.i686 2.1.22-0.lvn.1.3 livna-stable
kernel-module-ntfs-2.6.10-1.760_FC3smp.i 2.1.22-0.lvn.1.3 livna-testing
kernel-module-ntfs-2.6.10-1.760_FC3smp.i 2.1.22-0.lvn.1.3 livna-testing

I have HT so I assume I will need one with smp in the name, but what's the difference between the last two?


Also, this is what I get when trying to do just the Kernel upgrade (boy it's a hassle not being able to copy the terminal text):
[root@localhost ~]# yum upgrade kernel.i686

You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need the download
the keys for packages you wish to install and install them.
You can do that by runnning the command:
rpm --import public.gpg.key
For more information contact your distribution or package provider.
[root@localhost ~]# rpm --import public.gpg.key
error: public.gpg.key: import read failed.
[root@localhost ~]#

Last edited by patricodog; 02-17-2005 at 01:02 AM.
 
Old 02-17-2005, 01:19 AM   #13
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Rep: Reputation: 15
You didn't check out the link I gave you, did you?

Check this out: http://www.fedorafaq.org/#installsoftware

Download the "yum.conf" file he supplies and replace your existing one, /etc/yum.conf
This will probably fix your "key problem"

And you probably can copy terminal text, just mark it using the mouse and then right click in the terminal window and choose copy

Last edited by tsiMental; 02-17-2005 at 01:22 AM.
 
Old 02-17-2005, 09:23 AM   #14
patricodog
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22

Original Poster
Rep: Reputation: 15
I am using the new conf file, I wasn't sure on how to make new files so I just erases the contents of the old one and pasted the contents of the new one into the blank yum.conf. I read everything on that page before I came to the forum. Sorry I forgot to mention that.
 
Old 02-18-2005, 09:01 AM   #15
tsiMental
Member
 
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62

Rep: Reputation: 15
Did you get it to work?

I've never had any trouble with the PGP keys, but there are some info about it on fedorafaq.org

any way:
yum upgrade kernel
yum install kernel-module-ntfs-2.6.10-1.766_FC3smp

should do the trick, if you do it right now.
If these two commandlines complete successfully all you need to do is to mount your ntfs partitions using:

mkdir /mnt/ntfs1
mount -t ntfs /dev/hdb1 /mnt/ntfs1

you might have to change hdb1 to whatever the device-code for your partition is... look in /dev with:

ls /dev/hd*
 
  


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
Mounting NTFS in FC3 init_linux Linux - General 3 09-20-2005 01:02 AM
Can't see NTFS partition on FC3 moo113 Fedora - Installation 7 02-06-2005 10:16 AM
NTFS with FC3 AVD_ZM Linux - Software 1 02-05-2005 11:31 AM
FC3 and NTFS Quel Fedora 7 12-19-2004 04:18 AM
NTFS on FC3 Banyon Linux - Newbie 5 12-08-2004 06:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:29 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