Keith Roberts wrote:
On Mon, 11 Jul 2011, Ljubomir Ljubojevic wrote:
To: CentOS mailing list centos@centos.org From: Ljubomir Ljubojevic office@plnet.rs Subject: Re: [CentOS] Restore the moved directory
Robert Heller wrote:
At Mon, 11 Jul 2011 16:24:01 +0300 CentOS mailing list centos@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
Or even boot Parted Magic from the UBCD disk here:
Or closer to home: http://centos.plnet.rs/mrepo/plnet-centos5-i386/CentOS-5.3-PLNet-i386-LiveCD...
It's my own CentOS 5.3 LiveCD (not official) with mdadm (Software RAID),NTFS (fuse-ntfs), Krusader, GParted, K3B, MadWifi (Atheros)...
Ljubomir