A couple of months ago I suffered a bad superblock error in my hard drive. The hard drive in question made clicking sounds and refuses to boot. I ran some terminal checks and got the bad superblock error. I have multiple hard drive devices so I booted using the other devices by changing BIOS.
But how do you repair a bad superblock?
A superblock is a summary of data kept in your hard drive. Like a table of contents if I'm not mistaken. The ext4 file system in Linux keeps a backup of the superblock somewhere else in the hard drive. Check where that is - find the location.
$sudo mke2fs -n /dev/device?/
where the device? is the hard drive you want to repair. It will output a group of numbers separated by commas. These are superblock locations.
You must restore the backup.
$sudo e2fsck -y -b output_number /dev/device?/
where the output_number is one of the group of number listed from the operation above. The device? is the hard drive you want to repair. The -y flag or switch just gives a default 'yes' answer to the interactive mode of the command.
It's a long road to this update. It isn't a normal update at all. I had to manually compile goffice0.8 and webkitgtk as well as gnu...
This was a music festival concert venue in Las Vegas, Nevada. A shooter in the 32nd floor of a nearby hotel across the general area opened f...
The Last Jedi is coming this December 2017. I can't wait. My guess is we can watch it later in the Christmas season or even later than t...
systemd updated from 234 to 235. Follow them on Google+ List of changes in systemd-235 here. Question: How to list units? $s...