Gentoo Archives: gentoo-user

From: Bill Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)
Date: Mon, 25 Aug 2014 10:19:29
Message-Id: 53FB0D96.1000204@iinet.net.au
In Reply to: Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!) by Alan McKinnon
1 On 25/08/14 17:19, Alan McKinnon wrote:
2 > On 25/08/2014 11:11, Dale wrote:
3 >> Alan McKinnon wrote:
4 >>> On 25/08/2014 08:17, Hinnerk van Bruinehsen wrote:
5 >>>> On Sun, Aug 24, 2014 at 11:58:36PM +0430, behrouz khosravi wrote:
6 >>>>> Hi. I just accidentally removed the /usr folder!
7 >>>>> And I am sure the /usr/bin and several other folders are gone!
8 >>>>> Should I go for a complete re-install or there is any other solution?
9 >>>>> Thanks and I hope that I wont find that blade that I am looking for!
10 >>>> You should be able to get away with an emerge @system @world -evDN instead of
11 >>>> a complete re-install.
12 >>>> You should first get a copy of a minimal working /usr though (like from
13 >>>> a stage3 tarball), otherwise you will run into errors as /usr/bin is where
14 >>>> python and other stuff resides that you'll need for installation.
15 >>>
16 >>> gcc is also in /usr which happily guarantees that nothing can be fixed
17 >>> without unpacking a stage first
18 >>>
19 >>>
20 >>
21 >>
22 >> It seems moving so much critical stuff to /usr was a really bright
23 >> move. < lots of sarcasm there >
24 >
25 > and,
26 >
27 > rm -rf /usr is not a user error one can reasonably expect to recover from
28 >
29 >
30 and wasnt many of the file system changes being made because some folks
31 wanted a read only /usr but were not there yet?
32
33 BillK

Replies

Subject Author
Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!) "J. Roeleveld" <joost@××××××××.org>