Bios stopped recognizing any drives after trying to install Ubuntu from usb drive


I tried installing Ubuntu (dual-boot with Windows 10) from my USB drive but I got the error “No EFI system partition was found, the system will likely not be able to boot successfully and the installation may fail” I closed the installer and reboot my computer to find that none of my drives are being recognized by the bios. When I went back to Ubuntu on my USB (apparently it can recognize the USB and nothing else) all the drives were recognized and there was nothing wrong with them. I have no clue what could be going on here.