[Cialug] Transplant OS

jrnosee at gmail.com jrnosee at gmail.com
Wed Jun 24 08:22:04 CDT 2009


Thanks for the quick responses!

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.

--Justin

On Wed, Jun 24, 2009 at 7:50 AM, chris <chris at ia.gov> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> > I believe you can set the UUID of the partitions on the new drive. "It
> > is an power so great, it can only be used for Good or Evil".
> >
> > I don't believe there are any open-source tools which can create a
> > back-up and restore to bare metal. There's always tools like Acronis,
> > but they cost.
> >
>
> dd (or even cat) can  along with your favorite boot cd (I use knoppix)
> can do bare metal restores.  Either from a backup image on attached
> media or over the network.
>
> If local attached media,  or nfs, some net file system,
>
> dd if =/path/to/wholediskimage  of =/dev/newlocaldisk
>
> Over ssh/rsh:
>
> ssh remotehostwithimage 'dd if=/path/to/whilediskimage bs=1400' >
> /dev/newlocaldisk
>
> This is much faster with rsh since no encryption is done.
>
> As long as the second device is bigger, you will usually be ok.  You
> can use something like parted to reclaim any unused disk if the
> destination was larger.
>
> I once set up an imaging server that simple streamed a whole disk
> image to any device that connected to a port on it.  This was done
> using xinetd and dd.  I chose dd over cat because I could set the
> block size to 1400 and get a more full packet.  More efficient,
> faster, less IP overhead.
>
> That reminds me, you can read a compressed image as well, works great
> because you are moving compressed data over the wire:
>
> ssh remotehostwithimage 'dd if=./diskimage.gz bs=1400'  |  gzip -d - >
> /dev/newlocaldisk
>
>
> All my examples are whole disk, but you can do the same per partition.
>
> To create the back up images reverse the process.
>
> crr/arreyder
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkpCIQYACgkQPmaZdRmQd+YfIgCfU2JyLV4qgNRPfadR6XQL3778
> ox0AnijYQHg3E3xjW5MOLyR7dhotWeSY
> =Jai8
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20090624/8bfecb3e/attachment.htm 


More information about the Cialug mailing list