LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-27-2007, 09:44 PM   #1
maddy2405
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Rep: Reputation: 0
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.
 
Old 11-27-2007, 11:02 PM   #2
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
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
 
Old 11-27-2007, 11:15 PM   #3
MyHeartPumpsFreon
Member
 
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251

Rep: Reputation: 30
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
 
Old 11-27-2007, 11:22 PM   #4
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
Quote:
Originally Posted by MyHeartPumpsFreon View Post
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.
 
Old 11-27-2007, 11:26 PM   #5
MyHeartPumpsFreon
Member
 
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251

Rep: Reputation: 30
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
 
Old 11-28-2007, 06:08 AM   #6
maddy2405
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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"
 
Old 11-28-2007, 08:30 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Blog Entries: 61

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

http://fuse.sourceforge.net/

Last edited by brianL; 11-28-2007 at 08:32 AM.
 
Old 11-28-2007, 11:03 AM   #8
MyHeartPumpsFreon
Member
 
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251

Rep: Reputation: 30
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
 
Old 11-28-2007, 11:46 AM   #9
maddy2405
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Ofcourse, there is no 2 of u!!! can i get more confused?? let me try this n i shall gt back to you!
 
Old 11-28-2007, 02:25 PM   #10
maddy2405
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
Old 11-28-2007, 03:38 PM   #11
guelzimtr
LQ Newbie
 
Registered: Sep 2004
Distribution: Fedora 7
Posts: 15

Rep: Reputation: 0
yum install ntfs-3g
 
Old 11-28-2007, 03:41 PM   #12
MyHeartPumpsFreon
Member
 
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251

Rep: Reputation: 30
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
 
Old 11-29-2007, 08:44 PM   #13
cojo
Member
 
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262

Rep: Reputation: 31
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.
 
Old 11-30-2007, 12:45 AM   #14
maddy2405
LQ Newbie
 
Registered: Nov 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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?
 
  


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
mount cdrom in RHEL5 ust Linux - Software 4 11-13-2009 12:38 PM
problem configure RHEL5 kernel to read & write NTFS file system. hocheetiong Linux - Newbie 3 07-08-2008 11:49 PM
mount ntfs into rhel5 soumalya Linux - Server 1 11-13-2007 06:42 AM
Mounting NTFS in RHEL5 shoaibi Red Hat 2 10-04-2007 01:51 AM
Unable to export DISPLAY or mount an NFS partition on RHEL5 sudheer_tenneti Linux - Networking 0 08-30-2007 06:48 AM

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

All times are GMT -5. The time now is 04:01 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
Open Source Consulting | Domain Registration