Gentoo Archives: gentoo-ppc-user

From: Stefan Bruda <bruda@×××××××××××.ca>
To: Lincoln Rutledge <lrutledge@×××××××××.net>
Cc: gentoo-ppc-user@l.g.o
Subject: Re: [gentoo-ppc-user] bootstrap install from hfs partition?
Date: Tue, 17 Aug 2004 16:54:54
Message-Id: 16674.14413.302178.742745@gargle.gargle.HOWL
In Reply to: Re: [gentoo-ppc-user] bootstrap install from hfs partition? by Lincoln Rutledge
1 At 12:32 -0400 on 2004-8-17 Lincoln Rutledge wrote:
2 >
3 > This is a thought. I could install Debian in the swap partition,
4 > then put the stage 3 filesystem in the / partition I am currently
5 > using. At that point do I need to put a kernel in my bootstrap
6 > partition and boot to it from yaboot? Or when I do the chroot, is
7 > there a Gentoo installer program I can execute to handle setting up
8 > bootstrapping and finish the install?
9
10 There is no Gentoo install script, you do it all manually. Once
11 booted and chrooted into your Gentoo "stage" you have to set
12 everything up manually and then run the bootstrap script (there is a
13 script for this one at least) or the emerge commands (as the case may
14 be depending on what stage you started from). That's why it does not
15 matter (within reason) how you boot your system, once chrooted
16 everything is done in the same manner.
17
18 > > > This is above my head, but I can sit down with the handbook.
19 > >
20 > > Yes, this is very advisable, it is a must in fact, one should read the
21 > > handbook before attemtping a Gentoo installation.
22 >
23 > I don't see anything regarding what I am attempting here :)
24
25 As I was saying above, the Gentoo Handbook applies no matter how you
26 boot your system. What I meant is not that there are specific
27 instructions to install on a live system, but instead that the general
28 instructions apply with only minor (and in most cases obvious)
29 changes. In a nutshell (and following the handbook), you go about it
30 like this:
31
32 o Section 1 is general information, worth reading.
33 o Section 2 obviously does not apply except the general information
34 (most of it in 2.a).
35 o Section 3 does not apply since you presumably configured your
36 network on the Debian side.
37 o Section 4 up to but excluding 4.f applies or not depending on
38 whether you have the filesystem ready or not, but 4.f goes as
39 described. NOTABLE EXCEPTION: do not rebind /dev or else you risk
40 the corruption of Debian-side device nodes (depending on what you
41 use on Debian-side for device node management).
42 o Section 5 applies as written.
43 o From now on everything applies verbatim (except for the use of
44 mirrorselect which you don't have).
45
46 Essentially you follow the same process no matter whether you booted
47 from the install CD or from another Linux installation.
48
49 Of course, if you use the swap for the temporary Debian you should
50 postpone the enabling of swap until you boot Gentoo and thus the swap
51 partition becomes once more available for its primary purpose.
52
53 It is worth noting that I saw at some time a note (which I cannot find
54 anymore) on what to do differently when installing on a live system.
55 These instructions did not work for me, but the normal flow of
56 operations from the handbook did.
57
58 Stefan
59
60 --
61 If it was so, it might be; and if it were so, it would be; but as
62 it isn't, it ain't. That's logic.
63 --Lewis Carroll, Through the Looking-Glass
64
65 --
66 gentoo-ppc-user@g.o mailing list