Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
Makefile | D | 22-Nov-2023 | 1.7 KiB | 59 | 25 | |
README | D | 22-Nov-2023 | 1.3 KiB | 30 | 22 | |
geodsp1s.asm | D | 22-Nov-2023 | 5.6 KiB | 270 | 241 | |
geodsplib.inc | D | 22-Nov-2023 | 1.9 KiB | 101 | 90 | |
geodspms.asm | D | 22-Nov-2023 | 4.1 KiB | 197 | 172 | |
mk-lba-img.c | D | 22-Nov-2023 | 1.8 KiB | 95 | 64 | |
mk-lba-img.pl | D | 22-Nov-2023 | 2.1 KiB | 95 | 50 |
README
1GeoDsp: Images to display the geometry as the BIOS has choosen to 2interpret it. Both images are intended to be written to the first ~8MiB 3of a raw device (ie /dev/hda, /dev/sda) and be over one large cylinder 4of 255*63 512-byte sectors in size. 5 6To save the existing data for restore later: 7 8 dd bs=1M iflag=fullblock count=8 if=/dev/sda of=sda.img 9 10GeoDsp1S is a one-sector variant containing all code in one sector that 11is intended to test behavior with a typical MBR/partition table layout. 12A partition table should be written after writting an image. 13 14GeoDspMS is a multi sector variant intended to look like Syslinux 15installed on a file system on the raw device (as opposed to a file 16system within a partition). 17 18GeoDspMS can also be used to attempt to make the boot sector look like a 19normal file system's boot sector (ie FAT12/FAT16/FAT32). In order to do 20this, you must first save a portion the existing boot sector (the 21majority of the BIOS parameter block). 22 23 dd bs=1 skip=3 count=87 if=/dev/sda1 of=sda1.bpb 24 dd conv=notrunc if=geodspms.img of=/dev/sda1 25 dd conv=notrunc bs=1 seek=3 count=87 if=sda1.bpb of=/dev/sda1 26 27 dd bs=1 skip=3 count=87 if=/dev/fd0 of=fd0.bpb 28 dd conv=notrunc if=geodspms.img of=/dev/fd0 29 dd conv=notrunc bs=1 seek=3 count=87 if=fd0.bpb of=/dev/fd0 30