[plug] Migrate HDD on headless server

Cameron Patrick cameron at patrick.wattle.id.au
Sun Jun 29 00:06:43 WST 2003


On Sat, Jun 28, 2003 at 10:22:53PM +0800, Leon Brooks wrote:
| On Sat, 28 Jun 2003 10:44, Cameron Patrick wrote:
| > # Repeat for each partition on the /old/ drive...
| > (cd / && tar clf - .) | (cd /mnt && tar xvpf -)
| > (cd /boot && tar clf - .) | (cd /mnt/boot && tar xvpf -)
| > (cd /home && tar clf - .) | (cd /mnt/home && tar xvpf -)
| 
| Er... having just done two of these, you need tar -l to make tar stay on 
| the one filesystem, especially for /

Indeed.  Hence "tar clf" above :)

Cameron.



More information about the plug mailing list