Help - Search - Members - Calendar
Full Version: Etc Folder Problem
Linuxhelp > Support > Technical Support
Hi All!

I have a user who logged into their RH9 install as root, and tried to drag and drop /etc to the desktop. Now, no booty.

How can I correct this for them?
I need more info (if you need more specific instructions), like what distribution of Linux are we talking about...and what GUI is being used (GNOME, KDE, etc.)...and what version of the GUI (Gnome 2.2, KDE 3.1, etc)...

Generic instructions are this...

Boot up with a rescue cd (normally CD 1 of the Distro) ... and you normally get to rescue mode by pressing F2 and then typing linux rescue.

After you make your way to the command prompt, (or maybe through a menu, depending on the distro...) you need to mount the root partition ... if you don't know which partition is root use the command fdisk -l...

After mounting (usually a command like mount /dev/hda3 /mountpoint), then I go the the /mountpoint/root/.gnome-desktop or /mountpoint/root/Desktop and see if the etc folder is there ... if so, copy the folder back to the normal place like this:

cp /mountpoint/root/.gnome-desktop/etc /mountpoint

mountpoint would be where the rescue disk allows you to mount partitons so they can be writeable ... it depends on the distro my case, my root partition is /dev/hda3 ... yours my be different.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.