Gentoo Archives: gentoo-user

From: Dru Kargin <drukargin@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] root partition lost - backup too old - please help
Date: Mon, 14 Jun 2010 19:40:52
Message-Id: 4C16859D.7020501@gmail.com
In Reply to: Re: [gentoo-user] root partition lost - backup too old - please help by Volker Armin Hemmann
1 On 06/14/10 12:19, Volker Armin Hemmann wrote:
2 > On Montag 14 Juni 2010, Helmut Jarausch wrote:
3 >
4 >> On 14 Jun, Volker Armin Hemmann wrote:
5 >>
6 >>> On Montag 14 Juni 2010, Helmut Jarausch wrote:
7 >>>
8 >>>> Hi,
9 >>>>
10 >>>> due to a disk crash I've lost my root partition.
11 >>>> Unfortunately, the backup version is 4 weeks old.
12 >>>> But my /usr partition is up-to-date and I have
13 >>>> binary build-pkgs.
14 >>>> What's the fastest way to restore the portage-relevant
15 >>>> data on the root partition?
16 >>>>
17 >>>> Many thanks for a hint,
18 >>>> Helmut.
19 >>>>
20 >>> if /var/db survived, you can grep for /bin /lib /sbin etc in /var/db and
21 >>> install the packages hit.
22 >>>
23 >> Thanks, but unfortunately /var was on the root partition.
24 >>
25 >> So, I have to emerge -k --update @world @system .
26 >>
27 >> Helmut.
28 >>
29 > except that without /var portage does now know what @system or @world is made
30 > off.
31 >
32 >
33 If you have a 4-week old version of /var/db, you can probably use that
34 for the sake of rebuilding/unpackaging system and world. Hopefully,
35 system and world won't have changed so much in four weeks that a
36 ground-up rebuild will be more efficient.
37
38 -Dru

Replies

Subject Author
Re: [gentoo-user] root partition lost - backup too old - please help Helmut Jarausch <jarausch@××××××××××××××××.de>