Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-18-2015, 10:54 PM   #1
LQ Newbie
Registered: Apr 2015
Posts: 12

Rep: Reputation: Disabled
Question I am not able to mount a hard drive

I am not able to mount a hard drive

Device Boot Start End Blocks Id System
/dev/sdb1 * 63 234420479 117210208+ 7 HPFS/NTFS/exFAT

below is one command I tried and the error I got. I accidentally removed this partition when installing windows and need to re-add it. Please help?

sudo e2fsck -f -y -v /dev/sdb1
e2fsck 1.42.9 (4-Feb-2014)
ext2fs_open2: Bad magic number in super-block
e2fsck: Superblock invalid, trying backup blocks...
e2fsck: Bad magic number in super-block while trying to open /dev/sdb1

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
e2fsck -b 32768 <device>
Old 04-19-2015, 04:48 PM   #2
LQ Newbie
Registered: Apr 2015
Posts: 12

Original Poster
Rep: Reputation: Disabled
mount -t ntfs /dev/sdb1 /mnt
NTFS signature is missing.
Failed to mount '/dev/sdb1': Invalid argument
The device '/dev/sdb1' 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?
Old 04-19-2015, 05:32 PM   #3
LQ Newbie
Registered: Apr 2015
Posts: 12

Original Poster
Rep: Reputation: Disabled
I just fixed the issue. I found the software called test disk, it was in my software repository. I ran the software through the command prompt and readded the ntfs partition. All my data is now accessible again.
Old 04-19-2015, 08:24 PM   #4
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Please mark the thread as solved - thanks


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to mount internal sata drive and external usb hard drive paulie_linux Linux - Desktop 1 06-25-2014 08:24 PM
[SOLVED] mount Iomega external hard drive on debian squeeze, how to use mount command Foxbat1155 Linux - Hardware 15 02-21-2012 05:55 PM
udev rules to mount external hard drive at mount point akamikeym Gentoo 3 03-31-2010 02:12 PM
Removed bad hard drive from computer, now flash drive won't mount. checkmate3001 Linux - Hardware 6 08-15-2008 01:03 AM
Help writing script file to mount / mount hard drive Rustylinux Linux - General 6 06-27-2006 10:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration