Hi,
stlw wrote:
Sorry no idea what DUET is, so I don't know if you will need to boot from your image.
I'd assume DUET is "Intel(R) Platform Developer's UEFI Emulation (DUET)", which is part of the
tianocore project now.
bewing wrote:
Making a new disk image doesn't have to be convoluted, either. Write a quickie C program -- allocate a great big buffer, open the file, read the file, close the file, create a new file, and then write out only the correct number of sectors to match a good/legal CHS size. You can do it in 10 lines of code.
Based on "
and my guess booted but confused DUET's loader and so is obviously incorrect" I'd assume that DUET's code uses hard-coded CHS values somewhere, so the disk image has to have the same number of sectors per track and heads as the original media (so that those hard-coded CHS values still work). I could be wrong, and it could be worse than that - for e.g. maybe it's partitioned with GPT and needs to find a correct secondary GPT header in the last sector of the disk or something.
Firestryke31 wrote:
I have a USB stick that I've managed to install DUET on (it was a long, complicated, "fun" process).
If installing DUET is both long and complicated, then maybe it'd just be easier to port UEFI to Bochs and run it as firmware (it's been done for both Qemu and VirtualBox before)...
Cheers,
Brendan