mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 17:41:18 +03:00
[int13] Include disk signature in debugging output
The disk signature is used by some OSes (notably Windows) to identify the boot disk, so it's useful debugging information to have. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -368,6 +368,8 @@ static int int13_guess_geometry ( struct int13_drive *int13 ) {
|
||||
int13->drive, strerror ( rc ) );
|
||||
return rc;
|
||||
}
|
||||
DBGC ( int13, "INT13 drive %02x has signature %08x\n",
|
||||
int13->drive, mbr.signature );
|
||||
|
||||
/* Scan through partition table and modify guesses for heads
|
||||
* and sectors_per_track if we find any used partitions.
|
||||
|
||||
Reference in New Issue
Block a user