LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   How to access ntfs partition in RHEL 5.3 (https://www.linuxquestions.org/questions/red-hat-31/how-to-access-ntfs-partition-in-rhel-5-3-a-776017/)

sumeet inani 12-16-2009 03:17 AM

How to access ntfs partition in RHEL 5.3
 
i have the solution

Code:

first subscribe to rpmforge
Run as root{i.e run in terminal 'su'(obviously without quotes) then you are asked for password}
#rpm -Uhv http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
(NOTE http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm for 64bit edition)
Now install required packages that is
#yum install fuse fuse-ntfs-3g dkms dkms-fuse
Now you can mount partition using(as root)
#ntfs-3g <device> <mountpoint>(then only root can delete & make folder though ordinary user can edit,remove,create files)
OR
Append to your /etc/fstab file (for mount during startup as follows)
<device> <mountpoint> ntfs-3g defaults 0 0

Note:
(1)device is /dev/sda1 for (hd0,0).Generally hd(m,n) then /sd<m+1th letter><n+1> and mount point is the folder to which you want to mount.
(2)sometimes download fails then you can do as follows
wget <link> -O /var/cache/yum/<repo>/packages/SameFileName
here repo means rpmforge or epel as you will see in table.

If you find this post helpful then thank me by pressing thumbs up button.Happy hacking.

DrLove73 12-16-2009 10:05 AM

ElRepo repository has kmod-fuse package that does not need dkms system. Since kmod installation uses module aliases (something like symlinks on filesystems), it works on all installed and future kernels without the need to recompile/install even automatic one with dkms.

sumeet inani 12-17-2009 01:00 AM

to DrLove73,
Do you mean that without installing any software on RHEL 5.3 mounting ntfs is possible.How ?

DrLove73 12-17-2009 03:15 AM

I meant that if you have ElRepo repository active, yum command would be:
Code:

yum install fuse-ntfs-3g kmod-fuse
If fuse package is needed (probably is), it would be added automatically.

ElRepo repository is maintained by several CentOS maintainers, so every package in there is safe and very useful. They accept requests with your initial participation and beta-testing.

sumeet inani 12-17-2009 03:43 AM

I am talking about GNOME with RHEL 5.3.
What I have suggested worked for me.
i hope packages you have suggested do not depend on GNOME or KDE environment.

DrLove73 12-18-2009 07:18 AM

GNOME (or KDE) have nothing to do with kernel modules.

There are several approaches for installation of kernel modules.
1. Manually recompile module every time new kernel is installed.
2. DKMS - automatically tests if new kernel is active and recompiles if needed.
3. kmod - installs in current kernel, but uses weak-updates system for kernel sharing (/lib/modules/2.6.18-*/weak-updates). That way all later installed kernels addopt earlier modules. this can be used only with similar kernel versions (minor versions).
4. kmdl -
Quote:

kmdls are an acronym for kernel module packages. They are being used at ATrpms for several years now.
The kmdl scheme is constituted out of two parts, an abstract macro interface and (several) implementations. The implementation may differ either to support different schemes (in fact even the current kernel module scheme could be supported) or to adapt to a local build system (for performance improvements).
http://fedoraproject.org/wiki/AxelThimm/kmdls

So if you use kmod-xxx modules, you do not need dkms.

sumeet inani 12-19-2009 03:23 AM

seems you are an expert DrLove73.Great info.Nice to meet you.

DrLove73 12-19-2009 04:42 AM

Thanks. I've advanced in installation and recompilation of packages for CentOS(/RHEL). I have still lot to learn, but I have a grasp of all important concepts.

Take a look at description of my repository where I have put all packages for CentOS 5 I needed for my personal use.

Info is not totally up to date since I do not have time for that at the moment, and recompiled rpms are not signed yet, but the idea is to create CentOS Desktop installation that has everything you need. With normal or minimal CentOS 5.x installation you only need to add my repositories and install plnet-centos-bundle from yum and all needed packages are installed. Or you can install separate packages.

When I find time, I intend to create nice web site and ask for a help with making it more intuitive and with partitioning of that one package with all dependencies to several packages so people can choose what they want installed for special purposes and/or with only FOSS software.

sumeet inani 12-19-2009 05:35 AM

I am using ubuntu 9.04 and had to help a friend who had RHEL 5.3 so I posted the solution I found so that others can refer to if they get stuck .
I also tagged your post.
I like to use basic commands to do any task.
I know basics of html like formatting,table,frame but not javascript,css.
Can you answer my query at http://www.linuxquestions.org/questi...lpaper-776587/


All times are GMT -5. The time now is 12:27 AM.