ntfs-3g question


Results 1 to 5 of 5

Thread: ntfs-3g question

  1. #1
    Join Date
    Dec 2002
    Location
    Montreal Canada
    Posts
    383

    ntfs-3g question

    Hi,
    I just wounder why a ntfs partition need that my window xp shut down properly before i can mount it on my new Debian install.
    What happen it that when scanning window xp for virus i got a blue screen and window just crash repeatedly , so i tough i could just mount that partition with ntfs-3g, find the virus witch i identify to be in c:/window and delete it, but my ntfs partition would not mount and the boot message said something like (ntfs partition is still in use). Long story short, i finally managed to get a full window xp boot followed by a clean shut down, then my ntfs partition mounted and i was able to delete that virus.
    PS. I could mount that partition with ntfs ro option in fstab, but not with ntfs-3g rw until i got a clean xp shutdown.
    Just curious.
    Last edited by Davno; 05-09-2009 at 02:14 PM.

    Linux Counter


    Debian "Lenny"
    Mandriva 2010.2

    "Where am I?" "In the Village." "What do you want?" "Information.""Whose side are you on?" "That would be telling.... We want information. Information! INFORMATION!"

  2. #2
    Join Date
    Jun 2004
    Location
    Newcastle upon Tyne
    Posts
    2,978
    I think the integrity of the ntfs filing system cannot be guaranteed if the system has not been properly shut down.

    I have been trying to run 126 Xp, same Xp cloned to 126 logical partitions, from a hard disk and obviously made mistakes resulting at some stages a forced switched off to get the control back. When I interrogated with gparted it identified correctly the Xp partitions I failed to shut down cleanly and proceeded to fix the problem. Thus I think may be NTFS-3g not knowing how to proceed until after the problem has been rectified. Xp obviously can cure it with its chkdsk routine.
    Linux user started Jun 2004 - No. 361921
    Using a Linux live CD to clone XP
    To install Linux and keep Windows MBR untouched
    Adding extra Linux & Doing it in a lazy way
    A Grub menu booting 100+ systems & A "Howto" to install and boot 145 systems
    Just cloning tips Just booting tips A collection of booting tips

    Judge asked Linux "You are being charged murdering Windoze by stabbing its heart with a weapon, what was it?" Replied Linux "A Live CD"

  3. #3
    Join Date
    Dec 2002
    Location
    Montreal Canada
    Posts
    383
    Quote Originally Posted by saikee View Post
    I think the integrity of the ntfs filing system cannot be guaranteed if the system has not been properly shut down.
    Your probably right, the ntfs-3g driver must be looking for a certain state in the file system because just mounting it without the ntfs-3g driver and with read-only worked ok, and after i finally managed to boot window and shut it down clean, every thing worked.

    Linux Counter


    Debian "Lenny"
    Mandriva 2010.2

    "Where am I?" "In the Village." "What do you want?" "Information.""Whose side are you on?" "That would be telling.... We want information. Information! INFORMATION!"

  4. #4
    Join Date
    Sep 2003
    Location
    Rochester, MN
    Posts
    3,604
    If I remember correctly, you can use the force mount option and it will mount rw even if the NTFS partition wasn't properly unmounted. I've had to do it a couple of times and it hasn't caused any problems, but obviously proper unmounting is always the best way to go.

  5. #5
    Join Date
    Jul 2001
    Location
    Fife, Scotland
    Posts
    1,794
    I've had this problem before as well - it's NOT recommended, but the only way I could mount an NTFS filesystem RW was to use the --force option. I never experienced any problems but I do suspect that Microsoft changed the specification for NTFS and never told anyone (this was an XP laptop).

    It SHOULD be OK but I take no responsibility if you lose data! I didn't, in any case.

    James
    -----------------------------
    UseLinux.net
    -----------------------------

    perl -e 'use Math::Complex;$|=1;for$r(0..24){for$c (0..79){$C=cplx(($c/20.0)-3.0,-($r/12.0)+1.0);$Z= cplx(0,0);for($i=0;($i<80)&&(abs($Z)<2.0);$i++){$Z =$Z*$Z+$C;}print$i>=80?"*":" ";}print"\n";}'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •