MorphOS Developer
Posts: 1049 from 2004/9/23
Quote:
connor wrote:
I have a question about this RAWDISK: device. I did a backup of the system partition to a file on another disk by selecting source and target in 'Ambient listers and then copy it via drag and drop. Now I want to playback this backed up partition. To which path do I have to copy it back? And can I do it while the system is running from this system partition or do I have to boot from the installation CD? I suppose I cannot replace it without booting from the CD because the system is running from that partition or does it not matter because everything needed is stored in RAM at that time?
You can mount it. RAWDISK: is only needed to create an image or write an image onto a complete harddrive.
The tool you need is file image control if it is just a single partition. If it is a partitioned hardfile you need mounter. Both tools are included in the tools drawer.
No CD boot etc is required. Afterwards you can access/copy the files on a file base.
If you want to restore the entire harddrive using your image you can perform some shell command. However due some bug this requires CP shell command from the SDK to copy the image onto the harddisk again.
cp image.img RAWDISK:Devices/idemacio.device/0/rawdisk
The device name and the unit is probably different, but using the tab key while typing fills in valid suggestions. Just be sure to use the proper harddrive. Any data on it will be killed.
[ Edited by geit 29.12.2015 - 20:34 ]