I just deleted "/bin". What's the best way to recover?
Posted
by
Tom Marthenal
on Server Fault
See other posts from Server Fault
or by Tom Marthenal
Published on 2011-08-04T05:41:15Z
Indexed on
2014/08/21
10:22 UTC
Read the original article
Hit count: 230
I just ran (not on purpose!) rm -rf /bin
.
I've booted down the computer and am using Finnix to try to recover from it. I have succeeded in mounting the drive, and confirmed that, yes, the entire /bin
folder is deleted.
Is it possible to recover from this without reinstalling the OS?
I'm thinking that I could setup a VM with the same OS and architecture (Ubuntu Server 11.10 alpha release, x86) and install all the packages I had installed on the server, then just copy the /bin
folder.
Will this work? Am I better off just starting over?
© Server Fault or respective owner