Re: remote tar via ssh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi 

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 
chroot 
and then grub-install /dev/hda
but it is bootable but kernal panic

thank you again






--- David Mackintosh <David.Mackintosh@xxxxxxxxxx>
wrote:

> On Wed, Sep 26, 2007 at 12:22:27PM -0700, ann kok
> wrote:
> > can you tell me what is the exactly command?
> > 
> > machineA# ssh root@nachineB:tar cvf / ; tar xvf *
> 
> machineA# cd $WHERE-MACHINE-B-FILES-WILL-LIVE
> machineA# ssh root@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.
> 
> -- 
>  /\oo/\
> / /()\ \ David Mackintosh | 
>          dave@xxxxxxxxxx  | http://www.xdroop.com
> > _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 



       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux