Saturday, January 24, 2009

Call Back Your Grub Loader

For all people who know about Linux, or who is studying about it, maybe all of you have ever got this problem. The problem is you get your grub loader lost. Well, do you know what the grub loader is? It is list of Operating System which you use in your computer. I think you will see it if you have more than one Operating System in your computer. But the problem would be happened when you install Microsoft Windows first in your computer, then you install Linux after that, then maybe you repair or reinstall your Microsoft Windows. I’m sure that your grub loader would be lost. Are you panic now? Take it easy. Well, I have the solution. What you have to do now is :
  1. Put the Linux live CD in your CD-ROM. There would be some options. Enter the live cd mode. Don’t choose install option.
  2. Then mount the storage media which it contents is the previous Linux system. You could write the syntax below in the terminal. " sudo mount dev/hda1 media/disk " . It means you mount your storage media(hda1) to media/disk
  3. Then write this syntax " sudo grub-install --root-directory=/media/disk /dev/sda "
  4. Finally restart your computer " sudo reboot "
I have been doing this way for many times. Now it's time for you to try it. Any comments ?

No comments: