Re: Best way to migrate disks
- To: debian-user@lists.debian.org
- Subject: Re: Best way to migrate disks
- From: Marc Auslander <marcausl@gmail.com>
- Date: Mon, 26 Mar 2012 12:58:25 -0400
- Message-id: <[🔎] 87zkb3ti32.fsf@aptiva.optonline.net>
- In-reply-to: <iJjp9-21D-25@gated-at.bofh.it> (Stan Hoeppner's message of "Mon\, 26 Mar 2012 16\:50\:03 +0200")
- References: <iJ1Vf-6AJ-9@gated-at.bofh.it> <iJ1Vf-6AJ-11@gated-at.bofh.it> <iJ1Vf-6AJ-13@gated-at.bofh.it> <iJ1Vf-6AJ-7@gated-at.bofh.it> <iJjp9-21D-25@gated-at.bofh.it>
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: