[CentOS] Restore the moved directory

Ljubomir Ljubojevic office at plnet.rs
Mon Jul 11 14:15:11 UTC 2011


Robert Heller wrote:
> At Mon, 11 Jul 2011 16:24:01 +0300 CentOS mailing list <centos at centos.org> wrote:
> 
>> Hi,
>>
>> By mistake, I moved the directory /etc to the /home. How  can i restore the
>> sytem back (or, at least that directory back)?
> 
> Boot with a rescue disk, mount your (broken) system under /sysimage and
> then do:
> 
> mv /sysimage/home/etc /sysimage/
+1



More information about the CentOS mailing list