Results 1 to 5 of 5

Thread: Force mount NTFS drive to recover files?!?!

  1. #1
    Join Date
    Jan 2008
    Beans
    73

    Force mount NTFS drive to recover files?!?!

    Hey guys,

    I am helping a friend recover files from his windows computer that just crashed(registry problem, hard drive is ok, but won't boot into windows, BSD on windows load), so typing this from a live session on the machine in question, IBM ThinkPad T43.

    Unfortunately, the hard drive is not mounting because it did not shut down cleanly (which we can confirm). So I tried:

    sudo mount -t ntfs-3g /dev/sda1/media/IBM_PRELOAD -o force

    But, this didn't seem to do anything.

    Any other commands or tips to get this drive to mount? We are just trying to get some files that were not backed up. Don't worry Ive already given him the backup lecture.

    Not looking like we can save this windows installation, so will wipe most likely once the data is retrieved. At which point he will get the Ubuntu lecture

    Thanks!

  2. #2
    Join Date
    Jul 2006
    Location
    /usr/share/beer
    Beans
    1,316
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Force mount NTFS drive to recover files?!?!

    sudo mkdir /media/windows
    sudo mount -t ntfs /dev/sda1 /media/windows


    ..after that does it respond with needing a 'force' switch because of improper shutdown?

    Registered Linux User #419773, Ubuntu User #8473 ("It Is What It Is")

    If you type rm -Rf / as root at command line you will get herpes... then die... (okay, it'll erase ALL your data)

  3. #3
    Join Date
    Jan 2008
    Beans
    73

    Re: Force mount NTFS drive to recover files?!?!

    Yes precisely...
    $LogFile indicates unclean shutdown (0, 0)
    Failed to mount '/dev/sda1': Operation not supported
    Mount is denied because NTFS is marked to be in use. Choose one action:

    Choice 1: If you have Windows then disconnect the external devices by
    clicking on the 'Safely Remove Hardware' icon in the Windows
    taskbar then shutdown Windows cleanly.

    Choice 2: If you don't have Windows then you can use the 'force' option for
    your own responsibility. For example type on the command line:

    mount -t ntfs-3g /dev/sda1 /media/windows -o force

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

    /dev/sda1 /media/windows ntfs-3g force 0 0

  4. #4
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: Force mount NTFS drive to recover files?!?!

    sudo mount -t ntfs-3g /dev/sda1/media/IBM_PRELOAD -o force
    I think you are simply missing the space between the device name (/dev/sda1) and the mount point (/media/IBM_PRELOAD).

    Also check that you have actually pre-made the mount folder /media/IBM_PRELOAD, exactly as you wrote it, ie all UPPER CASE, because if not the command will fail.

  5. #5
    Join Date
    Jan 2008
    Beans
    73

    [SOLVED] Re: Force mount NTFS drive to recover files?!?!

    haha ajgreeny, I think you nailed it. I never said I was perfect. (Although the upper case was correct)

    However, through a series of reboots and accessing the hidden IBM recovery partition, it seemed to clear up the problem, because this time I ran the live CD, and it mounted without any problems.

    Go figure.

    Thanks for the help. This forum is the best.
    Last edited by onthefence; May 10th, 2010 at 08:20 PM. Reason: SOLVED

Tags for this Thread

Bookmarks

Posting Permissions

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