[CentOS] remote tar via ssh
annkok2001 at yahoo.com
Wed Sep 26 19:44:26 UTC 2007
Thank you for all
After I untar those files from machine B to machineA
eg: in second harddrive /dev/hdb1
I put this hardrive in another computer /dev/hda
how can I boot properly as same as machineB
I did it before
use the bootable CD, mount it
and then grub-install /dev/hda
but it is bootable but kernal panic
thank you again
--- David Mackintosh <David.Mackintosh at xdroop.com>
> On Wed, Sep 26, 2007 at 12:22:27PM -0700, ann kok
> > can you tell me what is the exactly command?
> > machineA# ssh root at nachineB:tar cvf / ; tar xvf *
> machineA# cd $WHERE-MACHINE-B-FILES-WILL-LIVE
> machineA# ssh root at machineB "cd / ; tar cfp - . " |
> tar xfp -
> Beware of following network mounted filesystems or
> otherwise recursing.
> Note that $WHERE-MACHINE-B-FILES-WILL-LIVE on
> machineA cannot be /
> since it will likely interfere with the currently
> running OS.
> / /()\ \ David Mackintosh |
> dave at xdroop.com | http://www.xdroop.com
> > _______________________________________________
> CentOS mailing list
> CentOS at centos.org
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
More information about the CentOS