[plug] Migrate HDD on headless server

Leon Brooks leon at brooks.fdns.net
Sat Jun 28 22:22:53 WST 2003


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 /

If headless is a worry, shove the old drive into a real machine and do 
the upgrade there.

Cheers; Leon



More information about the plug mailing list