I am using Windows 10 with legacy BIOS and decided to try to dual boot with Ubuntu 20.04. From what I had read I thought it was best to use a second Harddrive for Ubuntu, so my Windows installation couldnt be damaged. So, I downloaded the iso file and burned it to a disk. I installed the second drive and continued with the installation of Ubuntu.
Everything went fine, in the installation menu I picked the right Drive and the installation process went flawlessly.
Then it gave me an error message, but I can't remember what it said, I just clicked ignore (That was probably a huge mistake). After that it proceeded with the installation without errors. After restarting my PC, removing the installation disk and using the boot manager to boot into Ubuntu, it entered Grub Rescue Mode.
I tried
ls (fd0,msdos1)
,which is the drive I installed Ubuntu on, but I got an error message saying "Unknown Filesystem" with every possible Drive I checked.
Then I used
set
And it put out something like this:
(fd0)/root/grub
As you can see in the brackets, it only told me a Drive, but no partition.
I tried Windows system recovery, but it didn't work.
What can I do to fix this issue? I heard you can do something in Ubuntu live mode, but what exactly?
EDIT:
I typed
bootrec /fixmbr
into the command prompt and after a system recovery I was able to boot into Windows. I checked the drive with Ubuntu on it and it said "510MB free of 510MB", which is very weird, because the drive had ~200 GB. Sounds like something is weird with the partition again.