wolfcod / NtfsPkg

3 stars 0 forks source link

NTFS volume not mounted a rw, only ro + Crash on `dir` command #3

Open nickylimjj opened 2 years ago

nickylimjj commented 2 years ago

Hi @wolfcod,

I am running UEFI shell in VMware® Workstation 15 Pro (15.5.7 build-17171714).

The ntfs.efi was built by adding to the OvmfPkg using VS2015X64 toolchain.

Whilst I can compile and load the DXE driver (I put it into my ESP partion and run fs0:\ load ntfs.efi, it mounts the NTFS volume as ro. When i try run dir on it, the program crashes.

image

wolfcod commented 2 years ago

Hi, it's almost a couple of years which this project is not under maintenance. The RO mounting was something I did as latest change, but I guess the biggest issue is related to NTFS3G driver based on an old release. Anyway, thanks for noticing me.. I'll build everything in my oldest setup to identify and to fix this bug.

cod

nickylimjj commented 2 years ago

Hi, thanks for the prompt reply! Let me know how I can help, would gladly support any requests. 😄

wolfcod commented 2 years ago

The Volume has been prepared using which version of Windows OS? 7 10 or 11?

nickylimjj commented 2 years ago

The Volume has been prepared using which version of Windows OS? 7 10 or 11?

Prepared for Win 10

Edit: Specifically

cmd> systeminfo
[...snip...]
OS Name:        Microsoft Windows 10 Pro
OS Version:     10.0.19042 N/A Build 19042

image

wolfcod commented 2 years ago

Hi, I prepared the environment and built the version with VS2015x64 and VS2019 (OvmfPkg + EmuPkg arch x64 toolchain vs2019).

I prepared also with windows 10 pro a new drive to be used with qemu.

wolfcod commented 2 years ago

Confirmed. It crash also in qemu when Ntfs driver is loaded.

wolfcod commented 2 years ago

@nickylimjj can you tell me which version of EDK2 you tried to build? The main branch used into tianocore/edk2 project has some issues with kernel debugging and ovmf package..

nickylimjj commented 2 years ago

I believe i used UDK2018 branch.