diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2014-01-17 14:23:06 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-01-17 14:23:06 -0800 |
commit | f88b4f4712c83eb06a23450db9175f88502630f1 (patch) | |
tree | 5349e513fb7838420cdb826f0f81266610769fce /diag | |
parent | 007b0adbe7012532ddf3172549cbb24feab4b157 (diff) | |
parent | 37c0cfcc30b5b713e30b5bc741d97e909411b948 (diff) | |
download | syslinux-f88b4f4712c83eb06a23450db9175f88502630f1.tar.gz |
Merge branch 'elflink' into firmware
Resolved Conflict:
diag/geodsp/Makefile
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'diag')
-rw-r--r-- | diag/geodsp/README | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/diag/geodsp/README b/diag/geodsp/README index 55e08438..9129b694 100644 --- a/diag/geodsp/README +++ b/diag/geodsp/README @@ -1,11 +1,29 @@ -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. +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. -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. +To save the existing data for restore later: -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). + dd bs=1M iflag=fullblock count=8 if=/dev/sda of=sda.img -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 +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/sda1 of=sda1.bpb + dd conv=notrunc if=geodspms.img of=/dev/sda1 + dd conv=notrunc bs=1 seek=3 count=87 if=sda1.bpb of=/dev/sda1 + + dd bs=1 skip=3 count=87 if=/dev/fd0 of=fd0.bpb + dd conv=notrunc if=geodspms.img of=/dev/fd0 + dd conv=notrunc bs=1 seek=3 count=87 if=fd0.bpb of=/dev/fd0 |