LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   repairing ntfs file system (https://www.linuxquestions.org/questions/linux-newbie-8/repairing-ntfs-file-system-564609/)

almon 06-26-2007 10:39 AM

repairing ntfs file system
 
I have lost windows as usual.....I had mounted ntfs partitions with entries like that
in fstab:
/dev/sda2 /media/alekh1 ntfs-3g default 0 0
now the ntfs-3g is not mounting ntfs drives(oh!!i have too many!!)
I even added the option
/dev/sda2 /media/alekh1 ntfs-3g default 0 0,force 0 0
but it also didnt worked.....
if i do it manually it give error like this
Volume is scheduled for check. Please boot into Windows TWICE, or
use the 'force' mount option. For example type on the command line:

mount -t ntfs-3g /dev/sda10 /dev/alekh1 -o force

Or add the option to the relevant row in the /etc/fstab file:

/dev/sda10 /dev/alekh1 ntfs-3g defaults,force 0 0
what should i do???

Junior Hacker 06-26-2007 05:13 PM

Quote:

Originally Posted by almon
Volume is scheduled for check. Please boot into Windows TWICE,

Usually, when you get a message like this, booting up Windows twice in a row does the trick. You can also run scandisk in Windows on the partitions giving you problems by right clicking on the drive's icon and selecting either "Properties" or "Maintenance" or similar, look for "Tools". Keep your line in /etc/fstab as quoted below, this works great every time I use it like this:
Quote:

/dev/sda2 /media/alekh1 ntfs-3g default 0 0
Some distributions like Mandriva, I leave the options the way they were and just add the (-3g) after ntfs, and remove (ro), below is my /etc/fstab line in both Mandriva and Debian, but the above example works great also:
Code:

/dev/sda3 /data ntfs-3g umask=0,nls=utf8, 0 0

almon 06-27-2007 07:46 AM

But isnt there a way to clean my ntfs system without booting windows(I have lost my windows!!!)


All times are GMT -5. The time now is 05:54 PM.