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 |
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.
|
 |
11-27-2007, 09:44 PM
|
#1
|
LQ Newbie
Registered: Nov 2007
Posts: 5
Rep:
|
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.
|
|
|
11-27-2007, 11:02 PM
|
#2
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Rep:
|
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
|
|
|
11-27-2007, 11:15 PM
|
#3
|
Member
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251
Rep:
|
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
|
|
|
11-27-2007, 11:22 PM
|
#4
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Rep:
|
Quote:
Originally Posted by MyHeartPumpsFreon
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.
|
|
|
11-27-2007, 11:26 PM
|
#5
|
Member
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251
Rep:
|
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
|
|
|
11-28-2007, 06:08 AM
|
#6
|
LQ Newbie
Registered: Nov 2007
Posts: 5
Original Poster
Rep:
|
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"
|
|
|
11-28-2007, 08:30 AM
|
#7
|
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,311
Rep: 
|
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.
|
|
|
11-28-2007, 11:03 AM
|
#8
|
Member
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251
Rep:
|
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
|
|
|
11-28-2007, 11:46 AM
|
#9
|
LQ Newbie
Registered: Nov 2007
Posts: 5
Original Poster
Rep:
|
Ofcourse, there is no 2 of u!!! can i get more confused?? let me try this n i shall gt back to you!
|
|
|
11-28-2007, 02:25 PM
|
#10
|
LQ Newbie
Registered: Nov 2007
Posts: 5
Original Poster
Rep:
|
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?
|
|
|
11-28-2007, 03:38 PM
|
#11
|
LQ Newbie
Registered: Sep 2004
Distribution: Fedora 7
Posts: 15
Rep:
|
yum install ntfs-3g
|
|
|
11-28-2007, 03:41 PM
|
#12
|
Member
Registered: Oct 2007
Location: The States, Florida
Distribution: Lonely Werewolf
Posts: 251
Rep:
|
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
|
|
|
11-29-2007, 08:44 PM
|
#13
|
Member
Registered: Feb 2003
Location: St. Louis
Distribution: RedHat 8
Posts: 262
Rep:
|
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.
|
|
|
11-30-2007, 12:45 AM
|
#14
|
LQ Newbie
Registered: Nov 2007
Posts: 5
Original Poster
Rep:
|
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 04:01 PM.
|
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
|
|