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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
02-16-2005, 08:10 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22
Rep:
|
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.
|
|
|
02-16-2005, 08:35 PM
|
#2
|
Member
Registered: Dec 2004
Location: Newport News, Virginia
Distribution: CentOS 4, FC4, Ubuntu Breezy/Dapper, Arch 0.7.1
Posts: 40
Rep:
|
Re: NTFS in FC3
----- Post removed Double post ----
Last edited by jfryman; 02-16-2005 at 08:37 PM.
|
|
|
02-16-2005, 08:36 PM
|
#3
|
Member
Registered: Dec 2004
Location: Newport News, Virginia
Distribution: CentOS 4, FC4, Ubuntu Breezy/Dapper, Arch 0.7.1
Posts: 40
Rep:
|
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.
|
|
|
02-16-2005, 09:12 PM
|
#4
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22
Original Poster
Rep:
|
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.
|
|
|
02-16-2005, 10:10 PM
|
#5
|
Member
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62
Rep:
|
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.
|
|
|
02-16-2005, 10:18 PM
|
#6
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22
Original Poster
Rep:
|
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?
|
|
|
02-16-2005, 10:53 PM
|
#7
|
Member
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62
Rep:
|
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.
|
|
|
02-16-2005, 10:58 PM
|
#8
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22
Original Poster
Rep:
|
So why do I upgrade in #3 if I'm just going to upgrade a specifc on later in #7?
|
|
|
02-16-2005, 11:28 PM
|
#9
|
Member
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62
Rep:
|
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.
|
|
|
02-17-2005, 12:14 AM
|
#10
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22
Original Poster
Rep:
|
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.
|
|
|
02-17-2005, 12:35 AM
|
#11
|
Member
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62
Rep:
|
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.
|
|
|
02-17-2005, 12:53 AM
|
#12
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22
Original Poster
Rep:
|
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.
|
|
|
02-17-2005, 01:19 AM
|
#13
|
Member
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62
Rep:
|
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.
|
|
|
02-17-2005, 09:23 AM
|
#14
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 22
Original Poster
Rep:
|
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.
|
|
|
02-18-2005, 09:01 AM
|
#15
|
Member
Registered: Jan 2005
Location: Norway
Distribution: Ubuntu Hoary / Debian Sarge
Posts: 62
Rep:
|
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*
|
|
|
All times are GMT -5. The time now is 10:07 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|