Linux - SoftwareThis 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.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I want to be able to mount my windows disk. To do this I know I have to install NTFS support (which is read-only as far as I can tell from other threads). The problem is, I don't which package will give me this option.
The distro I'm installing is Red Hat 7.2 (actually I've already installed it, but I'm planning to reinstall, because apparently the standard options don't include ntfs support [I checked this with "cat /proc/filesystems" -> ntfs wasn't in there])
You need to recompile your kernel. NTFS is not supported as a default in redhat 7.2. In the Filesystems section while recompiling your kernel, you will see NTFS support and NTFS write support. Once our kernel will be recompiled, mount will contain support to mount NTFS partitions.
You will be able to mount it with something like
mount -t ntfs /dev/hda1 /mnt/win32
You might want to use uid, gid and umask options to give the mount nice permissions.
Thanks again for your help paree.
Do you know for sure it is a common problem with Red Hat 7.2 or is it just your system ? Because if what you say is true, I think I'd better look for other options to read files from my windows disk (from cd or 3,5-inch disk for example)
Its not distro based as none of this is specific to RedHat or Mandrake or whatever. This is a kernel level problem. A lot of the work being done on getting the Linux kernel to be able to mount an NTFS system is getting done by guesswork and blind luck. MS doesn't exactly publish a how-to on this sort of thing.
RH 7.2 shipped with kernel 2.4.9 If I remember right. We're now up to 2.4.18 with a number of NTFS support bugfixes in the changelog. You could download and compile the source for 2.4.18 from www.kernel.org if you like, and don't worry about doinking up your system. If you follow the how-to's correctly you can boot either to the default kernel or to the newer one when you're done. There are also newer kernels available from RedHat in RPM format, but if you want a kernel done right, its best to compile it yourself.
I talked with a couple of competant friends I have and they
all told me that mounting NTFS was a boring game. I'd had
that I have the latest kernel on my computer and was able to
mount ntfs - it just crashed after browsing a while in folders.
I don't beleive mounting NTFS is a good idea at this time
Originally posted by paree
Since no one seems to be able to tell why we can't mount NTFS
(ro), I currently consider there is a bug. Therefore if someone can
tell me wrong here, go ahead : I'll be pleased!
Its not a bug, its a feature!
Its possible to get NTFS mount support, its just a headache. Up until the realease of Win 2000, and arguably only since Win XP, has there been an issue about mount NTFS. Before 2k there was only a small number of people running dual boot boxen that needed to mount NTFS partitions under Linux. Also, the standards on how NTFS actually works have never really been public, so quite a bit of the work being done is raw-reading data off of the devices and guessing at how the file system works.
FAT was a standard that has been evolved on by MS every few years, starting way back in the DOS-3 days with FAT14. Linux hackers have had 10+ years to fiddle with FAT, which is also apparently a much easier FS to figure out.
If you want to get NTFS read-only without much in the way of bugs, try snagging the newest kernel, 2.4.18 from www.kernel.org and compiling that one. There have been about 3-4 NTFS bugfixes and additions since October (2.4.10 era-ish) [XP came out on the 25th], all mainly due to the fact that XP comes with what might be a slightly different version of NTFS than what has been shipping with NT and 2k. RH 7.2's shipping kernel is rather old now, and they left out a pre-compiled ntfs module on this past release, and I think 7.1 too, to keep people from trashing their partitions and blaming RH.
Distros that aren't as worried about their own butt, and oddly enough all I can think of is Slackware, has ntfs as a default pre-compiled module. I used it once to move 2.5Gb of data off of a trashed Win2k installation on a laptop.