From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OOFWe-0002pO-Jn for garchives@archives.gentoo.org; Mon, 14 Jun 2010 19:40:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BCEE4E0AC4; Mon, 14 Jun 2010 19:40:17 +0000 (UTC) Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 87EA9E0AC4 for ; Mon, 14 Jun 2010 19:40:17 +0000 (UTC) Received: by pwi6 with SMTP id 6so3001052pwi.40 for ; Mon, 14 Jun 2010 12:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=aylUoXRH3gmQZrq1h59YqNEJFDym4KWtmbRJZsmDvh8=; b=EkrkL2vLR0CG3aRRTqosgAWoKBv8VAyEGcGHw8GBKAO4LWo9tvmSSSCSjU2OqWab0S svZ9ccKXZzQ3s/DupZHkm5vjP2yau3b753o/viYWM7SjLtnpei1zfwZHN8BqIsPeujcU 9erEhgQumzO+b6JNGlOh3oPY6jdbsBQLJ1tdE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ZFZVsxghGD+YtUReZ82N89IAFLMvlv3MZco7ZTr51CobAEy7s9/SqVREEGgprocfcY VVFbwPuJFwYxkbzQFBx2bsokuz0jXY32h3quPUTzawrcuohBgQWh/bmEL+uIzv7XGs61 wjwIGPo6kbBGJi+NQq33eyC+iFXHKU/p7Cvh4= Received: by 10.141.105.14 with SMTP id h14mr4844806rvm.197.1276544416905; Mon, 14 Jun 2010 12:40:16 -0700 (PDT) Received: from [192.168.0.110] (cpe-76-93-114-89.socal.res.rr.com [76.93.114.89]) by mx.google.com with ESMTPS id k17sm4989936rvh.17.2010.06.14.12.40.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Jun 2010 12:40:15 -0700 (PDT) Message-ID: <4C16859D.7020501@gmail.com> Date: Mon, 14 Jun 2010 12:40:13 -0700 From: Dru Kargin User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100602 Thunderbird/3.0.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] root partition lost - backup too old - please help References: <201006142024.24031.volkerarmin@googlemail.com> <201006142119.54426.volkerarmin@googlemail.com> In-Reply-To: <201006142119.54426.volkerarmin@googlemail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 7bbfd61a-a003-43de-a147-9061e4065063 X-Archives-Hash: e04ee24a0e44d6da6423d8d126ca9563 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. -Dru