New
#1
Fixed Windows - But Now Grub is Gone?
Windows Seven Forums addresses topics related to Windows not Linux. However, as a courtesy for those Windows 7 users who may also dual boot with a Linux OS, this thread will briefly show how to easily restore the Linux Grub boot loader after a Windows repair has overwritten Grub.
I will use the Ubuntu 9.10 Install CD to make the repairs. It does not matter what Linux distribution you are dual booting, Grub is a Linux based program and is much the same for all. You can also download and burn the Ubuntu CD and use it as described without altering your Linux disrtibution.
Here's how:
Boot to the Ubuntu CD (or the Linux Live CD of your choice)
You must first select a language:
Then select "Try Ubuntu without any change to your computer"
The Ubuntu Live CD will load and the Ubuntu desktop will appear.
Open a "Terminal"
In the terminal type: sudo fdisk -l (that is a small L for list)
You must find the /dev/sda number of the partition for your Linux OS
In this picture it is /dev/sda7
Next type: sudo mount /dev/sda7 /mnt (use the Device ID for your Linux)
Then type: sudo grub-install --root-directory=/mnt/ /dev/sda (with no number)
When successful, type: exit
Restart and you should have a restored Grub menu to boot from.
As a final step, if necessary, boot into Ubuntu and open the "Terminal".
Type: sudo update-grub
The Grub menu will refresh adding any missing Operating Systems.