From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F243F138350 for ; Sat, 4 Apr 2020 22:24:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0653CE0CAA; Sat, 4 Apr 2020 22:24:33 +0000 (UTC) Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9DDD0E0A6D for ; Sat, 4 Apr 2020 22:24:32 +0000 (UTC) Received: by mail-ot1-x341.google.com with SMTP id a49so11311631otc.11 for ; Sat, 04 Apr 2020 15:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=VvsNMa3+mOI+Wc4XPuEtwPvECKWsHeKi+vtXVIuFojU=; b=cJWBAt+7kcTXOS28qkJhBtWaujD78AfamQ/x0B2xn8t8R/JJveawdag9PWFPy7Qgfe LJqS7lyESchkmKgmS2uiLqQ9iffzYxre69Zq3ovyW6GLbN0mlNcjripsZXJJPBsgq/Np 6kg5P5xs06cTfRDd2/DtpOEU+2M7lflXhpQIW5OZTgcG/qXeldH0T2J6qavQ0+bSVI9s fl8JFBdOSJu+uzDtx4IQO+2Ak8x3g8qvBW4AmeEy1F6R4oWQqixV/Ha95kTOC/mLigTQ Sdzuy6BJ3Q1cPowA7UU+IDLYfAHkzQFDlkgeDP4ZUjOZn5DxVUnidBSshJP/IilhPiRO /WrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=VvsNMa3+mOI+Wc4XPuEtwPvECKWsHeKi+vtXVIuFojU=; b=SIeZ37+s1hwUdaoGtQuiSfb5ZVyM0sdc3OMHqudY6X5CcN24nyyuJk4BcdBPTkZ94x x4bCzhlr+JuMoCVnoyQhqja6fy5juSlhzZPIVdWTkzxMjL78nviFJUkdlBs+fkyZjGxQ IeSmmT6qVcxiJ2iRGeENZwKxjmq2lM4CzcFipyKANNqvu39KV5855YV8TDHMu7NKU83z dL+jKAb096qFy9YR2V60C4EZhzuo0B80kTNUWIrfm8ndKRajvroHhIPQJNYZMhdjdvZL XYnm3c1mGUDt8GWI8Hylz2IAT5NCe5brbaaufJliRh9JWSN3idtXNxWPQpH6ojdpHJ7h MBmw== X-Gm-Message-State: AGi0PubMwtrnqwcsWpliiQBOqYx6CntTf++zIJKMBwcKTmV+btE/zki/ /6tNr+QjpJe1GlRMXETii+4= X-Google-Smtp-Source: APiQypLcYA2EJ2G/ZflOzNubKoKEJt1jhv+ciDMB8MMaxtDfVEquUHV3Mp63whxFR3IiMyyTpkzBUQ== X-Received: by 2002:a9d:2c01:: with SMTP id f1mr12152450otb.67.1586039071657; Sat, 04 Apr 2020 15:24:31 -0700 (PDT) Received: from [192.168.0.100] (adsl-074-188-249-233.sip.asm.bellsouth.net. [74.188.249.233]) by smtp.gmail.com with ESMTPSA id v21sm3266761oic.4.2020.04.04.15.24.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Apr 2020 15:24:30 -0700 (PDT) Subject: Re: [gentoo-user] ...recreating exactly the same applications on a new harddisc? To: gentoo-user@lists.gentoo.org References: <20200404173459.eggbc2sijcnkw67j@solfire> <3e42dd22-4b16-ecaf-690a-e8c505810fc7@gmail.com> From: Dale Openpgp: preference=signencrypt Autocrypt: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ILjznCXXTDgRHq9A3NknKRMcgFacX6eIhANkMFo6oJVjuEgy1dvu1wFfDq7c+i8GAHu L4pYzyXYu6PporlNNU0xSwdVgzM/uuK0lt+UxCimgC+YR3IezgDcbfudb7h9dGIwL+bbPL0A EQEAAYkCNgQYAQgAIBYhBNnuy6u48FpLrRsJhe8Qz9da75mcBQJcXOzIAhsMAAoJEO8Qz9da 75mcXZ4P/1YXgWDZek7mhzrf6uaQzMxa92P89HeWz4PlgB/32symeEFAV04WazzBZffI8AYY rGA1Xmu/2VaB9+FOODyKhUWBc2UL0NRWBk6POwboyTdKlclmpixaN9zLcBt0YLejoRfN1B/5 aQf9/lUDZMnAiCyz0FgeqEMUshldmwWC35RqnjrCbbuk2vIqSH6BLDIXU6jQrLHE1DF0ai41 wLtQFAFXPhn45n0ZwYhVs4Z32z4sjXrIvgBgCaXa4HM+L1Klne0KiNM8ReFTTpTE0SgyDOSZ O3MOa2n77i6JbVtsbiFYnNeP3J9S/l3jevGpZEtNQOKrIm1MW8jGuHWtsDeMkT/mCcSodlkt PxIo+mMK9GpGvG2hW80LiohqNfUbNwAmr3blOYY4URPXPRnEnPs4pmTmL5owjw2dkg145i9I D42Tq+XZ6YtWt3SGzGbAYow6XwTwZ5NFAzV9UQuCGrDw4KWan6O6Z+VIYWsn0UMZlu1Obxna aocofkaUCbISK26kImuD1aA8juSHC18Qv1xUage6/UakbSxyDtACqt6hOVFKX3IA59ApdNRT +2x3iCmlvF9MJsGgFq6IpqL+Fk7iWV8Kjbz0wQOId6N9+JdQh3LrLaS7a1PowUm1z9DK5/O0 Yg+gpDnEOOFI7WM5u7a7FSM2Z/LXGVwel/0eWvLk9tN6 Message-ID: Date: Sat, 4 Apr 2020 17:24:29 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.9.1 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 X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: a57f2ce6-5af4-490f-9bc3-15c389155620 X-Archives-Hash: a0b8e3cd8b1c9692cc60f8ff5afba69c John Covici wrote: > On Sat, 04 Apr 2020 14:33:21 -0400, > Dale wrote: >> Mark Knecht wrote: >>> Your world file should do that for the Gentoo stuff, with limitations. >>> It assumes you have nothing on the system that was created outside of >>> normal portage/emerge. It would probably duplicate the latest kernel >>> tree but wouldn't build it, and wouldn't copy old kernels that aren't >>> in portage if you still have them on the system. It isn't going to get >>> virtual environment, be they python or things like virtualbox if you >>> use those. >>> >>> I suspect you'll get a 'working' machine (I've done it) but you will >>> still have a lot of stuff to transfer by hand or from backups which >>> you really should do anyway. >>> >>> HTH, >>> Mark >>> >> I recently tried this in a chroot starting with a stage3 tarball.  At >> first, I tried unpacking the tarball, copying over /etc and the world >> file.  I also copied over the binaries and tried using -k.  It was a >> disaster.  I ran into hard blacks that I never was able to get around >> not to mention emerge complaining about USE flags and such.  Then I >> tried unpacking a tarball and just updating the tarball itself with no >> changes on my part, not even the profile, it to ran into hard blocks >> just not as many of them. >> >> In the 2nd attempt, I think something was off in the tarball itself.  >> When you unpack a tarball and try to sync and update it and it fails, >> something is wrong somewhere.  It's not covered in the install handbook >> either.  In theory, one should be able to unpack a tarball, copy over >> /etc and the world file and do a emerge -e world.  If one copies over >> the binaries from the old system, one could add a -k to speed up the >> process, for most if not all packages.  Thing is, theory meets real >> world real fast and it gets ugly. After multiple attempts, I ended up >> coping my original OS over and that worked better and MUCH faster. >> >> Way back in the day, I would boot a rescue disk of some type, mount both >> drives and then copy everything over, excluding /home if it is on a >> separate drive or any others that shouldn't be transferred.  Once that >> is done, chroot in and install grub, the old original one not grub2.  >> Once that is done, shutdown and remove old drive, plug new drive into >> old port and then power up, crossing fingers and toes.  It worked first >> time generally.  I have NOT done that with grub2.  It may work the same, >> it may not.  Grub2 is a bit of a beast. >> >> Theory, should work.  In my real world experience, it does not. Coping >> tends to work if you do it all right. >> >> Just my thoughts. > I did something like this a few months ago, I first got the tarball, > did an immediate update, copied a lot of /etc, particularly > /etc/portage, but not some things like package.use, because I wanted > to let it redetect them, and did parts of the world file at a time, > not all at once, because I had some crud in the world file which I > wanted to be sure I got rid of. Took a couple of weeks, but did work > and then I had a better system than I had before. > Since I keep a clean world file, it wouldn't matter for me.  I have -1 as a default emerge option in make.conf which means I have to intentionally add a package to the world file, either by hand or with --select y as a option on the command line. Even if I got the tarball to work, I'd still end up with the same system I got on my main install.  It wouldn't matter any.  What really got me tho, being unable to get a bare stage3 tarball to update without running into hard blocks.  I thought that to be really strange.  Still, based on past experience, copying the system over is the fastest.  No compiling or anything, just copying it over.  Dale :-)  :-)