[Klug-general] hard drive image

J D Freeman klug at quixotic.org.uk
Mon Jun 16 16:53:03 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Jun 16, 2008 at 04:43:06PM +0100, Evan Ingram wrote:
> On Mon, 2008-06-16 at 15:41 +0100, J D Freeman wrote:
> > dd if=/dev/hda1 of=/dev/hdb1 bs=1M 
> > 
> > replace hda1 and hdb1 with source and destination respectively.
> 
> Can i just run that whenever from the live system?

Ideally you don't want either filesystem mounted at the time. 

> What happens when i want to re-image from the backup? Boot from the
> backup and then do the same as before? Or do i need to boot from a live
> cd or something?

Swap if and of commands.

J
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFIVoxb42M0lILkmGIRAqNCAJ9rQ24jSa5YB2X2CyRnUlcTI1VenQCgkVO5
ZRg2Vp6l1EFuAYhhxdDVF1E=
=eUW3
-----END PGP SIGNATURE-----



More information about the Kent mailing list