summaryrefslogtreecommitdiff
path: root/diag
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2011-04-01 15:51:46 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2011-04-01 15:51:46 -0700
commita7270ae36cc247d2b6d3ae897ba9417cea38452d (patch)
tree985960c96544377d2ae13f0e0745da3439a687df /diag
parentc009cc7e98e64ee6f96dfe82865c4bd3ce5c960c (diff)
parent7ec04896dca40c6606b4293e5c8e7bf34265e51b (diff)
downloadsyslinux-a7270ae36cc247d2b6d3ae897ba9417cea38452d.tar.gz
Merge remote-tracking branch 'genec/diag-geodsp-for-hpa'
Diffstat (limited to 'diag')
-rw-r--r--diag/geodsp/README6
1 files changed, 6 insertions, 0 deletions
diff --git a/diag/geodsp/README b/diag/geodsp/README
index 43a3edc2..55e08438 100644
--- a/diag/geodsp/README
+++ b/diag/geodsp/README
@@ -3,3 +3,9 @@ GeoDsp: Images to display the geometry as the BIOS has choosen to interpret it.
GeoDsp1S is a one-sector variant containing all code in one sector that is intended to test behavior with a typical MBR/partition table layout. A partition table should be written after writting an image.
GeoDspMS is a multi sector variant intended to look like Syslinux installed on a file system on the raw device (as opposed to a file system within a partition).
+
+GeoDspMS can also be used to attempt to make the boot sector look like a normal file system's boot sector (ie FAT12/FAT16/FAT32). In order to do this, you must first save a portion the existing boot sector (the majority of the BIOS parameter block).
+ dd bs=1 skip=3 count=87 if=/dev/sda of=sda.bpb
+ dd conv=notrunc if=geodspms.img of=/dev/sda
+ dd conv=notrunc bs=1 seek=3 count=87 if=sda.bpb of=/dev/sda
+