Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Can't mount external hard drive

  1. #1
    Join Date
    May 2010
    Location
    Scotland
    Beans
    50
    Distro
    Ubuntu 12.04 Precise Pangolin

    Can't mount external hard drive

    I'm having problems getting Ubuntu 10.4 to detect my external hard drive. No idea why, since it worked perfectly yesterday and I disconnected it properly. This is what I've done so far:

    Code:
    steph@steph-laptop:~$ lsusb
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 029: ID 0bc2:2300 Seagate RSS LLC 
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Code:
    steph@steph-laptop:~$ sudo fdisk -l
    
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x00000001
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        5874    47182873+   7  HPFS/NTFS
    /dev/sda2           16709       19458    22082561    5  Extended
    Partition 2 does not end on cylinder boundary.
    /dev/sda3            5875       15600    78124095    7  HPFS/NTFS
    /dev/sda5           16709       19338    21120117+  83  Linux
    /dev/sda6           19338       19458      961536   82  Linux swap / Solaris
    
    Partition table entries are not in disk order
    
    Disk /dev/sdb: 320.1 GB, 320072933376 bytes
    1 heads, 63 sectors/track, 9922896 cylinders
    Units = cylinders of 63 * 512 = 32256 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x023f62b4
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           2     9922816   312568672+   7  HPFS/NTFS
    So it's detecting it, but when I try to mount it, I get this:

    Code:
    steph@steph-laptop:~$ sudo mkdir /media/320
    steph@steph-laptop:~$ sudo mount -t ntfs /dev/sdb1/ /media/320
    Error reading bootsector: Input/output error
    Failed to mount '/dev/sdb1': Input/output error
    NTFS is either inconsistent, or there is a hardware fault, or it's 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 the device is a SoftRAID/FakeRAID then first activate
    it and mount a different device under the /dev/mapper/ directory, (e.g.
    /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
    for more details.
    But it isn't Windows I'm having the problem with.

    Any help would be greatly appreciated. Thanks.
    Last edited by JustSteph; July 13th, 2010 at 09:27 PM.

  2. #2
    Join Date
    Aug 2008
    Beans
    127

    Re: Can't mount external hard drive

    Well, the error its giving is saying that the file system, MAY be corrupt, or your using a Raid device, I'd take these steps, and seem if they help
    1. Post the excat model of your external HD, and the model of the computer your running ubuntu on.
    2. Can you mount the drive in windows?
    2.a If you can have you tried running chkdsk /f?
    3. Google your problem
    see if anyone else is getting the error your getting.
    (perhaps check out the dmraid documentation as it says to?)
    sorry if its not much help.

  3. #3
    Join Date
    May 2010
    Location
    Scotland
    Beans
    50
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't mount external hard drive

    Thanks for your reply.

    I'm running Ubuntu on an Acer 5920, and my external HD is a Seagate 320Gb

    I'm on Windows now, and I can access it, but it looks like it's completely empty. Really hoping it isn't, since I had data on there I don't have anywhere else.

    I haven't run chkdsk /f yet, I'll do it in a minute.

    I've already googled it and didn't find anything useful.

    I don't know what the dmraid documentation is =S

  4. #4
    Join Date
    May 2010
    Location
    Scotland
    Beans
    50
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't mount external hard drive

    I ran chkdsk /f and now it wont mount on Windows either.

  5. #5
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: Can't mount external hard drive

    I`ve no idea if this will help

    plug it back into ubuntu but unmount it

    Code:
    sudo apt-get install ntfsprogs
    Code:
    sudo fdisk -l
    to determine the /dev/sd?? it has been assigned
    Code:
    sudo ntfsfix /dev/sd??
    Again, make sure the drive has not mounted (I realise this is the problem)

    From the man page
    Code:
    ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk.   It only repairs some fundamental NTFS inconsistencies, resets the NTFS journal file and schedules an NTFS consistency check for the first boot into Windows.  You may run ntfsfix on an NTFS volume if you think it was damaged by  Windows or some other way  and it cannot be mounted.
    Again, no idea if this will help.

  6. #6
    Join Date
    May 2010
    Location
    Scotland
    Beans
    50
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't mount external hard drive

    Thank you. I did that and got:

    Code:
    steph@steph-laptop:~$ sudo ntfsfix /dev/sdb
    Mounting volume... Failed to startup volume: Invalid argument.
    FAILED
    Attempting to correct errors... FAILED
    Failed to startup volume: Invalid argument.
    Volume is corrupt. You should run chkdsk.
    I already ran chkdsk and it didn't help =S

  7. #7
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,573
    Distro
    Ubuntu

    Re: Can't mount external hard drive

    Well in that case this will probably not help but try it with the number, as in /dev/sdb is the drive, but /dev/sdb1 (or /dev/sdb2, or /dev/sdb3) is the partition.

    Again, I have never used a ntfs drive and don`t have one so I have no idea if this will help or harm the situation. All I do know is that they say in the documentation to make sure the drive is not mounted.

  8. #8
    Join Date
    May 2010
    Location
    Scotland
    Beans
    50
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Can't mount external hard drive

    With the number, it says "Mounting volume..." but doesn't appear to do anything else.

    EDIT: It eventually did:
    Code:
    steph@steph-laptop:~$ sudo ntfsfix /dev/sdb1
    Mounting volume... Error reading bootsector: Input/output error.
    Failed to startup volume: Input/output error.
    FAILED
    Attempting to correct errors... Error opening partition device: No such file or directory.
    FAILED
    Failed to startup volume: No such file or directory.
    Volume is corrupt. You should run chkdsk.

  9. #9
    Join Date
    Feb 2006
    Location
    Arizona
    Beans
    444
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: Can't mount external hard drive

    Found this article on MS's site, maybe it could help:

    http://support.microsoft.com/kb/121517

    You will need Norton Utilities to proceed.
    XFCE, From Now On!

  10. #10
    Join Date
    Jun 2009
    Beans
    329
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Can't mount external hard drive

    could you run something like "fsck /dev/sdb1"?

    wait for someone to confirm that this will work.
    always learning more every day.
    this is the best tech community i have ever known.

Page 1 of 2 12 LastLast

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
  •