maharmstone / quibble

Quibble - the custom Windows bootloader
GNU Lesser General Public License v3.0
2.12k stars 81 forks source link

Fails to boot XP in virtualbox #34

Open TAOcroatia opened 3 years ago

TAOcroatia commented 3 years ago

I'm trying to boot Windows XP x86 in Virtualbox. This is the error i get: Could not open Windows on volume. Open returned EFI_NO_MAPPING boot returned EFI_NO_MAPPING

freeldr.ini is default, except with Windows line endings. XP's boot.ini contains the same multi(0)disk(0)rdisk(0)partition(1)\Windows as freeldr.ini Windows XP is installed on an NTFS partition and i'm using this driver placed in the driver folder next to quibble.efi. Quibble files are on an another virtual hdd, fat32 formatted, at the root directory. I saw no mention of CSM anywhere in Virtualbox settings nor UEFI menu and I do get the pretty font.

maharmstone commented 3 years ago

I can't speak to the quality of the Batard EFI drivers - I know the Btrfs one wasn't good enough, hence why I wrote my own. Possibly it doesn't understand case-insensitivity.

It looks like VirtualBox might not support CSM - try it in Qemu.

TAOcroatia commented 3 years ago

No more fancy text, new and same errors. I'm using your x86 OVMF build on Qemu 5.0 In this case, there is one drive, first partition being the ntfs one with windows xp on it, second fat32 one containing quibble files. Still using same NTFS driver.

Screen Capture_qemu_20210114191706

TAOcroatia commented 3 years ago

Interestingly, Windows (Debug) option gives me exact results as in Virtualbox

TAOcroatia commented 3 years ago

@maharmstone Looks like the driver was the issue, now i'm using the rEFInd one, here is the new error i get, EFI_NOT_FOUND: Screen Capture_select-area_20210116230714 I think it would be noteworthy to say that the drive is MBR partitioned. Are both GPT and MBR supported?

TAOcroatia commented 3 years ago

Spent half an hour digging through your code, only to realise, initialize_csm refers to the CSM, compatibility support module. Anyway, i went back to qemu, same setup as above, added the new ntfs driver, now i just get an instant reboot. Last thing i see is Acpi table at **. Could it be an ntfs driver issue, again? I don't know. I'll try some more stuff and write back.

TAOcroatia commented 3 years ago

No luck.