Results 1 to 6 of 6

Thread: force mount ntfs

  1. #1
    Join Date
    Dec 2008
    Beans
    29

    force mount ntfs

    Hello,

    XP some how became corrupted and now when I try to reinstall it, it wants to reformat. I cannot get into my Ubuntu 8.10 partition because Grub will not come up after Post so I am using a 8.04 Live CD. I would like to know how I can force mount my XP partition and my external back up so I can transfer some files.

    I have tried to use the NTFS config tool but when I try to mount the disks it says they are being used my XP and/or they were not properly dismounted. Also it says I am not privileged to mound them either.

    Thanks.

  2. #2
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: force mount ntfs

    Code:
    sudo mkdir /media/windows
    sudo mount -t ntfs-3g /dev/sda1 /media/windows -o force
    df -h
    Assuming /dev/sda1 is where windows is.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  3. #3
    Join Date
    Dec 2008
    Beans
    29

    Re: force mount ntfs

    Ok, I did that and this is what I got back:
    Code:
    ubuntu@ubuntu:~$ sudo mkdir /media/windows
    ubuntu@ubuntu:~$ sudo mount -t ntfs-3g /dev/sda1 /media/windows -o force
    ntfs_attr_pread: ntfs_pread failed: Input/output error
    Failed to read $MFTMirr: Input/output error
    Failed to mount '/dev/sda1': Input/output error
    NTFS is either inconsistent, or you have hardware faults, or you have a
    SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
    then reboot into Windows TWICE. The usage of the /f parameter is very
    important! If you have SoftRAID/FakeRAID then first you must activate
    it and mount a different device under the /dev/mapper/ directory, (e.g.
    /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
    for the details.
    ubuntu@ubuntu:~$ df -h
    Filesystem            Size  Used Avail Use% Mounted on
    tmpfs                 1.5G   13M  1.5G   1% /lib/modules/2.6.24-19-generic/volatile
    tmpfs                 1.5G   13M  1.5G   1% /lib/modules/2.6.24-19-generic/volatile
    varrun                1.5G  108K  1.5G   1% /var/run
    varlock               1.5G     0  1.5G   0% /var/lock
    udev                  1.5G   76K  1.5G   1% /dev
    devshm                1.5G   12K  1.5G   1% /dev/shm
    tmpfs                 1.5G   16K  1.5G   1% /tmp
    gvfs-fuse-daemon      1.5G  119M  1.4G   9% /home/ubuntu/.gvfs
    /dev/sda5              30G  4.2G   24G  15% /media/disk

  4. #4
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: force mount ntfs

    Looks to me like you need to use TestDisk, http://www.cgsecurity.org/wiki/TestDisk, to pick your ntfs partition.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  5. #5
    Join Date
    Apr 2007
    Beans
    3,111
    Distro
    Ubuntu

    Re: force mount ntfs

    Are we sure /dev/sda1 is the ntfs partition? Find the device name of your ntfs partition in the output of "sudo fdisk -l" or "sudo blkid"

  6. #6
    Join Date
    Dec 2008
    Beans
    29

    Re: force mount ntfs

    I installed TestDisk and it said it needed to be ran as root. Running fdisk gave:

    Code:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x38e438e3
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1       56890   456968893+   7  HPFS/NTFS
    /dev/sda2           56891       60801    31415107+   5  Extended
    /dev/sda5           56891       60801    31415076   83  Linux
    
    Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xfe81fe81
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1      121601   976760001    7  HPFS/NTFS
    Where sda1 is the windows partition and sdb1 is the back up disk. Sda5 is my 8.10 partition that I cannot boot into because Grub does not appear after booting My back up disk is mounted and I can read and write from it.

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
  •