LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mount NTFS in RHEL5 (http://www.linuxquestions.org/questions/linux-newbie-8/mount-ntfs-in-rhel5-602883/)

maddy2405 11-27-2007 09:44 PM

Mount NTFS in RHEL5
 
Am trying to mount the NTFS partitions on my RHEL5 machine. I have seen various threads but none that gives information completely.
Can someone please put in the steps to do this?

Also, while running a RPM package, it comes up with a message "missing dependancies" I have no idea where to get these dependancies from n how to get them working. I need help badly. please help. tanx in advance.

cojo 11-27-2007 11:02 PM

Red Hat doesn't support NTFS out of the box. So, you need to download then install the NTFS package on your Red Hat box. Also, Red Hat package only support for readonly on NTFS partition. Once, you installed the package on your system. Execute these commands to mount NTFS:

mkdir /mnt/ntfs
mount -t ntfs /dev/sda? /mnt/ntfs

MyHeartPumpsFreon 11-27-2007 11:15 PM

Hey,

You are in what we Red Hat/Fedora users call Dependency HELL. The RPM command tries to install the .rpm that you specify. However, if that .rpm is missing dependencies (other packages that are needed for installation... dependencies) it will list every single package that one is missing. Those missing dependencies can have dependencies and those missing dependencies dependencies have dependencies... get it? Red Hat's and Fedora's package manager, Yum, is here to save the day. It solves dependency issues for you, but it can take a while if there are a lot of them. You issue the command for installing say... Inkscape. A vector program, similar to Illustrator, that would be: yum install inkscape This will download and install Inkscape and all of it's dependencies for you.

If you don't have an internet connection (or a high speed one), you're screwed. More or less. You would have to try and solve dependencies on a package by package basis. Meaning when you see one dependency, you download it at a friends house, bring it back and try to install that dependency only to find that that dependency has a dependency (please see first paragraph). I tried doing that for a little while, didn't work out well.

As far as NTFS in RHEL, you can download the NTFS-3g driver. I'm not sure if you can get it through Yum, you might, but you might want to try and installing it from source. After that, you have to make a mount point for the NTFS partition. The first poster stated how to do that. Now, you have to put an entry into fstab so it mounts every time upon boot. Think of the fstab file as Linux's way of keeping track of disks and what is mounted. Use that information to Google your way to Linux happiness... or frustration.

Regards,

Brandon

cojo 11-27-2007 11:22 PM

Quote:

Originally Posted by MyHeartPumpsFreon (Post 2972928)
Hey,

You are in what we Red Hat/Fedora users call Dependency HELL. The RPM command tries to install the .rpm that you specify. However, if that .rpm is missing dependencies (other packages that are needed for installation... dependencies) it will list every single package that one is missing. Those missing dependencies can have dependencies and those missing dependencies dependencies have dependencies... get it? Red Hat's and Fedora's package manager, Yum, is here to save the day. It solves dependency issues for you, but it can take a while if there are a lot of them. You issue the command for installing say... Inkscape. A vector program, similar to Illustrator, that would be: yum install inkscape This will download and install Inkscape and all of it's dependencies for you.

If you don't have an internet connection (or a high speed one), you're screwed. More or less. You would have to try and solve dependencies on a package by package basis. Meaning when you see one dependency, you download it at a friends house, bring it back and try to install that dependency only to find that that dependency has a dependency (please see first paragraph). I tried doing that for a little while, didn't work out well.

As far as NTFS in RHEL, you can download the NTFS-3g driver. I'm not sure if you can get it through Yum, you might, but you might want to try and installing it from source. After that, you have to make a mount point for the NTFS partition. The first poster stated how to do that. Now, you have to put an entry into fstab so it mounts every time upon boot. Think of the fstab file as Linux's way of keeping track of disks and what is mounted. Use that information to Google your way to Linux happiness... or frustration.

Regards,

Brandon

Brandon,

NTFS-3g driver is not supported by Red Hat. So, Yum or up2date is not going to work. Only way is get it from a third party and install it. But, your system will no longer support by Red Hat. Of course, he can also come here for help.

MyHeartPumpsFreon 11-27-2007 11:26 PM

I'm not too familiar with Red Hat, I've never used it. Let me get this straight though, Red Hat won't give you support if you install NTFS drivers on it? That's a little Naziish. It's a little too late to get into what is right and wrong.

Regards,

Brandon

maddy2405 11-28-2007 06:08 AM

Thank you for this COJO, Brandon n MHPFreon!

I managed to get the source for NTSF-3g. When i do a ./configure, i get a message "no suitable C compiler found in the path$". How to do go about this? I downloaded a RPM package for GCC, but again its the Dependancies problem. I have a broadband connection, but when i run yum install GCC, i get a message "no match for GCC, nothing to do"

brianL 11-28-2007 08:30 AM

You'll need to install fuse first to use ntfs-3g. After you've got GCC, of course.

http://fuse.sourceforge.net/

MyHeartPumpsFreon 11-28-2007 11:03 AM

Try not using capital letters. Linux IS case sensitive. I'm not at home, so I can't try it for you. Unfortunately, I'm on a Windows computer. So, try: yum install gcc

Regards,

Brandon

p.s. Brandon and MyHeartPumpsFreon are one in the same. lol

maddy2405 11-28-2007 11:46 AM

Ofcourse, there is no 2 of u!!! can i get more confused?? let me try this n i shall gt back to you!

maddy2405 11-28-2007 02:25 PM

no luck :( i tried to run "yum install gcc" and this is what i got:
yum install gcc
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: gcc
Nothing to do

what next?

guelzimtr 11-28-2007 03:38 PM

yum install ntfs-3g

MyHeartPumpsFreon 11-28-2007 03:41 PM

Thanks Quel, not sure why I didn't think of that one. It's possible he may not have his repositories setup correctly. I'm not sure what they are for Red Hat, I'm much more familiar with Fedora.

Regards,

Brandon

cojo 11-29-2007 08:44 PM

maddy,

Your error is telling your your system is not register to RHN(Red Hat Network). You will not be able to use yum to install the package unless you redirect your repository to somewhere else other than Red Hat. Of course, if you want to register your system to RHN. You need to create an account with RHN first. Once you register your system to RHN. yum will work.

maddy2405 11-30-2007 12:45 AM

Oh! but i dont think i can register cos i dont have a serial number. I got these CDs as part of a course material. Can you please tell me to which site i can redirect my repos to?


All times are GMT -5. The time now is 01:52 AM.