GNU/Linux Ubuntu 21.04 Repairing Disk Guide
Hi! The tutorial provides a step-by-step guide on repairing, recovering, and fixing Disk Errors even if the system is no longer bootable on Ubuntu 21.04 Hirsute GNU/Linux.
Especially relevant: this Procedure will Easily Fix Errors and Recover your Ubuntu Drive, but only in Case it’s Not Corrupted.
And this Procedure that make use of the e2fsck Tool is Valid for the ext2/ext3/ext4 File Systems.
Finally, the guide includes instruction on How to Recover Disk Partition with TestDisk on Ubuntu Linux.
1. Booting in Recovery Mode
How to Boot System in Recovery Mode with Network
2. Finding out Root Partition
Find the Volume to Fix (LVM or Ordinary Partition)
Try with:df -h
And Take not of where is Mounted the ‘/’ Root Partition!
Linux Ubuntu Terminal Tutorial for Beginners
3. Fixing Disk Errors
Now to Fix Hard Drive Volume
First, unmount the Root Drive like:sudo umount /dev/[my-vol]
And then run the e2fsck Utility Scan:sudo /sbin/e2fsck -fy /dev/[my-vol]
Then if Errors are found Repeat again the process until the Disk is Fixed with No more Issue detected!
And when the Disk is Not Corrupted then the Process will Easily Restore the Volume.
Last, to Reboot into Ubuntu Linux use:sudo reboot
4. Recovering Partitions
How to Recover Ubuntu Disk Partitions