Recently I've bought second HDD (B) for Linux (My configuration was: One dual-boot HDD (A) with Windows 7 + Ubuntu 16.04 on separate partitions). I've deleted Linux partition from my old HDD and extended Widows partition to fully use drive A. After rebooting I was greeted by some error like "no boot device". Without worrying much about it I've decided to install Ubuntu 18.10 on the second drive following guide from this thread. After installing like in guide and booting into Ubuntu (grub didn't show even for 1 second) I've installed grub-customizer, where I found out that grub show time was set for 0 seconds, so I've changed it to 5s. But: Windows weren't among boot options (even after sudo update-grub which used to help in the past). After trying to reboot PC not only was there no option to choose Windows in grub - the grub didn't show at all! The screen turned purple for few seconds, but then Ubuntu logo appeared and the system booted. I've tried default boot-repair repair, but it didn't help. Here is the BootInfo pastebin.
- How do I get grub to show?
- How do I get Windows to show inside grub?
- Is there any other way to boot into Windows If I need to?
Edit: I've managed to make grub to show by pressing ESC key during purple screen. I'm not sure why doesn't grub show by default, because I've check "show menu" option in grub-customizer and commented GRUB_HIDDEN_TIMEOUT=0 inside /etc/default/grub too. Still no option to boot Windows.
Edit2: I've managed to repair Windows 7 boot by changing BIOS settings back to legacy+UEFI and using Windows 7 Recovery CD to fix "bootmgr is missing". I still cannot see Windows 7 in grub, but I can boot both systems by changing drive boot order. How can I add Windows 7 to the grub so that I won't have to do it every time I start computer?