Gentoo Archives: gentoo-dev

From: Thomas Flavel <thomasfl@××××××××××××.uk>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] kernel compile on install
Date: Mon, 08 Jan 2001 22:41:25
Message-Id: Pine.GSO.4.03.10101090526190.23767-100000@tsuny.ctn.cogs.susx.ac.uk
In Reply to: [gentoo-dev] kernel compile on install by drobbins@gentoo.org
1 On Mon, 8 Jan 2001 drobbins@g.o wrote:
2
3 > On Sun, Jan 07, 2001 at 03:05:12PM -0700, drobbins@g.o wrote:
4 >
5 > > > Hmm, I recall asking if rc3 could have gcc and the kernel source
6 > > > available from the boot cd - I see the kernel source code is in the
7 > > > packages directory, but I think there may have been a
8 > > > mis-communication... I actually meant that gcc be executable from
9 > > > boot.img so that a kernel can be compiled directly from the boot cd
10 > > > (onto ramfs presumably, unless you mount anything else) without having
11 > > > to install anything to a hard disk - I for one would find this very
12 > > > useful, and I'm surprised I haven't seen any other distros do this.
13 > > > Comments please
14 > >
15 > > I think that's impossible right now, since the kernel sources need to be
16 > > on a read/write filesystem. However, I believe that this is changing with
17 > > the official 2.4.0 release (or some time soon), which will allow the sources
18 > > to reside on the CD. Then, it'll be possible. Otherwise, you'd need ~150Mb
19 > > of spare RAM just to hold the upacked kernel sources in a RAM filesystem.
20 >
21 > Now that I think of it, this should be possible with a chroot to /mnt/gentoo
22 > after the base system has been installed. The kernel could then be compiled
23 > and installed quite easily. We'll need to test it out -- I hope it works :)
24
25
26 Great, thanks both - I'll let you know how I get on... oh, and if I
27 remember correctly the k6 should be able to run pentium pro code.
28
29 - Tom