The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 13,980     Votes:  4     ✅ Solution
Tags: 18.04   mount   gparted   exfat  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

URL: https://askubuntu.com/q/1132581
Title: Cannot mount usb hard drive
ID: /2019/04/09/Cannot-mount-usb-hard-drive
Created: April 9, 2019    Edited:  April 9, 2019
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Firstly, an easier way of mounting is to use:

mount -t auto /dev/sdb /media/usb-drive

This way you are spared the magical incantations of specifying a partition type.

Secondly, you may have errors on the drive and/or the partition table may be damaged. This happened to me when using dd to erase the first MB of a USB on /dev/sdd and I accidentally used /dev/sdb. This wiped out the first 1 MB of my second hard disk containing the MBR (Master Boot Record) and partition table.

TestDisk can be downloaded here and has versions for Windows and Linux. It goes through every byte of your hard drive to analyze what partition type it is and rebuilds the partition tables. I used TestDisk to successfully recover all my data.

From the website, TestDisk can:

⇧ What's a good back-up strategy for 1 desktop PC? help! W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915  ⇩