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.
Greetings!
I have a dual OS system with Red Hat 9 and W2K. The HDD is split in 3 partitions 2 NTFS and a Linux Ext3 partition. Red Hat 9 was installed by a friend of mine who set it up so that it always automounted partition D: of W2K. The file system was FAT32. However, I changed it to NTFS and now it does not mount it.
Can you tell me how I can correct it?
Thanks
Linux has no capability to read/write NTFS volumes. Thats why they made it FAT32. Actually, I think there is a way to READ only, but Linux absolutely cannot write NTFS partitions. The automount was done in your /etc/fstab file, and it still believes its a vfat partition too.
To my knowledge I dont think there is an automated way to go from NTFS to FAT32 either. What you may need to do, if you have the room, is create another FAT32 partition and then move the files you wish to share to that partition/drive. Thats what I did on my system, since Im running XP and NTFS.
Hope that helps in the understanding, if not in practicality.
Kork
You can just go to this site, down load the required module, and install it. Then, change the corresponding entry in fstab file, and you can read from the ntfs partitions.
I have followed the instructions in the above however, I can not gain write access to my mounted drive.
I have used umask 0222, 0777, 0666, 0000. in my /etc/fstab file.
I can see each combination makes a difference however while logged in as SU and going to KONQUER... and right clicking the properties of the my /mnt/windows can not check the write properties of this folder.
When I can check and then click apply I get a filesharelist error.
Help please?
Well, I'm no expert in Linux myself, but I have access to my NTFS disk. I use Fedora Core 1 Linux. For your RedHat 9, I would try just re-installing the support again (i.e. de-install the rpm you currently have). If you do not have the rpm and are just using a kernel module, then for now, forget about it and just try the following.
Bear in mind that NTFS support in Linux should be read only. Although some rpms claim to have write support, read the small print abou it: it is dangerous. Enabling write support will probaby mean that you will irrepairably corrupt you NTFS partition at some point.
You also need to be logged in as root for all of this:
I personally use the command
mount /dev/hdb1 /mnt/ntfsdisk -t ntfs -r -o umask=0222
You should be able to use exactly the same command, changing "hdb1" for the location of your NTFS disk. Make sure you have created a directory in /mnt where you want to mount the NTFS partition. Mine is called /mnt/ntfsdisk. As we are starting again, I'd delete and re-create your mount point incase there are any strange permissions associated with it.
Once you can mount the volume ok, convert the command to go in the fstab file:
First, locate any reference that tried to mount the partition in the past in fstab, and remove that line, otherwise there will be a conflict.
I don't see any reference to NTFS in your fstab file. If your NTFS partition is on hda2, then remove the following line:
/dev/hda2 /c vfat 0 0
I'm not sure what that line is for, but it seems to reference a FAT partition.
Also bear in mind that this file uses TABs, not spaces. Separate the parameters in a line with one tab.
When your system starts up, you will need to do one of the following
(1)Log in as root. i.e. type 'root' as the username, and enter the password for root
OR
(2)Log in as normal. In the console where you are working, type 'su' and press return. You will need to then enter the password for root.
If you do not know the password for root, then I'm afraid you have a big problem as you will not be able to administer the system, unless your own account has administrative priviliages.
if you need to log on as root and don't know the password, if you are using the lilo boot loader you can hit [control] x at the boot screen and type linux 1, which will enter you into run lvl 1 of linux and you will get logged in as root without having to know the password and from there you can change it then log back out and in normally with the new root password.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.