I am a newbie in the Ubuntu territory. I installed Ubuntu 20.04 on my Windows 10 PC for dual boot. I have three SSDs. I installed Ubuntu in one of them. (I followed this instruction: https://www.tecmint.com/install-ubuntu-alongside-with-windows-dual-boot/. But I didn't’ create the /home partition.) The Windows is in another SSD. The last SSD is just for saving some personal data.
I have three problems:
When I rebooted the system after installation, Grub didn’t show up. I wanted a dual-boot, so I searched for an answer. I found that I had to edit /etc/default/grub file (e.g., Why is Grub menu not shown when starting my computer?). I did it, and Grub showed up. Grup shows up
But now I didn’t see a Windows 10 menu in the Grub window. I searched for an answer again and modified as advised here: GRUB does not detect Windows. I was able to see a Windows 10 menu in the Grub window.
But when I clicked on the Windows 10 menu, Grub said something like “invalid UEFI.”
Here are some things about my system that I think might help you to understand it.
I found that there is no file in the /efi/EFI/Microsoft/Boot folder. Is this related to the third problem above, "invalid UEFI"?
When I clicked on the ubuntu menu on Grub, it often took forever to boot. It seems that the system froze there. To avoid, I had to remove the Grub menu by again changing the /etc/default/grub file. I changed GRUB_TIMEOUT_STYLE=menu -> GRUB_TIMEOUT_STYLE=hidden. Then, ubuntu boots normally.
When I clicked the Advanced options for Ubuntu on the Grub screen, I find two different “versions” of Linux. One is Linux 5.4.0-42-generic, and the other is 5.4.0-52-generic. (I installed and deleted ubuntu several times already before this round. Is this the reason that I see two different versions?). Two different "versions" of linux
This may be related to 3) just above. When I type
sudo update-grub
, the system says that it finds two images. See the screenshot. Two images of linux. (In fact, I had to install and unistall ubuntu several times before.)Finally, when I want to boot Windows (after using Ubuntu), Windows goes through the disk checking process. It boots normally, but it goes through the process anyway. Is this normal? Windows goes through a disk-check process
Finally, my BIOS shows three booting options: One ubuntu and two Windows 10.
I can still dual-boot by changing the boot order in the BIOS setup every time I want to use the other system. But entering the BIOS when I want to use the other system is not convenient. I want to use Grub. But I have the three problems above. I would appreciate if anyone could help me to resolve these issues. Finally and if I am bit more ambitious, I would like to make Windows the "default" OS in Grub. Is this possible?