Matthew Walker wrote: > 4. Use rsync or cp -a, or some other method of copying files + permissions to > new drive.
Be sure to use the flag to cause cp or rsync to deal properly with hard links. Changing a disk out in Linux is always easy. Just partition (any way you like really), copy all the files over, then edit the target disk's fstab appropriately, and then rewrite the boot loader onto the new disk. If SELinux was used you might have to rescan all your files and set the security context on them. Anyway, I often use a live CD to do this sort of thing. I've changed partition schemes and file systems without any problems. I'm sure in the future we'll have to make sure rsync or cp deals properly with extended attributes and SELinux stuff. /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
