Lone Posted August 24, 2006 Share Posted August 24, 2006 (edited) Ok, first of all let me just say I am a complete linux noob. Anyway the problem is I am dual booting Mandriva & Windows XP. I have windows on a NTFS partition, Madriva on a journal partition or something and then I have a fat32 partition for file storage like media so that I can access the files from both mandriva and windows. However, I can access and change it fine from windows but not mandriva. I have searched these forums lots now and found a few solutions of which none have worked. The problem is when I login as root and change the permissions on HDA7 to 777 it does it then it changes itself back. I have also tried changing the owner and group and it resets that too. So I went to MCC and changed ssecurity level to normal(2), then tried again and had the same result, the permissions reset themself again. I then found this: /dev/hda7/mnt/win_x vfat umask=0,user,codepage=850,iocharset=iso8859-1,exec 0 0 I opened the fstab file and deleted the current HDA7 entry and replaced it with that. I then tried to set the permissions again and got the same result - they reset themself again. So I have no idea what the problem is. In the meantime if I want to change anything on my FAT32 partition or delete or download anything to it, I have to login to root which isnt convenient in the slightest. Please if anyone knows a solution to this please tell me. Thanks, Lone. Edited August 24, 2006 by Lone Link to comment Share on other sites More sharing options...
Soka Posted August 24, 2006 Share Posted August 24, 2006 Try adding the uid option to the fstab line /dev/hda7/mnt/win_x vfat umask=0,uid=[your user id],user,codepage=850,iocharset=iso8859-1,exec 0 0 Link to comment Share on other sites More sharing options...
Lone Posted August 24, 2006 Author Share Posted August 24, 2006 Unfortunatly that hasn't worked either. This is a nightmare. Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Share Posted August 24, 2006 Try adding "users" as well as user in the line above. And maybe also "rw" too for read/write. Link to comment Share on other sites More sharing options...
Lone Posted August 24, 2006 Author Share Posted August 24, 2006 Where do I add those 2 things? At the end of the line? Sorry I am linux noob remember lol. Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Share Posted August 24, 2006 Your original line: /dev/hda7/mnt/win_x vfat umask=0,user,codepage=850,iocharset=iso8859-1,exec 0 0 Try like this: /dev/hda7 /mnt/win_x vfat umask=0,user,users,codepage=850,iocharset=iso8859-1,rw,exec 0 0 of course, make sure that win_x exists in /mnt. Link to comment Share on other sites More sharing options...
Lone Posted August 24, 2006 Author Share Posted August 24, 2006 Sorry still no luck. But I just checked the mnt folder like you said and there is no win_x in there. There is only a folder called cdrom there. Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Share Posted August 24, 2006 That will be why it's failing to mount. Do this: su (type root password when prompted) mkdir /mnt/win_x and then try. Link to comment Share on other sites More sharing options...
Lone Posted August 24, 2006 Author Share Posted August 24, 2006 Argh this is really annoying me now lol. Ok I did what you said and made the directory but hey presto no change. I still cant change the permissions on the partition. Maybe I mounted it wrong. When I clicked mount it said where do I want to mount it so I just mounted it on /hda7 so it is in the root. Am I meant to mount it there? I can read the files ok I just cant change them or anything,,, Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Share Posted August 24, 2006 I'm wondering if your /etc/fstab entry is correct or not. It should have mounted as soon as your system rebooted if it was attached and it should have mounted to /mnt/win_x without asking you any questions. Please make sure there are spaces between each option, I know your original line doesn't have a space between /dev/hda7 and /mnt/win_x so this might be the problem. Link to comment Share on other sites More sharing options...
Lone Posted August 24, 2006 Author Share Posted August 24, 2006 Ohhhh - I have to reboot? I didn't know that. I am so dumb. Ok I try reboot now. Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Share Posted August 24, 2006 Just make sure the /etc/fstab is correct. Then it should mount perfectly fine. Link to comment Share on other sites More sharing options...
Lone Posted August 24, 2006 Author Share Posted August 24, 2006 OOOk Now im going to cry :'(. I rebooted and then went to see if permissions were sorted and now the whole partition has unmounted complely. So I cant even access it now. This is really confusing. I'm just gonna have another look over everything and make sure its right. Thanks! It's fixed now! So it just seems that I mounted it in the wrong place but now I know hwo to mount properly for future. I found the problem, there was a space like you said it was just hard to notice it there so I rebooted again and hey presto all fixed. Thanks a lot for your time you gave to help me. I can't say thank you enough. Link to comment Share on other sites More sharing options...
ianw1974 Posted August 24, 2006 Share Posted August 24, 2006 Glad you're all sorted now. Time for Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now