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.
Ok, so i've been looking around the forums and i've found how to mount my ntfs XP partition. I added the following line to fstab
/dev/hde1 /mnt/windows ntfs user,ro,defaults 0 0
and i added a icon to my desktop to the partition. However, when i try to open it, i get the error:
Could not enter directory /mnt/windows
When i go up a level i see that /mnt/windows is a locked directory. Please god, does someone know how to unlock this or what i'm doing wrong. I have all my mp3 and docs on my xp partition and i want to access them from linux. Any help is appreciated.
P.S. i've also tried adding the umask=0 option as well as specifying the uid and gid but to no avail.
I screwed around with that for several days and finally gave in and solved it by creating a much smaller fat32 partition on my XP hard drive and stuck my MP3's on that partition. worked for me and that's all i realy wanted acces to from linux. If you do get it it working, please post what you did so I can try it
if you're using NTFS, then the kernel you're using probably isn't recent enough to write to the partition. i think that writing to a NTFS partition is still experimental under the most recent kernels, and on older ones, it's strictly read-only. this should be more fully developed in the next few months.
the reason it worked for the fat32 paritition is that the support for fat32 under linux is mature, and can safely read and write.
I have more partitons - which I at present cannot reach, but these two work nicely - and they were not invented by me, Suse v8.1 did the whole thing, when I long time ago installed it next to Windows 2000 /which was later upgraded to Windows XP without problems/.
Please god, does someone know how to unlock this or what i'm doing wrong
I believe the command you want is:
Code:
mount -t ntfs -o ro,umask=640 /dev/hde1 /mnt/windowsXP
Add ro,umask=640 to your fstab.
Also, the reason why chmod 755 did not work is because the filesystem was Read-Only and by default, the files are owned by root and not readable by somebody else.
Check the man under Mount options for ntfs for more info.
Be careful writing to NTFS. It CAN? cause data problems including not being able to boot XP. The phrase I usually see is 'It will really hose your XP.'
Just be careful and aware of the problem you can cause. Backed up your XP data lately?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.