cbagger01
  
 
  
 
 
Group: Members 
Posts: 4264 
Joined: Oct. 2003 | 
  | 
Posted: Mar. 30 2006,18:02 | 
   | 
 
 
  
You could use the "dd" command to copy the raw USB device instead of copying the individual files.
  Or you can use a program called Partimage to do that for you, but you still need to copy the MBR for your USB drive.
  Here is an example with "dd" in a terminal window.  This assumes that your thumbdrive is located at devicename "sda" and the file is stored in your home directory.  You don't want to have your pendrive mounted, if possible, so boot up from livecd instead of from USB.
  sudo su dd if=/dev/sda of=/home/dsl/usb_backup.img
 
  To restore or copy the image file back:
  sudo su dd if=/home/dsl/usb_backup.img of=/dev/sda 
 |