Possible Duplicates:
No GRUB after re-installing windows
Windows 7 upgrade and Grub boot loader

I had Windows Vista Home Premium on HP pavilion desktop. I partitioned the disk for Ubuntu and a swap disk partition and then I installed Ubuntu 10.04. When I would start my computer, I would be given a choice to start Windows or Ubuntu. Today I reinstalled Windows, and now the menu has disappeared. I don't see in windows the disk partition that I allocated to Ubuntu, so it means Ubuntu still exist but I can't load it. What can I do ?

link|improve this question

feedback

closed as exact duplicate by Sathya, quack quixote May 28 '10 at 17:47

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

4 Answers

up vote 3 down vote accepted

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

hope that helps

Andy

link|improve this answer
feedback

I would reccommend using SuperGRUB. It is a tiny image that you burn to a CD. Once you have booted to that you have various, relatively straightforward, options to restore GRUB or indeed windows to the MBR. Have used this countless times when the thought of routing around the command line makes my head spin.

link|improve this answer
feedback

The link in Andy's answer has one answer but there are other ways to fix it.

When you install Ubuntu, it overwrites your Master Boot Record (MBR) with the program Grub that allows you to choose which operating system you want to boot into.

When you install Windows, it overwrites your MBR with the pointer to run Windows. This effectively means that when you install windows you can no longer access your other operating systems.

The simplest way to fix this is to always re-install Ubuntu after any Windows re-installation (which will replace grub as part of the installation process). You may not want to do this as you may have files and configuration that you would lose. You can also leave the Ubuntu partition as it is, and manually replace grub as described in Andy's link (reproduced here). However, in my opinion this is harder than just re-installing.

For future reference, it may be best if you seperated your root (/) and home (/home) folders into seperate partitions because then you can re-install ubuntu on the root partition without losing any settings or data on your home partition. This process is described in Partitioning your disks.

link|improve this answer
feedback

what happened is GRUB (the bootloader installed by Ubuntu giving you options) got overwritten by MBR of WinXP, which have no entry for Ubuntu...

you could either re-install GRUB from Ubuntu Live Disc : http://www.howtogeek.com/howto/ubuntu/reinstall-ubuntu-grub-bootloader-after-windows-wipes-it-out/

or

you could add Ubuntu's entry to Vista's Bootloader : http://neosmart.net/dl.php?id=1

link|improve this answer
Thank you for good answers! – Yosef May 28 '10 at 15:02
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.