I was thinking what a modern MBR should do and come to the following
pseudo-code:
If GPT exist
If BIOS_Boot_Partition exist
Give control to it (probably second stage GRUB)
else if a GPT bootable partition exist
Give control to it (could be many things)
else Error 'No GPT bootable partition!'
else (MBR partition)
if an MBR bootable partition exist
give control to it
else ERROR 'No MBR bootable partition'
I think in most cases, it would do the right thing.
And could be better than most MBR already present.
Not sure it could be coded in such a small place however.
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel