Ubuntu: trying to setup ubuntu14 with Windows 10



Question:

I already have Windows 10 installed. I created the recovery drive for Windows. I turned off fast boot but did not turn off safe login. I created a partition using Windows partition manager. I then used the Ubuntu installation flash drive to create three partitions (2 ext4 for "/" and "/home" and one for swap space). The installation seemed to have gone fine. When I start the computer, the boot loader only boots up Windows 10. I tried BC Edit with Windows 8.1 and was able to get it working though not perfectly. I read up that perhaps I should not have to use EasyBCD with Windows10. Any ideas on how I can modify the boot loader to ensure that I can launch either Windows 10 or Ubuntu 14 (on a HP laptop).

Thanks in advance


Solution:1

Try to change the default operating system to boot from Windows to Ubuntu in BIOS / UEFI.
If this is not possible or doesn't work with expected results proceed with the following steps:

First you have to disable hibernation in Windows - as you said Fast Boot is disabled already.

Boot into Windows - open command prompt as administrator and execute this command:

powercfg /h off    

Shutdown the machine (do NOT reboot) completely.

Then reinstall GRUB bootloader to your Ubuntu installation in EFI mode.

Boot from the Ubuntu install media - then open a terminal and execute:

sudo mount /dev/sd*** /mnt  sudo mount /dev/sd** /mnt/boot/efi  for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done  sudo chroot /mnt  grub-install /dev/sd*  update-grub    

Note :

sd* = disk | sd** = efi partition | sd*** = system partition

In case you have an older machine with legacy BIOS the commands are:

sudo mount /dev/sd** /mnt    sudo grub-install --boot-directory=/mnt/boot /dev/sd*  

Note : sd* = disk | sd** = system partition

If you do not know the partition numbers you can easily identify them with GParted.

This (Graphic User Interface) tool is already included in the Ubuntu installation media.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »