Author: sailor
Date: 11-02-06 16:48
today i tried Dean's solution on my 6.1 PRE-RELEASE machine,
after 3 or 4 hours in hell, there are 2 things you should be noted:
1. if you mount your new disk at /mnt,
then /mnt should be excluded from tar,
otherwise, the /mnt/ directory will be tarred recursively.
2. use gtar, otherwise the permission of the directories (like /usr, /var!) will be a mess. (drwx---------, owned by root)
it's really strange. i hope it's just a temporary bug.
so, this is what i did
gtar cf - -C / --one-file-system --exclude /mnt/ . | gtar xpvf - -C /mnt/
Post Edited (11-02-06 09:02)
|
|