Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-18-2018, 09:16 AM   #1
LQ Newbie
Registered: Mar 2010
Distribution: Tiny Core, BackTrack, PuppyOS, DSL, Debian, FreeBSD
Posts: 9

Rep: Reputation: 0
Unhappy Easy EXT4 Superblock Repair - How?


I hope that you can help! I believe in backing up. I rsync my data (all my family pics and videos) to another PC to have a backup. One drive failed physically. I bought a new one to replace it. Checking the backup hdd revealed one or two bad superblocks.

I use Xubuntu. The filesystem is ext4.

I am not smart. Is there a (GUI?) way that I can repair this? I am really afraid of losing all of this data! I am afraid of harming the hdd by using commands incorrectly.

Feel free to move this to a different subforum. I was not sure where to put it.
Old 07-18-2018, 10:47 AM   #2
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hi JuniperSprouts,

Your instinct to ask before trying any commands on a potentially failing hdd is the right one. The more the disk is in use the more likely it is that the issue will worsen.

I am not aware of a GUI front-end for it, but the ddrescue command is what I use when confronted with this type of thing. I encourage you to obtain it for your distro throught its package manager (if I understand right and you're on Ubuntu, that would be Synaptic or simply apt-get on the command line). Read its manual entry afterwards for usage instructions.

The following links may also prove useful:

They are from the Arch Linux wiki (excellent resource in general, by the way), but the info is applicable cross-platform.

Cheers - let us know how you make out.
Old 07-18-2018, 07:28 PM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,163

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Taking backups is good - having only one is not so good.
Which drive failed - in the computer you were using, or a backup drive itself ?.
Let's see the error messages - screenshot, photo of the screen, whatever.
Old 07-19-2018, 12:59 AM   #4
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Did you try mounting the drive and got a message about the superblock? Why do you think it's bad?
Old 07-19-2018, 03:18 AM   #5
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,539

Rep: Reputation: Disabled
These should help.


filesystems, recovery, superblock

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] What is ext4's s_mount_opts superblock field used for? hydrurga Linux - Kernel 1 02-09-2016 03:20 PM
check and repair a Linux file system using alternate superblock ccc Linux - General 2 10-16-2013 10:26 AM
repair lvm superblock tuxsea Linux - Newbie 3 01-17-2013 11:11 PM
6.2 Server Enterprise - Ext4 Superblock Failure leads to crash on start UCBCarebear Red Hat 1 01-08-2013 01:15 PM
Repair FAT hard drive superblock conormacaoidh Linux - Hardware 5 01-14-2012 04:10 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 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