Ubuntu: Fix corrupt NTFS partition without Windows
Question: MY NTFS Partition has gotten corrupt somehow (it's a relic from the days when I
had Windows installed).
[GParted screenshot showing different partitions]
I'm putting the debug output of fdisk and blkid http://paste.ubuntu.com/
621982/.
At the same time, any OS is unable to mount my root partition, which is located
next to my NTFS partition. I'm not sure if this has anything to do with it,
though. I get the following error while trying to mount my root partition
(sda5)
mount: wrong fs type, bad option, bad superblock on /dev/sda5,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
ubuntu@ubuntu:~$ dmesg | tail
[ 1019.726530] Descriptor sense data with sense descriptors (in hex):
[ 1019.726533] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
[ 1019.726551] 1a 3e ed 92
[ 1019.726558] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto
reallocate failed
[ 1019.726568] sd 0:0:0:0: [sda] CDB: Read(10): 28 00 1a 3e ed 40 00 01 00 00
[ 1019.726584] end_request: I/O error, dev sda, sector 440331666
[ 1019.726602] JBD: Failed to read block at offset 462
[ 1019.726609] ata1: EH complete
[ 1019.726612] JBD: recovery failed
[ 1019.726617] EXT4-fs (sda5): error loading journal
When I open gparted (using live CD), I get an exclamation next to my NTFS drive
which states [GParted Screenshot showing error]
Is there a way to run chkdsk without using windows ?
My attempt to run fsck results in the following :
ubuntu@ubuntu:~$ sudo fsck /dev/sda
fsck from util-linux-ng 2.17.2
e2fsck 1.41.14 (22-Dec-2010)
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
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>
Update: I was able to fix the NTFS partition running chkdsk off Hiren's BootCD,
but it seems that the superblock problem still remains.
Update 2: Fixed superblock issue using e2fsck -c /dev/sda5
Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):
== This solution helped 11 people ==
Just to clear some of your points up.
My attempt to run fsck results in the following :
ubuntu@ubuntu:~$ sudo fsck /dev/sda
...
fsck.ext2: Bad magic number in super-block while trying to open /dev/
sda
Now, thats not wonder, because you are trying to fsck the disk, and not its
partition. What fsck does is, it tries to recognize the FS type. Because you
have given it raw disk surface, it fails to recognize and resorts to default
type - ext, calling fsck.ext.
fsck.ext does not find any FS signature in the location and tries to find
superblocks. Ultimately it fails, because its disk with only NTFS partition
type.
This is why you have this error.
The correct command would be:
sudo fsck /dev/sda1
That would feed the FIRST partition of first sata hard drive, not the first
sata disk itself.
With thanks & praise to God! With thanks to all the many who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music & music license: https://www.bensound.com/royalty-free-music | Images & images license: https://stocksnap.io/license and others | With thanks to user αғsнιη (https://askubuntu.com/users/283843), user wjandrea (https://askubuntu.com/users/301745), user Who cares (https://askubuntu.com/users/62087), user user335969 (https://askubuntu.com/users/335969), user RolandiXor (https://askubuntu.com/users/1992), user RichVel (https://askubuntu.com/users/27444), user psusi (https://askubuntu.com/users/8500), user Nemo (https://askubuntu.com/users/11736), user muru (https://askubuntu.com/users/158442), user jmiserez (https://askubuntu.com/users/145754), user eug (https://askubuntu.com/users/19662), user Diego Jancic (https://askubuntu.com/users/93941), user Anwar (https://askubuntu.com/users/61218), and the Stack Exchange Network (http://stackoverflow.com/questions/47700). Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything should be amiss at Roel D.OT VandePaar A.T gmail.com.