Merge remote-tracking branch 'origin/master' into elflink
[syslinux/sherbszt.git] / diag / geodsp / README
blob55e08438440b9f44d162113122064b4356ab840e
1 GeoDsp: Images to display the geometry as the BIOS has choosen to interpret it.  Both images are intended to be written to the first ~8MiB of a raw device (ie /dev/hda, /dev/sda) and be over one large cylinder of 255*63 512-byte sectors in size.
3 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.
5 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).
7 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).
8         dd bs=1 skip=3 count=87 if=/dev/sda of=sda.bpb
9         dd conv=notrunc if=geodspms.img of=/dev/sda
10         dd conv=notrunc bs=1 seek=3 count=87 if=sda.bpb of=/dev/sda