Re: Restore the moved directory

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



Always Learning wrote:
>
> On Mon, 2011-07-11 at 16:24 +0300, beklan wrote:
>
>
>> By mistake, I moved the directory /etc to the /home. How  can i restore
>> the sytem back (or, at least that directory back)?
>
> I would download Parted Magic, make a CD and boot from it.
>
> 	http://partedmagic.com/doku.php?id=downloads
>
> The Linux CD installs into RAM and allows you to mount drives and, I
> assume, copy or move directories. I found it useful for correcting
> errors in fstab and creating directories as well as partitioning drives.

That seems excessive. If you haven't rebooted, why not just mv /home/etc
/? If not, any linux distro has a boot option from the install media of
linux rescue.

         mark

_______________________________________________
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