dd if=/dev/zero of=/path/to/disk.img bs=1M count=512
/sbin/mke2fs /path/to/disk.img
Add the following section to your ARAnyM config file:
[PARTITION0] Path = /path/to/disk.img Present = Yes PartID = $83 ByteSwap = Yes ReadOnly = No