Hello everyone this will be a long story.
First I installed Windows 10 Enterprise LTSC, then I wanted to dual boot it with Ubuntu 22.04. I allocated free space for it then I made a bootable GPT/FAT32 USB stick with this version of Ubuntu for installation. I made /home (ext4) , / (ext4) and a swap area (2GB).
During the installation of Ubuntu 22.04 I didn't find the option saying "Install alongside Windows" I chose the Something Else option and I performed my installation. after the installation it required a restart.
When I restarted it automatically booted windows 10 without even showing the grub menu to choose between both systems. i read online that I should make Ubuntu first in the list of boot menu .. I didn't find the two names of both systems I just found my hard drive to boot with..
I followed another lead online that says I should select a UEFI file as trusted for executing. Mine is Acer E5-575G-532G I couldn't make that option unless (as another lead online says) I set a supervisor password .. but then I didn't find what everyone found; the HDD0 option didn't appear. simply the list was empty .. no disk found at all .. all of this trying to fix the "No Bootable Device Found" issue when booting with UEFI secure boot mode.
Windows 10 is now only booting on Legacy not secured boot mode. I deleted all other partitions from windows 10 but still booting in Legacy mode. I don't know why all this complications when dual booting Ubuntu alongside windows and vise versa. I just want this to happen easily with success and no issues.
I hated windows for permanent lagging and hated Linux for gaming issues and incompatibility. If anyone understood me and have an easy safe solution to this give me instructions with screenshots or even a tutorial video because frankly I'm so tired of trying finding solutions to everything.
If necessary i can leave my Facebook or anything for direct contacting. I'm desperate to solve this big problem that occurred to me.
21 Answer
You messed up when you created partitions for Ubuntu before installation.
In order to get the "Install alongside Windows" option, you must have enough unallocated free space for Ubuntu. That means there must not be a partition created in advance. The Ubuntu installer will create a partition for you.
The second requirement to get the guided installation is that the USB installation media has to be booted in the same mode where Windows is already installed. This is typically UEFI so you must boot the USB as UEFI.
Along the same lines, you do not need to create a separate home partition nor do you need a swap partition. Ubuntu will use a swap file in absence of a swap partition. And a home partition is not useful for most people. This is why the default installation options do not create all of these extra partitions.
I suggest that you delete the Ubuntu partitions you created so that there is unallocated space and start over with the above information in mind.
7