How to Recover Ubuntu After Installing Any Other OS

This is a very special day for WeboGraffiti, we got on a .com domain exactly one year ago from today, so we are mentioning a very special trick in this post. Users who like to use multiple operating systems on their computers must have got this problem that in some cases, one OS disappears when you install other and only one boots, even when you know that it is there on the hard disk. You cannot load it. If this happened with Ubuntu, here's your solution.



I am a huge linux and open source fan and most of the work I do is on Linux, but sometimes just to go with the mainframe, I have to use Windows too. After installing Windows 8 Pro on my Ubuntu PC, Ubuntu stopped loading and only Windows booted. There was no choice of OS given either. I found a solution which I'm sharing in this post.

What is Boot Repair?

Boot repair is a Linux application which repairs the problems of booting of Linux. We are going to use this application for recovering our lost Ubuntu.

Step 1: Getting a bootable image of Ubuntu

If you already have a bootable disk/ flash drive/ image of Ubuntu, please proceed to the next step.
Since your Ubuntu is lost, you need to install Boot Repair on a live image of Ubuntu. Same can be downloaded from here.
After downloading, write this image to any CD/DVD. You can use any disk burner software to do so. If you do not want to make a disk, you may also make a bootable flash drive. Boot your PC from this live image of Ubuntu.

Step 2: Installing Boot Repair

  1. When you boot from the live image of Ubuntu, choose "test before installation" or "live demo" or something similar for booting.
  2. When the OS gets loaded, open terminal by Ctrl+Alt+t.
  3. You have got to add the installation repository before installing so type or paste,
    sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
  4. Now install boot-repair by the following command.
    sudo apt-get install -y boot-repair && (boot-repair &)

Step 3: Repairing Boot

After you have installed boot-repair, go for the recommended repair option and wait for some time till the application re-installs GRUB (GRand Unified Bootloader), which is responsible for the OS selection screen which you will get.

After you have repaired the boot, restart your system. You will get a bootloader (OS selection screen). Select your favorite operating system.
This is all in this special post of WeboGraffiti. Don't forget to subscribe if you liked it. :)

    Comments

    1. Ankur Singh Panharia18 June 2013 at 00:16

      This guide is working, I have tried it on my computer.

      ReplyDelete

    Post a comment