I recently purchaced a 256MB lexar jumpdrive pro, and I had a question about 
imaging it.
What I wanted to to is use dd to make an image file from the drive for 
different situations.
Like make an image of the drive with tons of network security and computer 
troubleshooting tools, and another with games...etc....

I read that you can make an image of a cdrom using
dd if=/dev/cdrom of=cd.iso
so i'm guessing I can do the same for my usb keychain drive with
dd if=/dev/sda1 of=usbdrive.iso

**here is the question**
Now, to put the image back on the drive, is it just that easy to do as:
dd if=usbdrive.iso of=/dev/sda1
It's not like I can burn the .iso with a usb drive. ;)

Of course, when I get it just the way I want, I'll write a bash script that 
will automate it.
Something with a menu like
----------------------------------
Welcome...

Backup the drive
   1 Pick a new filename and Image the drive
   2 Image the drive over an existing filename

List Images
   3 List previous images

Push a stored image to the drive
   4 Push an image to the drive
----------------------------------

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus


Reply via email to