[CentOS] Restore the moved directory

Mon Jul 11 13:55:15 UTC 2011
Robert Heller <heller at deepsoft.com>

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/




> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                                                                   

-- 
Robert Heller             -- 978-544-6933 / heller at deepsoft.com
Deepwoods Software        -- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments