Wednesday, October 23, 2019

How to get dual boot (Ubuntu/Windows) option enabled?


My first disk has windows and second disk (not partition) has Ubuntu.


But the first disk was removed during ubuntu installation and plugged back after installation.


Now my system boots with only one OS depending on the disk with higher priority in the boot list.


One of the attached question talks about boot repair or about reinstalling grub-efi. Which is not the case here. My system boots perfectly but based on the drive selected.


The other attached question is valid with the given assumptions being true, which are false in my case.


Is there any way to get OS selection list at boot time?



In your case, the following should be sufficient:



  1. Boot Ubuntu with both drives installed.

  2. Open Terminal and issue the command:


    sudo update-grub

  3. Enter your password and check it detects Windows apart from Ubuntu itself.

  4. You can reboot and choose Windows in the GRUB menu.


However, this might not work if you installed both systems in a different mode (BIOS or UEFI). Anyway, a boot menu provided by the firmware can do the same work as the GRUB menu would.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...