[CentOS] move a disk to another machine

Chuck Campbell

campbell at accelinc.com
Thu Feb 26 17:49:16 UTC 2015


I have a centos 6.6 laptop which is having trouble (intermittent boot failures,
or more rightly so, multiple failures, intermittent booting). The laptop is
running selinux.
I pulled the second internal disk out to get my data off of it. I plugged it
into my centos 5.x machine and mounted it. I was able to do a dir listing, but
whrn I tried to cd into any of the directories, I get a bunch of AVC denials,
and I can't see any files. The contos 5.x machine is selinux enforcing, and so
is the centos 6.x box. The files are all owned by me, and have the same uid/gid
on both boxes.

What is the right way to do this?

Meanwhile, I put it back into the laptop, and kept attempting to boot the
machine, until I got lucky and it came up. I was able to rsync the data off the
drive, so this isn't a crisis, just a learning moment.

thanks,
-chuck

-- 



More information about the CentOS mailing list