If you install Windows after you installed Ubuntu, you’ll need to restore GRUB to allow choosing the system to boot. Fosswire has a tutorial for Restoring an Overwritten GRUB Boot Loader. The basic idea is to
- boot a live Linux system from CD or USB
- mount the lost system partition
- sudo -i to become full root
- bind the devices: “mount -o bind /dev /mnt/system/dev”
- chroot: “chroot /mnt/system”
- install GRUB: “grub-install /dev/sda”
That should reset the drive’s boot sector and allow choosing which OS to run on the next boot.
One comment refers to a simpler method at the How-To Geek: Reinstall Ubuntu Grub Bootloader After Windows Wipes it Out. This one just runs grub from the live boot and tells it to setup the root partition. Steps: “sudo grub” – “> root (hd0,0)” – “> setup (hd0)” – “> exit”
Post a Comment