Deleted the wrong folders
I am a newb to Linux/Slackware and to prove so I deleted two rather important folders. :newbie:
In a complete newb fashion I dove head first into "the unknown".
While I was 'playing' around with installing programs I inadvertanly decided that since a program was not going in properly I would delete it.
Now I was NOT logged in as root, however I was using root terminal (same thing I guess huh :tisk: ). Anyway logged in as thanotos, and under 'my desktop' I was in a folder I created called downloads.
Inside 'downloads' there were two folders created when I un-tar'd the program: /usr and /opt.
I tried to delete those, or thought that I did, resulting some how in NOT touching the ones in the 'download' folder but the folders of equal name under ROOT.
So, now I cannot load any XWindow aps, BASH apps or any other programs associated within /usr and /opt folders.
:Pengy: My question now is: Is it possible to copy the /usr and /opt folder from the Slackware 10.2 into ROOT (and how)? Or would it be easier to just reinstall?:Pengy:
I am dual booting Slackware 10.2, Linux 2.4.31 Kernel with Windows XP on a seperate HDD.
Appreciating any suggestions or comments that come across and am not afraid to learn, unfortunately sometimes I learn too slow. :p
Apps or libs in the directories you deleted may need particular libraries installed elsewhere on the system. Restoring /usr or /opt from another distro will NOT likely be compatible or find all the libs and link and paths the apps expect. I would definately just reinstall. Back up your personal data first!
I recently had a similar thing occur.
You will be glad you did.
ouch :( - a good example of the danger of running as root
I'd say a reinstall would be the easiest route at this point - if you have data on the disk you want to save, you may be able to retreive it using a live cd, something like Knoppix may be the simplest solution.
|All times are GMT -5. The time now is 09:11 PM.|