Tutorial for Grub 2 recovery


GRUB

Grub 2 recovery

We often come across a condition in which the boot loader gets corrupt. Here are a few steps that will help you recover your GRUB 2 boot loader.
Boot from a live CD or DVD, Which supports GRUB 2 (Ubuntu 9.10 CD or A DVD will take more time than a CD, so I suggest you boot from a CD).
Open the terminal and run fdisk -l to check the partition from which you want to recover GRUB 2.
Here I assume that you want to recover it from /dev/sda1.
Then run the following commands:
Now chroot into that partition by running the command given below:
Then re-install GRUB , as follows:
The output should be like what’s shown below:
If you get an error, then try the following command:
After a successful installation, exit from chroot and unmount the file systems that were mounted to recover GRUB. Now reboot.
You’ve successfully completed recovering your boot loader. Try this it will help you for sure. Be careful while doing this and keep the steps in your mind.

0 comments:

Post a Comment

www.comhttp.blogspot.in. Powered by Blogger.