You are not logged in.
I've been trying to mount a ntfs windows partition as my home partition. That way I have access to my data on either side of a dual-boot setup. But the error that I am running into is that the filesystem is mounted read-only, despite whatever configuration I use.
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
tmpfs /tmp tmpfs nodev,nosuid 0 0
# UUID=9dead8ad-ad35-48a0-a2d2-29981e5f2bea
/dev/sda5 / ext4 rw,relatime,data=ordered 0 1
# UUID=77E4D60B2BCBECA4
# UUID=47159f5e-3858-43dd-82bf-905151e655c5
/dev/sda3 none swap defaults 0 0
/dev/sda6 none ntfs rw,relatime,uid=root,gid=users 0 2The partition in question is sda6. Right now the options are rw, relatime, uid=root, gid =users, but I have tried things like only "defaults". No combination I have found lets me mount it read-write, not even for root.
[root@drogon /]# mount /dev/sda6 /mnt/test
[root@drogon /]# cd /mnt/test
[root@drogon test]# mkdir blah
mkdir: cannot create directory ‘blah’: Read-only file systemWhat I would like eventually is for my user to have read-write permission on the partition, and for "/home/<user>" to reside on it. That way, if I need to access something from windows, I have it.
Last edited by Eduren (2012-12-03 22:27:17)
Offline
'ntfs' is a read-only driver, you need to change your partition type to ntfs-3g, see the wiki page on the subject.
However, I would advise against using ntfs for such an important part of your filesystem. Windows and *NIX permissions work differently, so NTFS-3G just forces every file to have the same permissions, which you specify in the mount options. As a result, things will break.
Mounting your windows partition under a directory in your home, like ~/windows, is a much saner solution.
Offline
Thank you for the solution. As for your warning, that issue will certainly make it a less than ideal set up. I'll have to think on it.
Offline
I ran across this in the ntfs-3g manual which might be of some interest. It appears that adding "permissions" to the mount options for ntfs-3g might accomplish roughly what you want, but you may have to perform some work to get it operational. Likewise, the Windows ACL may interfere and a quick glance seems to me to suggest that you might have to tweak things from Windows to get the permissions working well.
I personally have all of my Windows partitions mounted under /windows, but I can see why that isn't an ideal solution if you're dabbling in Arch or have things you want to more easily share in one direction.
Hope this helps somewhat even though you've already marked the topic as solved.
He who has no .plan has small finger.
~Confucius on UNIX.
Offline
I can see that there might be a way to get it to work. Thank you for linking me to that. If I feel adventurous one of these days I may get it to try to work.
I marked the topic solved because the main issue, writing to a ntfs partition, was solved.
Offline
I marked the topic solved because the main issue, writing to a ntfs partition, was solved.
Yeah, I figured that. Additional information can be useful, but I didn't want to tread on what you felt was a better solution! ![]()
He who has no .plan has small finger.
~Confucius on UNIX.
Offline
Don't put $HOME on ntfs, seriously. Mount it to $HOME/stuff or similar instead. Also in fstab you are lacking the target on the entry for your ntfs partition. Also you don't want gid=root when mounting to a users home dir.
Last edited by Mr.Elendig (2012-12-04 12:58:33)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline