Re: Restore the moved directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



At Mon, 11 Jul 2011 16:24:01 +0300 CentOS mailing list <centos@xxxxxxxxxx> 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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 
>                                                                                                                   

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


                                                       
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux