SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Just reinstall Xfree if that's all you wacked. Kde Gnome go in other places so they should be independent of whatever X "lower abstraction" program you use.
I was also just thinking... you should be able to find that actual directory gziped somewhere on the net assuming you only wacked the .../X11R6/bin directory.
I once deleted something similar and managed to get it back. Some other poor soul did the same thing I did and to back it up he gziped lots of his directories and stored them on the web.
Download the source the whatever version of XFree you're using and recomile and install it back to where is was.
Or... Install it somewhere safe (ie. /home/myaccount/thissucks/ so you don't go blasting anymore directories. Then move the /safeplace/X11R6/bin directory back to where is belongs. Just make sure you fix the symlinks that live in there. There are only a couple.
I've never seen anything link to the bin directory so you might be able to just move it. hehe
hmm... I really dont know if I shouldn`t go and see the doc.
Either I get some more sleep, or I will get myself killed.
You know... well.
I was such a troll and was that much angry about my incompetence that I didnt notice that I didnt actually deleted /usr/X11R6/bin... it was much worse, it was --> /usr/bin <--
well, now I guess I am a total idiot as well as totally screwed :X`
I noticed it when I went to xfree86.org and downloaded the binaries. When I tried to copy it to the bin file, i noticed first that they were all there... first I was really happy about that "miracle"... but I know I deleted some bin directory... and it didnt take much time to find out it was /usr/bin.
That was my end.
HELP
Well, I pretty much guess now I am really in a bad position, because all the programs have been installed there.
Any suggestions now?
PS: Sorry for misleading all of you. I am just a total mess after this incident...
Lesson #2.
Depending on what fs type you have, you can sometimes "undelete" a missing inode.
Lesson #3.
We're not talking about a couple inodes. This is /usr/bin. Unless you are really bored and like picking up sand, one seed at a time, its time to make a backup and reinstall.
Originally posted by cuckoopint
Lesson #3.
We're not talking about a couple inodes. This is /usr/bin. Unless you are really bored and like picking up sand, one seed at a time, its time to make a backup and reinstall.
:/ [/B]
Well... this is what I am up to right now *sigh*
Backing up the whole wide world and make a new cut.
well, this is going to last some time till the system is up again like I had it right now
Anyone out there know what files reside in /usr/bin? For RedHat you'd be completely screwed, "sort of", becuase kde lives in /usr/bin.
Like I said above, search the net. There will probably be a directory listing of a stock Slackware install and you might be able to pull a tar.gz file from it.
/usr/bin contains most of the binaries for the system. You've probobly lost some system files and other stuff you installed, no tarball on the net is going to have that.
Make sure you back up your xf86config file, in case its highly customized, and your preference files. They are usually in your home directory, hidden (with a period in front of them). So you may have to unhide files to be able to burn them to a disc.
If you had /home in a seperate partition, you wouldn't need to be backing it all up now... and it would prolly be easier keeping /usr on a seperate partition as well.
At the minimum back up your data and any worthy configs.
Well, right now I got my home directory containing all hidden files, some config files from /etc (including XF86config), my download directory, what else do I need where prefs are stored?
preferences are stored either in home (as hidden) or in /etc. You sound like you got them all, just reinstall and hope for the best.
Dont forget your LILO config if you're dual booting, since Slackware wont add windows automatically, it can save you some time just to replace the config with your old working one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.