Hi,
zq wrote:
Octocontrabass wrote:
If the BIOS doesn't support it, you have to enumerate all of the storage devices to find the boot disk.
Thanks for your help, I tried with qemu and unfourtuantly it does not support EDD, maybe I need to deal with the enumeration.
In this case there's multiple scenarios where it's impossible for the OS to figure out what it booted from.
For a simple example, assume the user has eight USB flash devices plugged into a USB hub where all of the flash devices are identical clones and have a "write protect" switch set.
For a more bizarre example (that you can expect to fail even if EDD is fully supported), imagine if the user boots a hard disk image from network using
Syslinux MEMDISK (which downloads a disk image into RAM, then hooks "int 0x13" to make the RAM look like an actual disk).
Cheers,
Brendan