Boot troubles - Dual-booted -- Ubuntu installed after WinXP

Having to repair the Grub2 boot setup...

Here's how I fixed it...

  1. Booted to Ubuntu Linux 11.10 Desktop
  2. Opened a Terminal session
  3. Installed Boot-repair
  4. Ran same, and took the default one-click repair option...

For the less savvy of us, here are the two magic CLI commands to install & run it:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Boot-Repair

  • Easy-to-use (repair in 1 click ! )
  • Free (GPL open-source license)
  • Helpful (Boot-Info summary to get help by email or on your
    favorite forum)
  • Safe (automatic backups)
  • Can recover access to Windows (XP, Vista, Seven).
  • Can recover access to Debian, Ubuntu, Linux Mint...
  • Can recover access to any OS (Windows, MacOS, Linux..) if your PC
    contains Debian, Ubuntu or derivative.
  • Can repair MBR-locked OEM computer boot if the original
    bootsector has been saved by Clean-Ubiquity
  • Can repair the boot when you have the "GRUB Recovery" error
    message
  • Options to reinstall GRUB2 bootloader easily (OS by default,
    purge, unhide, kernel options..)
  • and much more ! (EFI, SATA, filesystem repair...)