I've used qemu + QEmu Monitor to mount floppies and read the raw data with dd.
Write your file one floppy at a time with
Note: You may need to split into volumes of 1474560 (that's what /dev/rdsk/f03ht seems to be).
You can optionally try to use
compress as well.
# Archive the files you wish to send using `tar` (supported on SYSV).
$ ls -la test.tar
----------+ 1 cmihai None 5901312 Dec 2 20:55 test.tar
# Split into 1.44MB volumes
$ split -b 1478656 test.tar test_floppy_
$ ls -la test_floppy*
-rw-r--r--+ 1 cmihai None 1478656 Dec 2 21:10 test_floppy_aa
-rw-r--r--+ 1 cmihai None 1478656 Dec 2 21:10 test_floppy_ab
-rw-r--r--+ 1 cmihai None 1478656 Dec 2 21:10 test_floppy_ac
-rw-r--r--+ 1 cmihai None 1465344 Dec 2 21:10 test_floppy_ad
Mount the floppy in
Press Ctrl + Alt + 2 in
qemu to use the qemu monitor.
change floppy0 test_floppy_aa
Go back your terminal by pressing Ctrl + Alt + 1
Note: We should probably read off the raw device /dev/rdsk/f03ht not the block device... to test.
dd if=/dev/dsk/f03ht of=test_floppy_aa
dd if=/dev/dsk/f03ht of=test_floppy_ab
cat a b c | tar -tvt test_floppy_* # test..
cat a b c | tar -xvt test_floppy_*
qemu-system-i386 -hda sysv.img -hdb test.tar and read with
/dev/rdsk/1s1 (I guess... 0s0 is the root disk). You can also try to `fdisk /dev/rdsk/1s1'.
- Append to the end of the existing disk image, and read with
dd :D. (insane...)
- May need to use /dev/fd or /dev/rdsk devices...
- Converting from
VMDK (usable by VMware and VirtualBox):
qemu-img convert -O vmdk sysv.img sysv.vmdk. Now we can try to see if VMware or VirtualBox NIC drivers are supported...
- Will try
cu as soon as I find the floppy that contains them and the
/dev/ I need to use...
- tar can read directly from /dev/dsk/f03ht. Ex:
tar -tvf /dev/dsk/f03ht. Should probably try to create a multi volume floppy and forget about the dd part... WIP :-).