Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

New Idea how to beak 2TB on WinXP-32 (Users)

posted by RayeR Homepage, CZ, 23.05.2026, 13:51

I had an idea how to break that 2TB barrier in WinXP. I wrote a small program that use Dokan library+kernel driver to create a virtual drive. Dokan provide several callbacks that I have to fill with data. My program use true LBA48 IOCTL_ATA_PASS_THROUGH_DIRECT to read physical sectors beyond 2TB and serves it to Dokan. Unfortunatelly Dokan cannot create a simple block device. It works on file level. So I expose one big file DISK.RAW on virtual drive that expose data from NTFS partition beyond 2TB. Then I tried to use ImDisk to mount this file as another virtual disk to expose the content of NTFS FS for Windows. There's some bug that Windows didn't recognize NTFS on this virtual disk but with WDE disk editor I can read sectors from it and the 1st sector readed is the correct NTFS bootsector. So there's a chance it may work...
Of course this complicated spaghetti chain could be simplified by derect patching of ImDisk kernel driver to properly use LBA48 calls but I'm not so guru in programming Windows KMD, maybe someone else...
https://www.vogons.org/download/file.php?id=242639&mode=view

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
23449 Postings in 2213 Threads, 407 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum