Gentoo Archives: gentoo-user

From: Florian Philipp <f.philipp@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Changing CHOST
Date: Tue, 25 Sep 2007 17:24:38
Message-Id: 46F940A8.9070007@addcom.de
In Reply to: Re: [gentoo-user] Changing CHOST by Daniel Barkalow
1 Daniel Barkalow schrieb:
2 > On Mon, 24 Sep 2007, Florian Philipp wrote:
3 >
4 >> Just a thought: Is it possible to compile a 64bit kernel and use him on
5 >> the current system? That way you could set up your new native 64bit
6 >> system in a chroot before overwriting the old one and thus minimize
7 >> downtime to less than 15 minutes.
8 >
9 > Building a 64bit kernel with 32bit userspace should be pretty
10 > straightforward with crossdev (not meaningfully different from building an
11 > ARM kernel on an x86 host). Building a 64bit userspace while running a
12 > 32bit userspace is a bit trickier. There's some support for building a new
13 > system with ROOT=/target, but not everything would build like that the
14 > last time I tried (building for ARM on x86).
15 >
16 > -Daniel
17 > *This .sig left intentionally blank*
18
19 You don't need to run a 32bit userland (at least not in the way you seem
20 to think). All you need to do is making your 64bit kernel work with your
21 current 32bit userland while doing the normal gentoo installation steps
22 (e.g. extracting stage3 to some folder, chroot into it, updating,
23 emerging packages needed for your new system, ...).
24
25 If it works that way (it sounds far too easy) you could copy config
26 files and all that stuff from your old system to your new without
27 shutting down the old one until the new is ready to overwrite the old one.
28 --
29 gentoo-user@g.o mailing list