DSL Embedded :: ghosting to my CF



hi there,

I just installed DSL onto my CF running on an IDE-adapter. It works great. Now I want to make a ghost copy of this image from the CF as a backup, Then later I might have to ghost it back onto the CF in case I screw up something.
Is there a good software to do that ??

Thanks for your help.

dd if=/dev/<source device> of=/dev/<destination device>
In this example, your CF drive is mounted to /dev/hdb1 (partition name) or /dev/hdb (entire drive name).  hdb is your Primary IDE controller, Slave drive.

And for this example, your hard drive is connected to /dev/hda (Primary IDE controller, Master drive) and your main MSDOS/Win95/98/ME data partition (aka "C:\" drive) is located at /dev/hda1 and is mounted at /mnt/hda1

Boot up DSL from livecd or other media, if you really want to you can even boot up a frugal install from your CF device itself if you boot in "toram" mode.

Open an xterminal and type:

sudo su
mount -t vfat /dev/hda1 /mnt/hda1
dd if=/dev/hdb of=/mnt/hda1/backup.img


and your entire CF device including boot sector and partition table will be saved in a file called C:\backup.img

Restoration is the reverse of creation:

dd if=/mnt/hda1/backup.img of=/dev/hdb

MAKE SURE THAT YOU KNOW THE NAMES OF YOUR DEVICES AND PARTITIONS OR YOU RISK ACCIDENTALLY OVERWRITING DATA ON YOUR HARD DRIVE or you risk making a bad backup file.


original here.