0

I formatted my XP drive and installed XP again, and now I can't boot into Ubuntu. I just need the option of selecting Ubuntu while the system boots.

Thanks in advance for replies.

  • 1
    Try https://help.ubuntu.com/community/Boot-Repair to reinstall grub bootloader – Meer Borg Mar 12 '13 at 06:26
  • How did you install Ubuntu; did you install without restarting your PC or installed it after restarting and selecting your boot device at boot-up? – jobin Mar 12 '13 at 07:49
  • Windows cannot detect Linux distros, this is why it is recommended to usually install Windows, then install Ubuntu. Check this answer here on Ask Ubuntu – Dan Mar 12 '13 at 08:26

2 Answers2

1

Windows will do that: It assumes its the only OS and overwrites the Master Boot Record (MBR). It's usually easier to install Windows first. Fortunately its not difficult to fix. Take a look here

The easiest way is

  • Insert your Ubuntu CD, reboot your computer and set it to boot from CD in the BIOS and boot into a live session. You can also use a LiveUSB if you have created one in the past.

  • Install and run Boot-Repair

  • Click "Recommended Repair".

  • Now reboot your system. The usual GRUB boot menu should appear. If it does not, hold Left Shift while booting. You will be able to choose between Ubuntu and Windows.

Warren Hill
  • 22,112
  • 28
  • 68
  • 88
0

There are two possible answers:

1) The easy answer is just reinstall Ubuntu. Backup the data of your Linux partition onto a thumb drive and "nuke and pave" that is to say format and install right over top of the old Linux.

2) A bit more tricky. You'll want to install a Linux boot option into your boot.ini file in windows. See here for details.

Good luck!

jobin
  • 27,708
Jason
  • 583