[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Best way to migrate disks



Stan Hoeppner <stan@hardwarefreak.com> writes:

> On 3/25/2012 2:48 PM, Marc Auslander wrote:
>
>> As far as the root partition itself, just make a new file system in
>> the partition you want to be the new boot and use tar to copy the old
>> root over.  Make sure you don't copy anything mounted on root - just
>> root itself.
>
> 'cp -a' worked fine for me the last time I did such a boot/root
> filesystem migration to a new disk.  What advantage does tar have here?
>
> -- 
> Stan
>
Sorry to cause confusion.  I've always used tar for this purpose and
so my fingers "know what to do".  cpio was always an alternative.

In newer versions of Unix, cp also has been extended to be useable for
this purpose.

Probably I should of just said "copy the file system contents".


Reply to: