Ubuntu – Ubuntu 14.04 is not booting normaly after a manual hard boot


I ran Ubuntu boot repair from a USB flash, and it results in the following log, I cant boot normally, or back up my data through live CD, as the primary hard disk is not booting correctly. I have not ever tried to install windows alongside Ubuntu at any point, I have no Idea why it's the problem with the live C.D. not detecting my existing Ubuntu

I'm trying to back up my primary hard disk which has Ubuntu on it, and I plugged into my windows laptop, and the system detected the drive, but couldn't initialize it.

Here is the my boot repair info. The screenshot is of the computer management tools in windows 7 prompting me to create a new partition table for my hard disk

enter image description here

Best Answer

From liveDVD/Flash so everything is un mounted,swap off if necessary, change example shown with partition sdb1 to your partition(s)

To see all the ext4 partitions

sudo parted -l

e2fsck is used to check the ext2/ext3/ext4 family of file systems. -p trys fixes where response not required Run both commands as different parameters used. New NVMe drives will be like /dev/nvme0n1pY where pY is partition.

sudo e2fsck -C0 -p -f -v /dev/sdb1
sudo e2fsck -C0 -p -f -v /dev/nvme0n1p2

if errors: -y auto answers yes for fixes needing response, also see man e2fsck

sudo e2fsck -f -y -v /dev/sdb1
Related Question