TitanKing Posted April 20, 2006 Report Share Posted April 20, 2006 Hi guys, I recently had this bit of bad luck, everything was fine could see all my mounted ntfs partitions, but then for some odd reason, the one ntfs (Windows) drive, when I enter I see no files ? Why would this be, I tried to remount it but it tells me I need to format the drive to mount it. Is there anyway of mounting the drive without formatting ? The Windows drive boots up just fiune... Thanks in advance... Quote Link to comment Share on other sites More sharing options...
scarecrow Posted April 20, 2006 Report Share Posted April 20, 2006 Read access for NTFS for most Linux distros (excluding Fedora and a few more) is a non-issue... can you post your /etc/fstab please? Quote Link to comment Share on other sites More sharing options...
Gowator Posted April 20, 2006 Report Share Posted April 20, 2006 You could also have changed the permissions on the mount point somehow... before doing much else try from a console, logged as root umount /mnt/<yourdrive> if it won't unmount its probably open somewhere. you can find it and kill it with fuser e.g. fuser -km /mnt/ntfs1 will kill all process accessing that filesystem you should then be able to unmount You can then try and explicitly check the permissions with ls -l /mnt/ntfs1 if its readable only by root then files mounted on it will be too. you can chmod 555 /mnt/ntfs1 and then it will be readable and executable by everyone then remount explicitly mount /dev/hda(x) /mnt/ntfs1 -t ntfs -o ro (this assures readonly) Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted April 21, 2006 Report Share Posted April 21, 2006 This is my fstab: [ian@europa ~]$ cat /etc/fstab # This file is edited by fstab-sync - see 'man fstab-sync' for details /dev/hda2 / reiserfs notail,noatime 1 1 /dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0 /dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-15,ro 0 0 none /proc proc defaults 0 0 /dev/hda3 swap swap defaults 0 0 the line you need to make sure matches yours are the parameters on this line: /dev/hda1 /mnt/windows ntfs umask=0,nls=iso8859-15,ro 0 0 of course /dev/hda1 might read something else, so don't change this in your fstab, just make sure the other parameters are the same. If you're using Mandriva, then /mnt/windows should exist, but check this first to make sure it does, since this is your mount point. Then set the rest exactly like mine. Quote Link to comment Share on other sites More sharing options...
TitanKing Posted April 21, 2006 Author Report Share Posted April 21, 2006 Thanks fo the replies guys, I will have a look at it tonight and post my findings. You are a great community ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.