From: Helmut Jarausch <jarausch@igpm.rwth-aachen.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] root partition lost - backup too old - please help
Date: Tue, 15 Jun 2010 10:34:07 +0200 (CEST) [thread overview]
Message-ID: <tkrat.1c6b8c81929a7ad6@igpm.rwth-aachen.de> (raw)
In-Reply-To: <4C16859D.7020501@gmail.com>
On 14 Jun, Dru Kargin wrote:
> On 06/14/10 12:19, Volker Armin Hemmann wrote:
>> On Montag 14 Juni 2010, Helmut Jarausch wrote:
>>
>>> On 14 Jun, Volker Armin Hemmann wrote:
>>>
>>>> On Montag 14 Juni 2010, Helmut Jarausch wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> due to a disk crash I've lost my root partition.
>>>>> Unfortunately, the backup version is 4 weeks old.
>>>>> But my /usr partition is up-to-date and I have
>>>>> binary build-pkgs.
>>>>> What's the fastest way to restore the portage-relevant
>>>>> data on the root partition?
>>>>>
>>>>> Many thanks for a hint,
>>>>> Helmut.
>>>>>
>>>> if /var/db survived, you can grep for /bin /lib /sbin etc in /var/db and
>>>> install the packages hit.
>>>>
>>> Thanks, but unfortunately /var was on the root partition.
>>>
>>> So, I have to emerge -k --update @world @system .
>>>
>>> Helmut.
>>>
>> except that without /var portage does now know what @system or @world is made
>> off.
>>
>>
> If you have a 4-week old version of /var/db, you can probably use that
> for the sake of rebuilding/unpackaging system and world. Hopefully,
> system and world won't have changed so much in four weeks that a
> ground-up rebuild will be more efficient.
Yes, I'm trying that. Though I've encountered some difficulties.
E.g. the 'old' system had gcc-4.4.3-r2 in slot (4.4) while the /usr
partition contained gcc-4.4.4. Trying to emerge gcc-4.4.4 (binary)
portage went into a loop (at least it would have taken more than an hour
on a fast machine). I had to fetch /etc/env.d/gcc from a similar machine
here. The problem seems to be that during installation portage tries to
remove a version which isn't installed anymore.
Meanwhile I could reinstall gcc-4.4.4 which was the biggest corner
(hopefully).
Thanks,
Helmut.
prev parent reply other threads:[~2010-06-15 8:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-14 17:32 [gentoo-user] root partition lost - backup too old - please help Helmut Jarausch
2010-06-14 18:24 ` Volker Armin Hemmann
2010-06-14 18:29 ` Helmut Jarausch
2010-06-14 19:19 ` Volker Armin Hemmann
2010-06-14 19:40 ` Dru Kargin
2010-06-15 8:34 ` Helmut Jarausch [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tkrat.1c6b8c81929a7ad6@igpm.rwth-aachen.de \
--to=jarausch@igpm.rwth-aachen.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox