Fedora Linux Support Community & Resources Center
Old 30th October 2009, 05: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, 07: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, 07: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, 07:55 PM
pete_1967 Offline
Clueless in a Cuckooland
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 4,380
Just in case: You do know that /root/bin nor any other 'bin' directory are not "Recycle bins" for deleted files?
A Drink is Not Just For Christmas - SaskyCom :thumb:

“Give a man a fish; you have fed him for today. Teach a man to fish; and you have fed him for a lifetime” so now go and...
RTFM FIRST: http://docs.fedoraproject.org/ & http://rute.2038bug.com/index.html.gz
Reply With Quote
Old 30th October 2009, 09:24 PM
Dies Offline
Registered User
Join Date: Oct 2006
Posts: 4,754
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, 09: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, 08: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 08: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 08:01 PM
How to recover mysql ptsz Using Fedora 14 2nd June 2006 04: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 08:07 PM

Current GMT-time: 21:52 (Wednesday, 17-12-2014)

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
Restaurant Camel's Instagram Photos - Lungomare Agropoli Photos - Canada Games Centre - RioMar Recife Travel Photos on Instagram