How To: Restore GRUB bootloader in Ubuntu 9.10 (standard and Netbook Remix)
If you installed any non-Linux OS on your netbook after installing Linux, then you will have trouble getting your GRUB bootloader since the process of restoring GRUB has changed. But, don’t panic, here are the instructions to get your GRUB bootloader back.
- Boot from the CD/USB flash drive from which you installed Ubuntu
- Open terminal (It is there under Accessories)
- type in
sudo fdisk -l - then type
sudo mount /dev/sdAB /mnt, where A is your drive and B is your linux partition. In my case, I typed insudo mount /dev/sda7 /mnt - install GRUB again by typing this
sudo grub-install --root-directory=/mnt /dev/sdA, where A is your drive. In my case, I typedsda - Now type
sudo umount /mnt
This should work for Jolicloud Linux OS too, but I’m not using Jolicloud right now.
Read Jolicloud Review
Read Ubuntu 9.10 Review
Related Content
Sign up to the Gadgetmix Newsletter (free) for news and reviews mailed directly to your mailbox CLICK HERE













Thank you so much for this! I just upgraded XP Home > 7 Home Premium on my Aspire One D250 and freaked out when suddenly I was no longer able to choose whether I wanted to boot into UNR or Windows.
All’s good now, though. :D
If you had a /boot partition, make a directory in /mount after you boot using a live cd, then mount the /boot partition of your installation there. Then use the same commands above. Thanks for the post. This helped me out of the dog house.
whoops… I meant /media instead of /mount. I have shown my age…
:)
hi. i just followd these steps and got my GRUB loader back fine and dandy. however it doesnt pick up the windows xp i just installed that made me loose the grub in the first place….
im a little baffled and have only been using ubuntu for a few weeks. sorry if its a foolish question.
Thank you so much. I don’t know why it took me SOOOO long to find this page, but I’m glad I did. SST2P. Solved my issue with no real problem. system was a little herky-jerky upon reboot after following instructions, but rebooting once more after Ubuntu 9.10 loaded initially solved the problem.
didnt work for me exactly, after executing those commands, reboot (if windows is not booting) log in into your hard drives linux installation and type:
sudo update-grub
As described at:
https://help.ubuntu.com/community/Grub2#Reinstalling%20GRUB%202
Great job! Thanks a lot!!!
thank you so much dude , you really saved my ass! after installing opensuse 11.2 somehow the grub got deleted and I couldn’t mount neither ubuntu or opensuse anymore, now it’s all solved thanks to you:-) thank you so much!!^___^
This is so fn marvellous!!! BRILLIANT!! I had just done an update on easypeasy, and it totally screwed me… no grub, no windows 7 stuff… nothing.
Your howto totally sorted things out!
THANK YOU SOOOOOOO MUCH!!!!!!
Thank you guys!
I had a successful Windows 7/Lucid Lynx dual boot, was working wonderfully – that is until I logged ina worked in Windows for while. Nw am unable to login on Lucid. Can get to login window but is asking for password etc, in spite of fact I set it to login automatically, and when I enter the password it doeesn’t work? How do I fix this?
SOOOOOOOOOOOOOOOO SOOOOOOOOOOOOOO THANKS! i delete other partition to increase my ubuntu space, but the sda6 become sda5. i noticed that in grub.cfg. but cannot edit the file. ur method save me. realy2 thankz!