Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 ?

share|improve this question
add comment

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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4 Answers

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.

share|improve this answer
add comment

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.

share|improve this answer
add comment

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

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

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