Paragon GPT loader #3

By dose | September 28, 2019
Under: Uncategorized

Recently, I bought a 3rd harddisk which is over 2TB in space and added it to my Desktop machine. As mentioned previously,I had to fix the gpt_loader.sys driver in order to not crash.

My patch worked quite well for a few years, but after adding the new drive, it always crashed with 0xc000001d. So I first thought about another bug in the driver, but then I saw, that the ExceptionCode means c000001d Illegal instruction. Then checking with the debugger, I found out that it crashed at a location that I patched. As the instruction in the closeDriver call was bogus,I immediately thought about a reloaction table entry that must have been written ot the wrong location and indeed – when moving up the code by 2 bytes to get space for my patch, I overlooked a reloaction entry in place.

As long as the driver wasn’t moved in memory and got loaded at the preferred load address, the bug didn’t surface,but due to the new drive, it seems that the driver was reloacted and so the bug struck me. Of course, it was easy to patch, I just had to adjust the reloaction table entry by 2 bytes as well. I updated the patch so that it patched this too. If you need to install this fix on your machine, the patch created a gpt_loader.bak file in the %SystemRoot%\drivers directory. Just restore the gpt_loader.bak to gpt_loader.sys, then apply the updated patch from here and also don’t forget to apply the second patch.

If you have further questions, feel free to ask.

6 comments | Add One

Comments

  1. johnsm - 10/14/2019 at 10:04

    The new patch doesn’t work (it’s looking for C:\temp\gpt\test2\gpt_loader.sys):

    —————————
    Error
    —————————
    Cannot open file for writing: The system cannot find the path specified.
    —————————
    OK
    —————————

  2. dose - 10/14/2019 at 10:23

    Should be fixed now, sorry.

  3. gfernval - 10/22/2020 at 14:21

    Hello:

    Have Windows XP but with FAT32 (cannot switch to NTFS), would be grateful if you can send me the file install_xp.zip (it was located in http://ftp.paragon.eu.com/support/GPT/install_xp.zip), I have contacted with Paragon but no help, I have BSOD on Windows boot after installing GPT Loader driver, see https://kb.paragon-software.com/article/838 (first paragraph)

    thanks

  4. gfernval - 10/22/2020 at 18:25

    Hello:

    Need a registry file called install_xp.reg to be able to install gpt_loader.sys on a Windows XP machine with FAT32 filesystem, can you send me?

    thanks

  5. gfernval - 10/23/2020 at 16:03

    Great support from this site and NOT from Paragon, this is the solution if Windows XP boots from a FAT32 instead from a NTFS partition:

    Install Paragon GPT loader, but before rebooting run regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\gpt_loader

    change the value of the key ImagePath from system32\DRIVERS\gpt_loader.sys
    to
    system32\DRIVERS\GPT_LO~1.SYS

    and then reboot, problem solved

  6. cestovatel - 03/20/2022 at 12:32

    Only for your thoughts (a´m not Arecas agent :o) :

    I have found that with my PCI-E x1 Areca ARC-1201 SATA2/SAS controller it´s easy to use 3GB SATA HDDs even under WinXPx86SP3 and without the need of any special/modded drivers 🙂 I tested this controller on 2GB and 3GB Seagate SATA2-3 HDDs without problems.

    Areca, thanks to it, still offers some “older” XPx86 + XPx64 drivers for this controller and I´m satisfied with it.

    Hope this helps.

Trackbacks

Leave a Comment

Name:

E-Mail :

Subscribe :
Website :

Comments :