If you have ever installed linux as a dual-boot on your computer you know that the GRUB bootloader conveniently places an option to boot back into Windows so that you can run them side by side with 0 effect on eachother (save a little hard drive space).
However, when you install Windows Microsoft assumes that you are fixing a "bug" on your computer. That "bug" is the existence of linux as a bootable option. It conveniently removes GRUB as your boot loader and doesn't replace it with an option to return to linux if you care to do so anytime you reboot. The following steps will write GRUB to the master boot record (MBR) and restore that functionality for you. Please backup any valuable data or know how to get it off your drive in the event that this doesnt work appropriately for you. Only the disks MBR is touched not the data on the partitions.
This will restore grub if you already had grub installed but lost it to a windows install or some other occurrence that erased/changed your MBR so that grub no longer appears at start up or it returns an error.
This is written for Ubuntu but it should work on any liveCD based distro.
Boot into the live Ubuntu cd.
When you get to the desktop open a terminal (Applications > Accessories > Terminal) and type the rest.
sudo grub find /boot/grub/stage1root (hd?,?)setup (hd0)quit
Recent comments
2 weeks 1 day ago
2 weeks 1 day ago
2 weeks 1 day ago
2 weeks 1 day ago
2 weeks 2 days ago
2 weeks 5 days ago
3 weeks 16 hours ago
3 weeks 5 days ago
4 weeks 5 hours ago
4 weeks 1 day ago