Pages

Sunday, October 12, 2014

Laptop directly boots into Windows even after installing Ubuntu

In some laptops mainly in HP, even after you install Ubuntu, laptop directly boots into Windows without giving any boot menu.

To get the boot menu perform the following steps.

1. Restart your laptop holding down the F2 or F10 (depending on the brand) to get the System SetUp      Utility.

2. In the boot options, choose to boot from USB. Save and Exit(Press F10) the set up.

3. Keep the USB connected to the laptop, so it will boot into Ubuntu giving the grub menu for        Ubuntu. Select Try Ubuntu(First Option).

4. When the desktop appears, open a terminal using the Ctrl+ Alt + T keys.

5. In the terminal run the following commands one by one.

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo sh -c "sed -i 's/trusty/saucy/g' /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list"
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
 
           

Click on the "Recommended repair".
6. You might get a message stating "EFI is detected". This is just an informational message because it is perfectly fine to install Ubuntu with EFI turned on.

7. After clicking "OK" to the EFI detected message the utility performed a few tasks and then asks to select some text and run it in a terminal window.

8. If you are asked to do this open a new terminal window using Ctrl+ Alt + T keys. Copy the text from the boot repair window and run the commands one by one.Make sure all the commands have run correctly.

9. Now click on the "Forward" button within the boot repair application. You may be asked to copy and paste more text.
Repeat the process of selecting all the text, press CTRL and C and then right click in the terminal window and select paste.
Make sure the commands run.

Keep following through on the process until the boot repair finishes.
If you are lucky enough then at the very end of the process you will see a message stating that boot repair completed without errors.
Reboot your computer. You'll get the boot menu.

No comments:

Post a Comment