cbagger01
  
 
  
 
 
Group: Members 
Posts: 4264 
Joined: Oct. 2003 | 
  | 
Posted: Mar. 23 2005,23:13 | 
   | 
 
 
  
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. 
 |