Ubuntu

Grub no longer appears after upgrading to Windows 7

Asked by roar888 on 2009-11-04

I have been dual-booting Ubuntu and Windows Vista, and I just upgraded my Vista OS to Windows 7. Now the grub menu where I choose which OS to boot no longer appears. It just boots straight to Windows. Why did this happen and how can I fix this? (Ideally I would like to avoid reinstalling Ubuntu if at all possible)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu grub Edit question
Assignee:
No assignee Edit question
Solved by:
roar888
Solved:
2009-11-06
Last query:
2009-11-06
Last reply:
2009-11-04
roar888 (rhurley24) said : #1

Also, if it affects anything, the Ubuntu version I am running is 9.10; I just upgraded like a week ago.

Windows overwrites any existing bootloader.

The solution depends on which version of Grub you have installed (grub or grub2). If you installed 09.10 (Karmic) from scratch, you'll have grub2, else you will have an older version.
If you're not sure, boot with the Ubuntu Live CD, mount the Ubuntu partition on your hard disk and check if the file /boot/grub/menu.lst exists. If it does, you have Grub. If it doesn't, but you do have /boot/grub/grub.cfg, you have Grub2.

Fixes:
Grub: https://help.ubuntu.com/community/WindowsDualBoot#Recovering%20GRUB%20after%20reinstalling%20Windows
Grub2: https://help.ubuntu.com/community/Grub2?action=show&redirect=GRUB2#Reinstalling%20from%20LiveCD

roar888 (rhurley24) said : #3

This works, thanks for helping!