Re: [CentOS] Copying CentOS to new drive

2016-05-05 Thread Arun Khan
On Wed, May 4, 2016 at 3:38 AM, Timothy Murphy wrote: > I recently asked about copying a running system to a new drive. > > As a postscript, I'm wondering if it would have been preferable > to run the machine under a Live OS, and simply copy the root partition > to the new

Re: [CentOS] Copying CentOS to new drive

2016-05-04 Thread Mike
On Wed, May 4, 2016 at 7:22 AM, wwp wrote: > Hello Timothy, > > > I personally would not copy FROM or TO running systems. Thus, > proceeding to the copy from a third (liveCD or not) system sounds good > to me. > Agreed. It appears others have had success doing so; but, I

Re: [CentOS] Copying CentOS to new drive

2016-05-04 Thread John Hodrien
On Wed, 4 May 2016, Brian Miller wrote: When copying systems I developed a preference for cpio; fewer problems handling weird inode types. I'm not sure I share your love of cpio for things like this. Exactly how does cpio handle xattr/acl/selinux contexts? jh

Re: [CentOS] Copying CentOS to new drive

2016-05-04 Thread Brian Miller
On Wed, 2016-05-04 at 12:38 +0200, Timothy Murphy wrote: > I recently asked about copying a running system to a new drive. > > As a postscript, I'm wondering if it would have been preferable > to run the machine under a Live OS, and simply copy the root partition > to the new drive? > Eg while

Re: [CentOS] Copying CentOS to new drive

2016-05-04 Thread wwp
Hello Timothy, On Wed, 04 May 2016 12:38:41 +0200 Timothy Murphy wrote: > I recently asked about copying a running system to a new drive. > > As a postscript, I'm wondering if it would have been preferable > to run the machine under a Live OS, and simply copy the root

[CentOS] Copying CentOS to new drive

2016-05-04 Thread Timothy Murphy
I recently asked about copying a running system to a new drive. As a postscript, I'm wondering if it would have been preferable to run the machine under a Live OS, and simply copy the root partition to the new drive? Eg while running under the LiveOS, # mkdir /mnt/old /mnt/new # mount