autoexec.bat for the dos disk, and fix the lredir command
EMUDOS starts, add it to the $_hdimage command like this: $_hdimage = "/etc/dosemu/drives/c /etc/dosemu/blah.img" (no relative paths)
mkfatimage16 utility like this: mkfatimage16 -k 5000 > blah.img (makes a 5 MB image) dosemu
D:
format d:
sys c: d: to put FreeDOS on it
DOSEMU by doing exitemu
mtools, you must put a line in /etc/mtools.conf like this: drive y: file="/etc/dosemu/blah.img" partition=1 offset=128 mdir y:. You should see your system files
mount -o loop, BUT this is a hack...I skip the DOSEMU stuff and partition stuff. losetup -o 8832 /dev/loop0 /etc/dosemu/blah.img
mount -t msdos /dev/loop0 /mnt/tmp/
umount /mnt/tmp, losetup -d /dev/loop0
mtools
dd if=/dev/zero of=disk.img bs=1M seek=10 count=0
mkdosfs /tmp/disk.img
dd if=bootsect.img of=disk.img bs=1 count=446 seek=62 skip=62 conv=notrunc
mount -oloop /tmp/disk.img /mnt/tmp
memdisk version 2.11. Works!
-- MattWalsh - 13 Aug 2005