Re: Restore the moved directory

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



Hi, 
I used the partedmagic cd to move the etc directory from /home/ to / . When
I reboot the system everything seems ok. But suddenly it shows an error like
this,



 (none) login: /bin/sh: invalid options -n
Try '/bin/sh --help' fore more information
INIT : Id "x" respawning too fast:disabled for 5 minutes

I think some files corrupted. Are there any way to fix  the corrupted files?

beklan

-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf
Of Always Learning
Sent: Monday, July 11, 2011 4:40 PM
To: CentOS mailing list
Subject: Re:  Restore the moved directory


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.

Good Luck.


-- 
With best regards,

Paul.
England,
EU.


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

_______________________________________________
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