Upgrading to a new Hard Drive

James Knott james.knott-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Fri Jul 1 16:13:22 UTC 2005


Lennart Sorensen wrote:

> Install new hd as hdb or whatever works in the machine, then partition
> it as you want it, do mkfs and mkswap as necesary on the new partitions,
> then mount new root partition as /mnt or something, and cp -ax / /mnt to
> copy all the files over.  Doing this in single user mode has the least
> chance of files being open/in use.

What does the x option add to cp -a?
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list