1

I've installed Windows 8.1 after Ubuntu 15. Now there is only one bootable OS and that is Windows 8.1. How can I recover Ubuntu 15 boot loader?

thesdog
  • 181
  • 2
  • 17
Milad Rahimi
  • 187
  • 2
  • 9
  • possible duplicate of [Dual boot windows 8 and Ubuntu with Windows 8 Boot manager](http://askubuntu.com/questions/230878/dual-boot-windows-8-and-ubuntu-with-windows-8-boot-manager) – luckyrumo Jun 23 '15 at 17:03
  • Are both installed in UEFI boot mode or both installed in BIOS boot mode? And which boot mode is it? – oldfred Jun 23 '15 at 17:35
  • I think this thread might http://askubuntu.com/questions/88384/how-can-i-repair-grub-how-to-get-ubuntu-back-after-installing-windows get you with some idea. – BDRSuite Jun 23 '15 at 17:38

2 Answers2

1

You can use boot-repair.

  1. Create an Ubuntu LiveCD or LiveUSB
  2. Boot into it.
  3. Install the program boot-repair onto the CD or USB.
  4. Launch Boot Repair and choose the default repair. It should work fine.

(There is also a more complex method available which involves chrooting into your system, but I personally prefer this one.)

This should work. Just ask if you need any more help :)

thesdog
  • 181
  • 2
  • 17
0

To recover Grub (I'm supposing this is the original bootloader)

  • Boot through Fedora DVD or Red Hat DVD of Mandriva , not Ubuntu

  • Select Troubleshooting and then select Rescue installed system option

  • To the question "Do you want to start the networking" say no.

Once you get to the shell enter the following three commands:

  1. $chroot /mnt/sysimage

  2. $cd /boot

  3. $grub-install /dev/sda

And you have your bootloader back ;-)

Taken from http://www.wikihow.com/Restore-Linux-Grub-After-Installing-Windows

TellMeWhy
  • 17,124
  • 39
  • 95
  • 141