Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exFAT boot support? #15

Open
ZhuMa12345678 opened this issue Feb 21, 2020 · 11 comments
Open

exFAT boot support? #15

ZhuMa12345678 opened this issue Feb 21, 2020 · 11 comments

Comments

@ZhuMa12345678
Copy link

Many years ago, I installed and started Windows on the exFAT partition, but only supported Windows 8 and above, I hope this project can support exFAT to boot Windows 7 and below.

exFAT boot preview
image

This is a detailed installation tutorial I wrote in Simplified Chinese (because I am from China)
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=388226&mobile=no
I appologize for my grammatical mistake because English isn't my main language.

@maharmstone
Copy link
Owner

Well, you've already proven that the Windows exfat driver is good enough to boot off. All you need to do is find an exfat UEFI driver that's good enough - have you tried https://github.com/pbatard/efifs?

@ZhuMa12345678
Copy link
Author

exFAT boot Windows system is supported in both Legacy and UEFI boot modes.
Yes, I use the exfat.efi driver of EfiFs without any problems.
I also converted exfat.efi to exfat.ffs and built it into the UEFI BIOS as a DXE driver, so that the UEFI firmware can get rid of the dependence on the FAT/32 file system.
image
exFAT UEFI boot preview screenshot
image
This is a detailed tutorial I wrote:
http://bbs.wuyou.net/forum.php?mod=viewthread&tid=409768&mobile=no
I appologize for my grammatical mistake because English isn't my main language.

@MegaZeroX10
Copy link

Can you please make an English version of the guide?

@ZhuMa12345678
Copy link
Author

@MegaZeroX10
Sorry, I don't have a professional human translator. I can only use machine translation, but this will cause some translation problems in this guide.

@ZhuMa12345678
Copy link
Author

@maharmstone
Hi, I tried to put exFAT.efi in the drivers folder, and then when I booted quibble.efi, it showed that the exFAT driver was loaded successfully.
image
However, when booting Windows, an error was reported, it seems that quibble cannot read system files in the exFAT partition.
image

@maharmstone
Copy link
Owner

Is this using the Batard driver? EFI_NO_MAPPING is not an error I've ever used anywhere (I don't think), it comes from the driver. Judging from the search results (https://github.com/pbatard/efifs/search?q=EFI_NO_MAPPING&unscoped_q=EFI_NO_MAPPING), I wonder if the problem might be caused by it misinterpreting a Chinese character set as UTF-8.

Could you try something for me please? In Windows, rename the System32 directory so it's all lower case, "system32". Does that change the error you receive?

@ZhuMa12345678
Copy link
Author

Yes, I use the Batard driver. Indeed, when I renamed "System32" to "system32", booting quibble again will not report an error, and now the system files in the exFAT partition can be read correctly.
image
But I don't quite understand why under the same conditions, this problem does not exist in NTFS booting, but this problem occurs in exFAT booting? Is there a better solution to this problem?

@maharmstone
Copy link
Owner

That'll be because NTFS stores all filenames as UTF-16, whereas it looks like ExFAT uses your native codepage.

Thanks for reporting this - I'll try to get it sorted for the next version.

@ZhuMa12345678
Copy link
Author

@maharmstone
Hi, I get an error when I try to boot with VMware Workstation 15 Pro.
image
I remember that VMware seems to support CSM, do I still need to add some DXE drivers to its UEFI firmware?
In addition, I also tried to use QEMU emulator version 4.2 to load the precompiled version OVMF you provided, but QEMU reported an error and could not load the file, What is the reason?
image

@a1ive
Copy link

a1ive commented May 10, 2020

@maharmstone
Hi, I get an error when I try to boot with VMware Workstation 15 Pro.
image
I remember that VMware seems to support CSM, do I still need to add some DXE drivers to its UEFI firmware?
In addition, I also tried to use QEMU emulator version 4.2 to load the precompiled version OVMF you provided, but QEMU reported an error and could not load the file, What is the reason?
image

-bios xxx.fd => -pflash xxx.fd

@ZhuMa12345678
Copy link
Author

Thanks for reminding, that the QEMU emulator can now be turned on. But I encountered a new problem, as shown in this animation, it will restart infinitely when loading the CSM stage.
Test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants