I bought a cheap refurbished laptop that had Windows 10 installed and I wanted to setup a dual boot system with the latest version of Ubuntu. I did this and it was successful installing Ubuntu and preserving Windows 10. The machine is an HP and is very old and uses BIOS by default but has UEFI experimental mode.
After the installation the laptop displayed that an OS is not installed, so I switched to UEFI and it will then boot Ubuntu but not Windows. I actually was able to actually fix this problem on another drive (same machine) with Boot-Repair, but I cannot reproduce the series of commands I performed. I cloned the drive to a larger drive and the larger drive now has the original issue. Somehow on the original drive I was able to convince Ubuntu to stop using UEFI and start using grub, but I cannot reproduce it.
The latest error I got from Boot-Repair while live booting the Ubuntu 22.04 installer was:
The current session is in BIOS-compatibility mode.
Please disable BIOS-compatibility/CSM/Legacy mode in your UEFI firmware,
and use this software from a live-CD (or live-USB) that is compatible
with UEFI booting mode. 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. This will enable this feature.
This error occurred while I had the laptop booted into BIOS mode, so I then booted into UEFI mode and got the same error. I also tried using the Boot-Repair live image with the same error.
I’ve tried many things from an assortment of forums and tutorials and I cannot seem to fix this. Boot-Repair worked for me on the original drive (not in live mode) and that seemed to fix the problem, but I cannot seem to do it again on the cloned drive.
In short Windows 10 was setup in BIOS mode and I cannot boot into it to change windows to UEFI. Ubuntu won’t leave UEFI mode and I cannot switch it to BIOS. And I cannot get grub to load. The goal is to get both Windows and Ubuntu running in BIOS mode.
I believe I used Rufus to write Ubuntu 22.04 64 bit to a 16 gb microsd card. But I will try again using the Ubuntu stock media tool
– Fmhegs Jan 26 '23 at 00:05