quibble icon indicating copy to clipboard operation
quibble copied to clipboard

exFAT boot support?

Open ZhuMa12345678 opened this issue 5 years ago • 11 comments
trafficstars

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.

ZhuMa12345678 avatar Feb 21 '20 10:02 ZhuMa12345678

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?

maharmstone avatar Feb 21 '20 21:02 maharmstone

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.

ZhuMa12345678 avatar Feb 22 '20 09:02 ZhuMa12345678

Can you please make an English version of the guide?

MegaZeroX10 avatar Feb 26 '20 14:02 MegaZeroX10

@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 avatar Feb 26 '20 14:02 ZhuMa12345678

@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

ZhuMa12345678 avatar May 08 '20 16:05 ZhuMa12345678

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?

maharmstone avatar May 08 '20 16:05 maharmstone

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?

ZhuMa12345678 avatar May 08 '20 16:05 ZhuMa12345678

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.

maharmstone avatar May 08 '20 17:05 maharmstone

@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

ZhuMa12345678 avatar May 10 '20 08:05 ZhuMa12345678

@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

a1ive avatar May 10 '20 08:05 a1ive

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

ZhuMa12345678 avatar May 10 '20 09:05 ZhuMa12345678