0

Edit: I'm trying to install Ubuntu 16.04 in a different hard drive than Windows, but grub is not loading after install.

I found a lot of topics relating windows 10 in EFI mode and Ubuntu, but my windows 10 is installed in legacy mode. Checking windows 10 disk management I don't have an EFI partition, so that confirms that I'm in legacy mode (double checked in BIOS and in Windows info).

I followed this guide on tecmint to install Ubuntu.

I adapted the tutorial to install Ubuntu in a different hard drive. I installed Ubuntu in /dev/sdb2 and 3 (the partitions that I created: root and home) and grub was installed in /dev/sdb.

Windows 10 is installed in /dev/sda1, and windows boot loader is installed in /dev/sda.

After Ubuntu is finished and I reboot, grub is never loaded. I even tried changing boot order BIOS order to first look into Ubuntu HDD, but nothing happens and windows is loaded.

Any clues on what might be happening?

Edit2: I'm running a desktop with an asrock mobo, 1 ssd and 1 hdd. Windows is installed in a M.2 ssd and Ubuntu is installed in the hdd

Zanna
  • 72,312

1 Answers1

-1

BIOS boots from the first HDD it finds with a bootloader in the MBR or flagged boot partition.
Since you have windows installed on sda, BIOS will boot from sda.
Thus, grub needs to be installed on sda.
I does not matter where ubuntu is installed. Grub will find it and make the appropriate entry.
Another option is to swap the drive cables, so ubuntu is sda and windows is sdb.

ravery
  • 6,924