momohumtolearnfree home Grab your ads here. Only $4.99 for one month

How to Fix Grub2 on Ubuntu 9.10

My special thanks to Blogger and Visitors. If You like this, please help us to share:
Digg Technorati del.icio.us Stumbleupon
Bookmark and Share

Ubuntu

When you install windows OS on your computer, probably your grub of Ubuntu 9.10 will disappear and you will be directed on Windows. Or, when you hit enter you got information that Your grub2 is error. We will share how to repair grub2 of Ubuntu 9.10. Grub2 can be faster to boot on your OS.


    Let's fix grub2 of Ubuntu 9.10.
  1. Boot from USB or live cd of ubuntu 9.10, then select Run without change.

  2. If you have on Desktop of Ubuntu 9.10, please go to terminal. We will check root and boot of your Ubuntu 9.10 via terminal.
    e.q. On my pc, root and boot were on /dev/sda1

    sudo cfdisk

    cfdisk

  3. Mount your root on /media/myroot
    Create new folder on /media

    sudo mkdir /media/myroot

    Mount your root now!!

    sudo mount /dev/sda1 /media/myroot


  4. We have to bind mount all our devices from USB to the HDD

    sudo mount --bind /dev/ /media/myroot/dev

  5. Chroot on your root and fixing grub2 of Ubuntu 9.10

    sudo chroot /media/myroot

    run the command grub-install again to install grub to your /dev/sda

    sudo grub-install /dev/sda
    sudo grub-install --recheck /dev/sda

  6. Exit, unmount and restart

    sudo exit
    sudo unmount /media/myroot
    sudo reboot

    After restart, your grub 2 will appear again and ready boot using 2 OS. I don't issue any guarantee It will work for You. Please comment us if you get some troubles, We will help you as soon as possible.^

Comments :

11 comments to “How to Fix Grub2 on Ubuntu 9.10”
Anonymous said...
on 

Thank you Joe, these instructions solved my problem! Before that I spent 5 hours trying to recover grub, not realizing that I had grub2 :) On your step 5, I encountered a problem that grub-install did not see the device map which should be in /boot/grub/device.map. So I manually created that file with the following line in it:
(hd0) /dev/sda
After that everyting went smoothly.

Joe Engressia said...
on 

@my good friend
yap, don't mention it.
happy ubuntu LOL.

Anonymous said...
on 

After doing
"sudo grub-install /dev/sda"
I got a nice response:
"sudo: /etc/sudoers is mode 0666, should be 0440
Segmentation fault"
me is not happy :(

Joe Engressia said...
on 

@my good friend
please follow these article step by step,
and your grub2 will recovery again. ^_^
^_^

Unknown said...
on 

thanks a lot!!!!

Joe Engressia said...
on 

@necko
it doesn't matter lol.

cefleet said...
on 

thanks this worked well.. And if anybody was wondering it does not work with an older live disk (9.04).

Bigdaddyflo said...
on 

Thanks--restored my grub and saved me time!

Anonymous said...
on 

thanks man this really works.

Anonymous said...
on 

The reason it doesn't work with an older live disk such as 9.04 is because 9.04 used Grub Legacy not Grub2.

redhy uii jogja said...
on 

thanks for sharing..this is my first time i visit your site...hope i'll learn much from this site..

Post a Comment

 

Tolearnfree Tags

Translator

Follow

The Directories of Tolearnfree