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

Re: linux copying



On Wed, 2003-05-14 at 03:19, Mark L. Kahnt wrote:
> On Tue, 2003-05-13 at 11:10, Konstantin Kostadinov wrote:
> 
> [***SNIP!!!***]
> 
> > another way is to tar and untar trough pipe without first tar and after this untar (if you do not space)   
> > 
> Offhand, isn't that what cpio -p is for? Passthrough bulk
> copy/replication?

Whenever I do a move or copy with mine, it's

mount newdrive as /mnt/target
cd /

find . -xdev | cpio -pm /mnt/target

(if needed, ie, you're just moving eveything from hda to hdb, not
physically replacing the drive, then edit /mnt/target/etc/fstab and
/mnt/target/etc/lilo.conf

lilo -r /mnt/target

The 3 (sometimes 4) step way to move your system to another drive

Peter.
-- 
----------------------------------------------------------

Pete's Internet Services.
http://www.petesinternet.net



Reply to: