Thanks for the quick responses!<br><br>I think I may try in order until one works.... I wasn't sure if Acronis would handle Linux partitions, but I just got it free with the new drive I bought from Newegg (combo deal)! It'll be a local copy from a SATA II to a SATA II drive and the new drive is bigger. What I would like to know is how to determine what hd(x,y) to use in grub. when I set it back up. Typically, yes I would use (0,0) but with SATA I'm not sure what # drive I'll be on. Does this follow cabling order? 2x ide ports are 0-3, sata1-4 are 4-7? Would my primary ide cd-rom be hd(0)? I'm not sure what GRUB's numbering scheme is.<br>
<br>--Justin<br><br><div class="gmail_quote">On Wed, Jun 24, 2009 at 7:50 AM, chris <span dir="ltr"><<a href="mailto:chris@ia.gov">chris@ia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
<br>
> I believe you can set the UUID of the partitions on the new drive. "It<br>
> is an power so great, it can only be used for Good or Evil".<br>
><br>
> I don't believe there are any open-source tools which can create a<br>
> back-up and restore to bare metal. There's always tools like Acronis,<br>
> but they cost.<br>
><br>
<br>
</div>dd (or even cat) can along with your favorite boot cd (I use knoppix)<br>
can do bare metal restores. Either from a backup image on attached<br>
media or over the network.<br>
<br>
If local attached media, or nfs, some net file system,<br>
<br>
dd if =/path/to/wholediskimage of =/dev/newlocaldisk<br>
<br>
Over ssh/rsh:<br>
<br>
ssh remotehostwithimage 'dd if=/path/to/whilediskimage bs=1400' ><br>
/dev/newlocaldisk<br>
<br>
This is much faster with rsh since no encryption is done.<br>
<br>
As long as the second device is bigger, you will usually be ok. You<br>
can use something like parted to reclaim any unused disk if the<br>
destination was larger.<br>
<br>
I once set up an imaging server that simple streamed a whole disk<br>
image to any device that connected to a port on it. This was done<br>
using xinetd and dd. I chose dd over cat because I could set the<br>
block size to 1400 and get a more full packet. More efficient,<br>
faster, less IP overhead.<br>
<br>
That reminds me, you can read a compressed image as well, works great<br>
because you are moving compressed data over the wire:<br>
<br>
ssh remotehostwithimage 'dd if=./diskimage.gz bs=1400' | gzip -d - ><br>
/dev/newlocaldisk<br>
<br>
<br>
All my examples are whole disk, but you can do the same per partition.<br>
<br>
To create the back up images reverse the process.<br>
<br>
crr/arreyder<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.11 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iEYEARECAAYFAkpCIQYACgkQPmaZdRmQd+YfIgCfU2JyLV4qgNRPfadR6XQL3778<br>
ox0AnijYQHg3E3xjW5MOLyR7dhotWeSY<br>
=Jai8<br>
-----END PGP SIGNATURE-----<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
Cialug mailing list<br>
<a href="mailto:Cialug@cialug.org">Cialug@cialug.org</a><br>
<a href="http://cialug.org/mailman/listinfo/cialug" target="_blank">http://cialug.org/mailman/listinfo/cialug</a><br>
</div></div></blockquote></div><br>