Linux - NewbieThis 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.
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.
i am a new linux user. i use mandriva & it works well.
but, recently i get a copy of Fedora core 6 from my friend. i install it as well in another computer of mine.
the problem is- fedora not mount windows NTFS partitions automatically. so, i can't see my NTFS partitions in fedora core 6 (under /mnt)
how can i mount & use NTFS partitions in fedora core 6?
is there any easy way for me?
First decide if you want to just read or if you want to read and write to this partition.
If you want to read, then check if the "ntfs" kernel module is loaded:
lsmod | grep ntfs
If not then modprobe the module. This assumes that your kernel was compiled with ntfs support:
sudo /sbin/modprobe ntfs
Now you are ready to mount the ntfs partition. I'll assume that the mount point is /mnt/windows. You need to create the directory to mount the partition on first:
sudo mkdir /mnt/windows
sudo mount -t ntfs /dev/<device> /mnt/windows -o ro,uid=<your-user-name>,utf8
You didn't indicate which device contains the ntfs file-system. You can list partitions on your system with:
sudo /sbin/fdisk -l
If you want read/write access, then you will need to install the ntfs-3g package. You will also need to modprobe the "fuse" module first:
sudo /sbin/modprobe fuse
sudo mount -t ntfs /dev/<device> /mnt/windows -o ro,uid=<your-user-name>,utf8
There may be other options you want to use. Check the mount manpage for other options.
Another way is to use "sudo ntfs-3g <device> <mountpoint> -o options"
If this is a removable drive, you could try:
sudo modprobe ntfs
halmount <device>
For a partition on your fixed hard drive, you could add an entry in /etc/fstab so that it will mount when you boot up.
You may need to look in /etc/ for a file that lists modules to load when you boot, so that the ntfs module is loaded before booting. I use SuSE so I can't tell you which file this would be, sorry. You might want to add the "noauto" option to its fstab entry. Try to mount it like "sudo mount /mnt/windows" and if that works right after booting, you can remove the noauto option. It skips that entry during bootup, so this can prevent being dropped into the rescue shell when booting up.
Extract fuse, cd into the directory and issue ./configure && make && make install. Once that is done do the same for ntfs-3g.
Once you have fuse and ntfs-3g properly installed, you can then mount the Windows partition. Normally, I issue the following commands. If your disks are listed as /dev/hda, then change as appropriate. Likewise, make sure you use the proper partition number.
mkdir /mnt/windows
mount –t ntfs-3g /dev/sda1 /mnt/windows
cd /mnt/windows
To make the mount automatic, modify your /etc/fstab
# Mount Windows NTFS partition
/dev/sda1 /mnt/windows ntfs-3g defaults 0 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.