[CentOS] Restore the moved directory

Mon Jul 11 22:11:03 UTC 2011
Ljubomir Ljubojevic <office at plnet.rs>

Keith Roberts wrote:
> On Mon, 11 Jul 2011, Ljubomir Ljubojevic wrote:
> 
>> To: CentOS mailing list <centos at centos.org>
>> From: Ljubomir Ljubojevic <office at 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 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
> 
> Or even boot Parted Magic from the UBCD disk here:
> 
> http://www.ultimatebootcd.com/
> 

Or closer to home: 
http://centos.plnet.rs/mrepo/plnet-centos5-i386/CentOS-5.3-PLNet-i386-LiveCD.iso

It's my own CentOS 5.3 LiveCD (not official) with mdadm (Software 
RAID),NTFS (fuse-ntfs), Krusader, GParted, K3B, MadWifi (Atheros)...

Ljubomir