Fedora Linux Support Community & Resources Center
Old 30th October 2009, 04:22 PM
hotdox Offline
Registered User
Join Date: Oct 2009
Posts: 2
recover /bin

I ocasionly enter "rm -rf /bin" instead "rm -rf ./bin" under root. How can I recover /bin directory on my Fedora 10. Or may be reinstall with minimal tesualties?
Reply With Quote
Old 30th October 2009, 06:39 PM
maflynn Offline
Registered User
Join Date: Oct 2009
Posts: 110
You occasionally delete your /bin directory???

Well if that's the case, then I recommend you use rsync regularly to backup your system.
Reply With Quote
Old 30th October 2009, 06:52 PM
forkbomb Offline
Registered User
Join Date: May 2007
Location: U.S.
Posts: 4,851
1. Get in the habit of running rm -rf /root/bin (that's harder to misypte than rm -rf ./bin !)
2. Maybe put it in a script if you need to occasionally delete /root/bin

If you need to recover a system now, is it possible to get another Fedora box running, update it, and copy the contents of /bin from the fresh machine over to your other one?
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
Reply With Quote
Old 30th October 2009, 06:55 PM
Posts: n/a
Just in case: You do know that /root/bin nor any other 'bin' directory are not "Recycle bins" for deleted files?
Reply With Quote
Old 30th October 2009, 08:24 PM
Dies Offline
Registered User
Join Date: Oct 2006
Posts: 4,753
If you 'occasionally' delete /bin, how do you 'occasionally' recover from it?

More importantly though, if this is something that happens to you occasionally, then you'll have to forgive me for being honest when I say that I think you may be better off with an OS which doesn't allow or at least tries hard to prevent it's user from taking such stupid actions.
Reply With Quote
Old 30th October 2009, 08:30 PM
Gödel Offline
Registered User
Join Date: Jul 2009
Location: London,England
Posts: 1,102
try yum reinstall on a selection of the following rpms (might have to download them and do it from a rescue session)


(i just did 'yum provides /bin/*' and parsed the output to get a shortlist)
Reply With Quote
Old 31st October 2009, 07:25 AM
hotdox Offline
Registered User
Join Date: Oct 2009
Posts: 2
I have "./bin" dir as target for cmake. under root I do "make install/uninstall". Forget to exit I start "ccmake .", "./bin" was created under root and can be deleted under root only.
Now fedora couldnt be booted (it want /bin/sh).
The problem is notebook. It is not so easy to take hard drive. And there is no another fedora computer at this moment.
LiveCD doesnt see hard drive partition in regular mode.

Last edited by hotdox; 31st October 2009 at 07:29 AM.
Reply With Quote

or bin, recover

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot Recover From Suspend sirius56 Using Fedora 2 2nd December 2006 03:41 AM
recover fedora qkmbr22 Using Fedora 1 11th August 2006 07:01 PM
How to recover mysql ptsz Using Fedora 14 2nd June 2006 03:51 PM
Can't recover FC4 zabolots Using Fedora 2 5th December 2005 12:39 PM
help me recover!! cuchumino Using Fedora 11 20th September 2004 07:07 PM

Current GMT-time: 13:09 (Saturday, 31-01-2015)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...420 Tag sad Instagram Tag on Tag foodie Instagram Tag rose foto Tag