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

Re: How to migrate a Debian system to another hard drive?



> Watch out so you don't run into an infinite loop:
> Suppose that you mount the target disk on /mnt, then 
> "cd /
> tar cf - . | (cd /mnt; tar xvlpf -)" 
> would copy some things to /mnt then copy /mnt/* to /mnt/mnt/ and so on.

It doesn't. I've been using this a lot lately while reorganising file
systems, and have never had a problem.




hamish



Reply to: