I created a .ima FreeDOS Floppy image with Victoria and some other tools to diagnose problematic hard drives. The image is placed onto a multiboot ISO / CD and booted via Grub4DOS. The image script (autoexec.bat) then creates an HD ramdrive C:\ where the diagnostic and other tools are unpacked. FreeDOS files are not copied to the ramdrive and remain on the original image, which gets assigned drive letter a:\ by DOS. My problem is, I can't access a physical floppy disk after booting from that image. When I change drive to b:\, it shows the same content as a:\ , i.e. the original floppy image content. In VMWare I can access both the image at a:\ and physical floppy drive at b:\, when b:\ is marked as physical drive in VMWare VM settings.
Any suggestions, how to change autoexec.bat to enable access to a physical floppy drive after booting the image to a real PC? Probably have to enumerate floppies, and reassign drive letters, or something like that? Or move the image content also to the same ramdrive? Then how to release a:\ or b:\ letter and assign it to my physical drive? Any complete code examples?
Edited by sambul61, 22 November 2010 - 04:32 AM.