I've done similar before...
I have a few notes that may help others too and some distant memories, etc.
The command used on Linux was:
'dd if=dev/sda of=RiscPC.img'
I then have a vague memory that if the drive was a large disc (LBA was
on) then you needed to amend one of the bytes in the disc map from 1 to
0 - to preserve the checksum it was best to also amend another byte that
wasn't used - notes I have are:
'This file has been modified using 'HexEdit Pro', I've swapped bytes
0x00000dba and 0x00000db0 which were 0x01 and 0x00 respectivley.
Swapping them apparently preserves the checksum...'
Think most of this information I gleamed from other articles and news
group posts scattered around!
I've also a few notes that on the smaller discs (I guess the ST506 type
drives) and for some versions of the emulators (earlier ones I think) it
was necessary to Add 512 bytes to the image - my notes say:
'add 512 Bytes to this to be able to mount it with RPCEmu'
Hope this is meaningful and useful to someone in the future!
Regards,
Dominic