Skip to content

[issue]: Hangs at BIOS POST on Foxconn G31MX-K #3402

@dilworks

Description

@dilworks

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.1.07

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

Yes. I have tried them, but the bug still exist.

BIOS Mode

Legacy BIOS Mode

Partition Style

MBR

Disk Capacity

Several sizes

Disk Manufacturer

Several brands

Image file checksum (if applicable)

None

Image file download link (if applicable)

No response

What happened?

I have this old late Core 2 era motherboard here, a Foxconn G31MX-K, where I'm trying to use Ventoy to boot several OS install media. Unfortunately, this machine has proven to be very stubborn since any attempt to run Ventoy on it ends with a hang early at POST (if I disable the boot logo splash, it hangs before showing the amount of installed RAM).

Things I have tested so far:

  • Try several versions of Ventoy: no dice, had a old stick with 1.0.94 or so, upgraded it to the latest 1.1.07, even made a completely new stick from scratch but everything triggers the hang. All of those sticks boot fine on other computers!
  • Try several different USB sticks: Tried with SanDisk, legit Kingston, and even an ancient 4GB Memorex stick, all with the same exact result: a hang on this Foxconn, OK boot elsewhere.
  • Try different USB ports: nope, didn't changed things.
  • Check RAM for errors: memtest86+ gives a clean bill of health, also tried swapping RAM sticks with no improvement.
  • BIOS tweaks: there is not much USB-related settings to tinker with this Award BIOS-based motherboard, only enable/disable USB, check Mass Storage settings (some drives may need to be manually set to USB-HDD on this mobo to boot)... no improvement.
  • BIOS updates: Tricky to find nowadays since Foxconn stopped making consumer motherboards a few years ago and completely blackholed any resources for the existing ones, including BIOS updates. In any case, mobo had P02, managed to update it to P14, both BIOS exhibit THE SAME PROBLEM, and hang at THE SAME PLACE!
  • FWIW this machine is able to boot other USB boot media: memtest86+, old Parted Magic sticks, UBCD...

In an act of desperation, I went hardcore and started messing with Ventoy's MBR, just to find a couple interesting things that actually affected Ventoy boot:

  • This motherboard hates exFAT partitions for some reason. Reformatting the main partition to anything else helps, but there is another landmine to bypass:
  • The very first instruction at the MBR is a "jmp 0x65" (EB 63), that is, a short jump. For some reason, this triggers whatever early USB check this motherboard is doing so badly that it ends hanging! Moving that jump a few dozen bytes ahead actually managed to get me booting... almost! Instead, I ended hitting the final landmine: Ventoy's MBR check. Of course I'm booting with a tampered MBR which Ventoy dislikes and I get the dreaded "This is not a standard Ventoy device and is Not Supported (12)" error.
  • Even if i patch out the MBR check with my own modded MBR (36 bytes of NOPs in my case!), the check STILL fails - either I'm missing something, or the BIOS is managing to mangle the MBR even more :/

So close, yet so far...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions