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.
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.
This is my second day using Fedora, and I was wondering how I could get to my windows partitions so I can acess my music and files.
I searched these forums, and I found this utility that adds NTFS support: http://linux-ntfs.sourceforge.net/index.html. I downloaded and installed the rpm. Now this is where I'm stumped: how do I actually access the partition? Do I have to use the terminal, or what. On the website with the NTFS project, it said that I had to use a mounting point, and I have no idea what this is. I know that my NTFS partition I want to get to is located at (hd0,2), and the fat32 patition is (hd0,8).
Add a line for the partition you want to mount, like this (if /dev/hdb1 is a FAT32 partition):
Code:
/dev/hdb1 /mnt/win_c vfat user 0 0
The vfat option indicates that the partition uses the VFAT, FAT32 or FAT32X file systems. /mnt/win_c is the mountpoint, which has to be a directory. Create a mountpoint (traditionally in /mnt/) by using the mkdir command, or use a graphical file manager.
Adding an NTFS partition is similarily easy:
Code:
/dev/hdd1 /mnt/win_e ntfs noauto,ro,user 0 0
The "noato,ro,user" part means that it is not supposed to be mounted automatically at boot, it's readonly (you can't write to it) and users can mount the partition.
Then just use the mount command - you can mount partitions defined in /etc/fstab by just typing mount <partition> or mount <mountpoint>, like this: mount /dev/hdb1
or... mount /mnt/win_c
The above two commands do the exact same thing.
Ther reason is, it is not safe to write to ntfs from Linux. But if you wish then you have to have it loaded in the kernel. This is an option that is not by default selected. You would have to build a new kernel and add that option. Then you could write to it. But be WARNED!!!!!! you can lose your ntfs drive so make sure you are backed up because a lot of crying would be involved ( At least my 200 gigs of data). But that is how you need to do it.
His fstab says vfat - not ntfs. I mount a vfat drive - heres the pertinent line from fstab:
/dev/hdb1 /mnt/collosus vfat defaults,mode=777
the "mode" parameter gives it full access permissions. Probably the reason you can't write to it is because it is mounted with insufficient permissions. This seems to happen a lot.
Frustratingly, I'm not sure you can rely on the permissions actually set on the files and directories on the drive if the mount permissions are not set to 777.
And a heads up for later on - you can't use all the permissions on vfat that you can use on ext. I found this out the hard way when trying to set some directories to drwx------. For instance, that particular permission can not be set (in my experience) on vfat.
I'm not sure you can rely on the permissions actually set on the files and directories on the drive
vfat has no "ownership" concept. Files have 4 attribs: system, hidden, archive, read-only. Only RO actually has an effect, so resulting possible permissions, given umask=0, are rwxrwxrwx or r-xr-xr-x
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.