View Full Version : [ubuntu] Restoring kernel from live cd

April 6th, 2012, 10:49 PM
I accidentally removed an important kernel from my boot folder and now my system will not start.

I would like to be able to overwrite the kernels on my harddrive, right from my installation disk.

I am running into a few walls in trying to do this. For example, when I try to follow the steps that I found on this page:


On the 1st step of writing the command "sudo mount /dev/sda2 /mnt"

I get the error message "mount: you must specify the filesystem type"

Here is a look at my screen, showing a few detail of what my system looks like:


Thank you for any help you make have to offer.

April 7th, 2012, 07:52 AM
I solved this by using boot-repair. I initialized boot-repair to reinstall grub. Then when I saw that my grub looked relatively normal. Initialized mbr repair, which apparently fixed my master boot record, and gave me my harddrive back.

So now its time to back up and confirm the fix by finding out if my system will reboot normally. Plus it looks like I will have to check a few small things to bring my server back online.