From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to rebuild gentoo on a somewhat different hardware
Date: Tue, 16 Nov 2010 11:56:29 +0200 [thread overview]
Message-ID: <201011161156.30158.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <1289900014.10494.0@numa-i>
Apparently, though unproven, at 11:33 on Tuesday 16 November 2010, Helmut
Jarausch did opine thusly:
> Hi,
>
> I have an up-to-date ~amd64 GenToo installation with has been
> built on a current AMD64 (Phenom II) machine where I used
> -mtune=native in etc/make.conf since I didn't think of the case
> that I would need to port this system to a somewhat older Opteron
> based machine (still AMD64)
>
> But after cloning the system, some fundamental utilities die of
> an illegal instruction. So I have to rebuild GenToo nearly
> from scratch. emerge -e world doesn't work.
>
> So, what is a reasonably fast method?
Backup your portage related data and re-install.
Seriously - you know you are looking at doing emerge -e world and will need to
fiddle stuff to make it complete successfully.
If you just reinstall, put your old world file and /etc/portage/ back then let
portage have at it, that is exactly what will happen. You'll have 30-45
minutes of setup work and a high level of confidence it will complete
successfully.
Trying to fix the existing installation is potentially many hours of poking
around to see what changed, potentially several goes at running emerge -e
world, hair pulling, and you will probably give up and just reinstall anyway.
I'm assuming you are looking for the easiest, fastest route to success with
the least pain, and that your days of poking into portage to see how things
work for fun are long over.
>
> I'd like to keep
> /etc
> /usr/portage except /usr/portage/packages
> /var/lib/portage
>
> Is there a fast method e.g. by using the Gentoo based
> SystemRescueCD to reinstall a very basic system, such that
> I can do emerge -e world.
> It looks as if the gcc tool-chain is intact since I could
> compile a kernel without any problem.
> But some utilities, e.g. find, die of an illegal instruction.
>
> Many thanks for any hints saving me a couple of hours work,
>
> Helmut.
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2010-11-16 9:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-16 9:33 [gentoo-user] how to rebuild gentoo on a somewhat different hardware Helmut Jarausch
2010-11-16 9:45 ` J. Roeleveld
2010-11-16 9:56 ` Alan McKinnon [this message]
2010-11-16 10:06 ` Helmut Jarausch
2010-11-16 13:27 ` Marius Vaitiekunas
2010-11-16 14:06 ` Alan McKinnon
2010-11-16 23:01 ` Adam Carter
2010-11-17 12:12 ` Helmut Jarausch
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=201011161156.30158.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--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