Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Can't mount NTFS in 9.10

  1. #11
    Join Date
    Nov 2007
    Location
    Charlotte, NC
    Beans
    733
    Distro
    Ubuntu

    Re: Can't mount NTFS in 9.10

    Ok, I think I may have come up with what might be causing it. I CAN NOT properly eject this external harddrive in Windows because it constantly tells me the device is in use (even right after booting up). I am 99% certain this is due to my virus scanner either indexing the drive or scanning it or something, I'm not sure. Since I am unable to properly eject the drive, Ubuntu isn't letting me mount it.

    Any ideas on how I can force this eject or repair it in ubuntu?
    Dell Inspiron e1505 - 10.10/Windows 7
    HP Mini 1030NR - Jolicloud 1.2
    Follow me on Twitter!
    Ubuntu User # 19787 | Linux User #461129

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

    Re: Can't mount NTFS in 9.10

    Stop the antivirus from scanning that external drive. Then, safely remove from windows before you unplug it.

    Otherwise, run the ntfsfix and mount it after that to see if that works.
    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. #13
    Join Date
    Nov 2007
    Location
    Charlotte, NC
    Beans
    733
    Distro
    Ubuntu

    Re: Can't mount NTFS in 9.10

    Stopping the antivirus doesn't seem to be working but by using a 3rd party process scanner in windows it definitely shows AVG to be doing something with the external drive.

    I tried doing an ntfsfix on the drive the trying to mount it in the terminal and STILL no luck. I am going insane, all I want to do is mount this @$^#! drive....

    Code:
    daniel@daniel-ubuntu:~$ sudo fdisk -l
    
    [sudo] password for daniel: 
    
    Disk /dev/sda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000001
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1          13      102400    7  HPFS/NTFS
    Partition 1 does not end on cylinder boundary.
    /dev/sda2              13        7927    63562798    7  HPFS/NTFS
    /dev/sda3            7928       14593    53544645    5  Extended
    /dev/sda5            7928       14315    51311578+  83  Linux
    /dev/sda6           14316       14593     2233003+  82  Linux swap / Solaris
    
    Disk /dev/sdb: 300.1 GB, 300090728448 bytes
    255 heads, 63 sectors/track, 36483 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xab8c8f26
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       31262   251111983+   b  W95 FAT32
    /dev/sdb2           31263       36484    41945683+   7  HPFS/NTFS
    daniel@daniel-ubuntu:~$ sudo ntfsfix /dev/sdb2
    Mounting volume... OK
    Processing of $MFT and $MFTMirr completed successfully.
    NTFS volume version is 3.1.
    NTFS partition /dev/sdb2 was processed successfully.
    
    daniel@daniel-ubuntu:~$ sudo mount -t ntfs-3g /dev/sdb2 /media/sb2
    Failed to read last sector (83891360): Invalid argument
    HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
       or it was not setup correctly (e.g. by not using mdadm --build ...),
       or a wrong device is tried to be mounted,
       or the partition table is corrupt (partition is smaller than NTFS),
       or the NTFS boot sector is corrupt (NTFS size is not valid).
    Failed to mount '/dev/sdb2': Invalid argument
    The device '/dev/sdb2' doesn't seem to have a valid NTFS.
    Maybe the wrong device is used? Or the whole disk instead of a
    partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
    Dell Inspiron e1505 - 10.10/Windows 7
    HP Mini 1030NR - Jolicloud 1.2
    Follow me on Twitter!
    Ubuntu User # 19787 | Linux User #461129

  4. #14
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: Can't mount NTFS in 9.10

    from:
    http://linux.die.net/man/8/mount.ntfs-3g

    options at the end of the mount command for ntfs
    force Force the mounting even if the NTFS logfile is unclean. The logfile will be unconditionally cleared. Use this option with caution and for your own responsibility.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #15
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: Can't mount NTFS in 9.10

    The general reason why we get external drive disconnect problems has to do with write buffering. If you just shut off or remove an external drive while it is still being written to, that will most probably corrupt the filesystem on that drive because the file and directory entries aren't finalized until the writing is finished.

    All that "safe removal" does is force the flushing of any write buffers, giving the drive time to finish before you remove it.

    Thing is, though, if you go through a normal MS Windows shutdown, even with an external drive connected, that should accomplish the same thing. Just turn off and disconnect your external drive after the PC is powered off and you should be OK the next time you go to connect the external drive.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

Page 2 of 2 FirstFirst 12

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
  •