How I can fix the Error mounting /dev/sdb1 at /media/... It works pretty good in the past but I made a clean installed of Ubuntu 14.04 LTS and the Error mounting coming. I try to fix it with with Gparted, ntfs-3g, pmount, but this programs can't find the external HDD. But when I boot put the USB drive with Ubuntu 14.04 on test mode this can find and read my external HDD. How I can fix it?
open terminal with Ctrl+Alt+T and run
sudo ntfsfix /dev/sdb1
-
This fixed my problem with a Western Digital 1TB My Passport, the drive was working fine and for any reason out of the sudden the error popped up. Run the suggested statement, and now works, I can access the drive. – raphie Dec 24 '15 at 8:13
-
9
-
2
-
Thanks! I've thought I've lost the data on my HD (Sorry for the spamming, but I was really sad thinking I did a BIG shit!) – Guilherme Thompson Oct 23 '17 at 13:47
-
before I use this command, I want to make sure it doesn't put my files already on the drive in danger. My drive is loaded with files, and worked on windows system. Now that I connect it to ubuntu, it shows me the above error. If I use the above suggested command, will it make my files inaccessible ? I understand it will make the drive usable. By also care about existing files, written by Windows. – Elad Lavi Nov 17 '17 at 9:54
Run this command to show disks:
lsblk
Run this command to mount usb:
sudo ntfsfix /dev/sdb
/dev/sdb or /dev/sdb1 or some other path
It might be the case that the naming changes when you try the drive on different things. ( sdb becomes sdX because of how the usbs are enumerated) Open a terminal and play with:
lsblk
blkid
If you are still unsure, then try
dmesg | more
and read the system log, at one point you should see something similar to:
150289.144120] scsi 7:0:0:0: Direct-Access WDC WD32 00BEKT-22KA9T0 01.0 PQ: 0 ANSI: 5
[150289.144951] sd 7:0:0:0: Attached scsi generic sg4 type 0
[150289.145185] sd 7:0:0:0: [sdd] 625142448 512-byte logical blocks: (320 GB/298 GiB)
[150289.145854] sd 7:0:0:0: [sdd] Write Protect is off
[150289.145863] sd 7:0:0:0: [sdd] Mode Sense: 23 00 00 00
[150289.146547] sd 7:0:0:0: [sdd] No Caching mode page found
[150289.146555] sd 7:0:0:0: [sdd] Assuming drive cache: write through
[150289.212988] sdd: sdd4
[150289.215143] sd 7:0:0:0: [sdd] Attached SCSI disk
If not, then try different usb ports, some usb are full powered, some half powered, some mother board don't like usb3 devices on usb2 slots..
-
Thank you for the answer. I can find the sdb1 external HDD with lsblk and I can find something with dmesg | more. (How I can put screenshots here?). And what can I do now?. Greetings – Quantum Jumping Feb 17 '15 at 5:53
-
It's all text, select,copy paste. You could use pastebin to plot more text and just provide a link. – user283885 Feb 17 '15 at 21:32
-
Hi, I can find this with lsblk es.tinypic.com/view.php?pic=sziv89&s=8#.VOTtD3WG9BR. And I can find this with dmesg | more es.tinypic.com/view.php?pic=xleam8&s=8#.VOTtbHWG9BQ. What can I do to fix the mount of my external HDD. Greetings – Quantum Jumping Feb 18 '15 at 19:54
-
Ok, it seems the system sees it as sdb1. Could you try:
sudo mkdir /media/usb_drive ; sudo mount /dev/sdb1 /media/usb_drive
And paste any errors that are reported. More detail error on the mount failure will be added at the end of dmesg, if it fails – user283885 Feb 18 '15 at 20:06 -
Well with sudo mkdir /media/usb_drive appears me: mkdir: can not create directory "/ media / usb_drive ': File exists ; and with sudo mount /dev/sdb1 /media/usb_drive appears me: mount: / dev / sdb1 is not a valid block device – Quantum Jumping Feb 18 '15 at 21:22
I got the same error, but in my case, it wasn't because of a corrupted NTFS
, but because Ubuntu didn't recognize that the disk was formatted as exFAT
. I could open the disk with no problem in Windows. Then I checked the format and saw that it was exFAT
. To open it in Linux I installed:
$ sudo apt install exfat-fuse exfat-utils
And the disk could open without any issue.