[syslinux] help

Prof S W Damle swdamle at bsnl.in
Mon Jun 14 12:11:48 PDT 2010


On Wed 5/5/2010 3:28 AM
Miller, Shao wrote,
----------------------------------------------
Good day again Matthew,

As per (c=80) * (h=2) * (s=48) * (sect_size=512) = 3,932,160 bytes =
7,680 sectors:

For Windows, you might enjoy:
- "DD for Windows" by John Newbigin and chrysocome[1]
- "ImDisk Virtual Disk Driver" and "Zero and Random Device Driver" by
Olof Lagerkvist[2]
- "TinyHexer" by Markus Stephany[3]
- syslinux/win32/syslinux.exe and syslinux/com32/modules/chain.c32 (this
one for chaining to DOS, should you wish to)

C:\>dd if=\\.\zero of=matthew.vfd count=7680 --progress
...
C:\>imdisk -a -t file -f matthew.vfd -x 48 -y 2 -m a: -o fd
...
C:\>format /fs:fat a:
...
C:\>syslinux.exe a:
...
C:\>copy chain.c32 a:
...
C:\>imdisk -d -m a:
...
C:\>tinyhexer matthew.vfd

- Edit the "Media Type" byte at 0x15 (22nd) to be "Floppy": 0xF0
- Edit the "Hidden Sectors" double-word at 0x1C through 0x1F (29th
through 32nd) to be zero: 0x00000000
- Edit the "Drive ID" byte at 0x24 (37th) to be "Floppy": 0x00
- Save your changes to matthew.vfd
-----------------------------------------------------------------
June 14, 2010
Sir,

If it's OK, please let me know the procedure to follow for CD & HD.

Thanks in advance,

With regards,

Prof S W Damle




More information about the Syslinux mailing list