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
you sure make things difficult, i'm not really sure what your trying to achieve here, maybe you could tell me what doesn't work? Matt On Mon, Jun 14, 2010 at 2:11 PM, Prof S W Damle <swdamle at bsnl.in> wrote:> 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 > > _______________________________________________ > Syslinux mailing list > Submissions to Syslinux at zytor.com > Unsubscribe or set options at: > http://www.zytor.com/mailman/listinfo/syslinux > Please do not send private replies to mailing list traffic. > >
Hello Sir, Thanks for speedy reply.>The instructions provided for Matthew were in regards to asuper->floppy image, but I'm not sure how that context is related to your >request. As an academic interest I have down loaded and installed both, "ImDisk Virtual Disk Driver" and "Zero and Random Device Driver". Created "superfloppy.vfd" following your guide lines. Noticed that with cd and hd options one can create "super CD" and "super HD" images. Tried for "super CD" image but NOT successful therefore contacting you to get guidelines/instructions for "super CD" & "super HD" images. With Regards, SWD
Hello Sir, Shao Miller wrote on Sun 6/20/2010 8:37 AM>> Noticed that with cd and hd options one can create "super CD" and > "super HD" images. > > Tried for "super CD" image but NOT successful therefore contacting you> to get guidelines/instructions for "super CD" & "super HD" images.How did you notice this? This is with reference to as follows:>imdisk -help.. .. -o option cd Creates a virtual CD-ROM/DVD-ROM. This is the default if the file name specified with the -f option ends with either .iso, .nrg or .bin extensions. fd Creates a virtual floppy disk. This is the default if the size of the virtual disk is any of 160K, 180K, 320K, 360K, 640K, 720K, 820K, 1200K, 1440K, 1680K, 1722K, 2880K, 123264K or 234752K. hd Creates a virtual fixed disk partition. This is the default unless file extension or size match the criterias for defaulting to the cd or fd options. Proceeded further as follows; As a trial, for 50mb HD, 50000000/512=>97657 counts F:\Documents and Settings\Administrator>cd F:\dd-0.5 F:\dd-0.5>dd if=\\.\zero of=supHD.vfd count=97657 --progress rawwrite dd for windows version 0.5. Written by John Newbigin <jn at it.swin.edu.au> This program is covered by the GPL. See copying.txt for details 50,000,384 100% 97657+0 records in 97657+0 records out Downloaded from http://rghost.net/download/1314553/7dc85564d666d8cd02229087535b473a18983 a3b/WinVBlock_0.0.1.6.zip Extracted WinVBlock_0.0.1.6.zip Copied "winvblk.exe" to F:\dd-0.5 F:\dd-0.5>winvblk attach f:\dd-0.5\image_file.hdd h 0 0 0 I am replied as > CreateFile (2) Where I am wrong? What next please. SWD.
Good day Prof. S. W. Damle, In regards to your creation of an HDD image with DD and subsequent attempt to attach it as a virtual drive using WinVBlock: WinVBlock needs to actually be installed. Please see its ReadMe.txt file, if it has one. There might be a better version available at the Boot-Land forums, courtesy of Nuno B. After you detach your image, you hopefully have an HDD image suitable for use with MEMDISK. :) - Shao Miller