0

I currently have a dual boot system on an HDD with Windows 10 and Ubuntu with Grub2.

I just bought an SSD and did a fresh install of windows 10 on it. After the installation, my computer would boot directly into the new windows without the grub menu. However I was able to recover the grub menu by giving boot priority to the HDD in the bios, but now I can't boot into the SSD.

I would like to update the grub menu so I can boot between any of the three OS's.

I tried running update-grub but it did not detect the windows installation on the SSD. Yet I can access the SSD file system in ubuntu.

Is there a way to update the grub boot menu so it detects the new installation?

10
  • 1
    Are both systems installed in same boot mode, or both UEFI or both BIOS. The boot modes are incompatible and if not same you will not be able to boot Windows from grub, just from UEFI? Also if Windows 10 fast start up on, grub2's os-prober may not be able to see the Windows install. May be best to see details, use ppa version with your live installer or any working install, not older Boot-Repair ISO: Please copy & paste link to the Boot-info summary report ( do not post report), the auto fix sometimes can create more issues. help.ubuntu.com/community/Boot-Repair
    – oldfred
    Mar 5, 2019 at 18:11
  • Thanks, I tried Boot Repair, clicked "Recommended repair" and got this this message: "The current session is in Legacy mode. Please reboot the computer, and use this software in an EFI session. This will enable this feature. For example, use a live-USB of Boot-Repair-Disk-64bit (www.sourceforge.net/p/boot-repair-cd), after making sure your BIOS is set up to boot USB in EFI mode." I will make a bootable USB and try again
    – Alex
    Mar 5, 2019 at 21:17
  • Do not run autofix, until someone has looked at report. Ubuntu only has one version. How you boot it from the live installer is then the install mode it is in. Both Windows & Ubuntu install in boot mode that you use for installer UEFI or BIOS, but you need to be consistent. Computers since Windows 8 in2012 are UEFI as that was a Microsoft requirement that Windows be installed by vendor in UEFI mode.
    – oldfred
    Mar 5, 2019 at 22:31
  • ok, I generated the BootInfo report. Here is the link: paste.ubuntu.com/p/WRmJNB7knH
    – Alex
    Mar 5, 2019 at 23:12
  • Mixed boot issue. You have Windows in UEFI/gpt on sda and Ubuntu and old (?) Windows in BIOS/MBR boot mode in sdb. But also Ubuntu UEFI and ESP on sdb. Windows has to have MBR(msdos) with boot flag on partition with its boot filesyour sdb1, but for UEFI you have to have boot flag on ESP or sdb5 and you cannot have two boot flags. Which Windows are you using? Best to have Windows on sda and Ubuntu in UEFI mode with gpt partitioning on sdb. But conversion to gpt will erase sdb. You may convert MBR to gpt, but sdb Windows will then not boot. Whatever you do backup sdb first.
    – oldfred
    Mar 6, 2019 at 4:29

0

You must log in to answer this question.

Browse other questions tagged .