1 |
On 04/03/2014 20:20, Guido Budack wrote: |
2 |
> Hi, |
3 |
> |
4 |
> actually I am reading the handbook because I intend to change from |
5 |
> debian to gentoo. |
6 |
> I am some sort of a 'purist'.. however... |
7 |
> I just ask myself while reading chapter 3 very carefully: |
8 |
> |
9 |
> isn't it necessary to modify any fstab after you installed partitions |
10 |
> and file-systems resp. |
11 |
> mouting the same? |
12 |
> Since now I can't see anything comparable in the handbook. |
13 |
|
14 |
It's in later chapters |
15 |
|
16 |
|
17 |
> Secondly I intend to install from scratch- that means no network. |
18 |
|
19 |
Um, errr, no :-) |
20 |
|
21 |
If you do a sane install, you will have the network connectivity you set up. |
22 |
|
23 |
What do you mean by "install from scratch"? Surely you aren't |
24 |
contemplating doing a stage 1? Yikes, I haven't done one of those in |
25 |
*years*. Stage 1 is only useful for building the stage 3 that you should |
26 |
be using, for live-cd creators and the masochists amongst us. |
27 |
|
28 |
True masochists though do a LinuxFromScratch install. It's a good |
29 |
learning experience, but just that - do it once, see how it's done and |
30 |
forevermore thereafter do it the easy way (stage 3). |
31 |
|
32 |
> Will I get a root-prompt after the fist steps of installation? |
33 |
|
34 |
No, you get a login prompt where you log in as root |
35 |
|
36 |
> The controverse discussions in the web are not really satisfying... |
37 |
|
38 |
It's not 100% apparent how the install works from reading the handbook, |
39 |
you have to do it to see how it works. Do note that all distro installer |
40 |
work in this general way, Gentoo just lets you see more of the process. |
41 |
In summary: |
42 |
|
43 |
You need a running OS to install an OS. You get this anywhere you choose |
44 |
but the easiest is to boot from a removeable media (CD, USB, etc). In |
45 |
this environment you will partition your disks, mkfs the volumes, mount |
46 |
them under /mnt and do other things to set up the system. Then you |
47 |
unpack a stage3 and the portage tree onto these partitions and chroot |
48 |
there. You have to unpack the tarballs then chroot otherwise you will |
49 |
try chroot into an empty directory structure - ain't gonna work. |
50 |
|
51 |
A stage 3 gives you a basic working environment with a toolchain and |
52 |
some useful software. And you can configure and build a kernel in it. |
53 |
That is the bulk of this part, so after some various bits of |
54 |
housekeeping and setting up grub, you reboot. |
55 |
|
56 |
With luck, the thing you just installed will boot and give you a prompt. |
57 |
at this point your only user with a shell is root, so you start doing |
58 |
basic sysadmin actions like defining users, setting all your default |
59 |
config options, updating the entire system to latest versions (the |
60 |
stages usually lag behind) and installing every other package you want. |
61 |
You also set up networking as hopefully you built the proper network |
62 |
drivers when you built the kernel earlier. If not, no big deal, just |
63 |
make menuconfg and build the kernel again. The stages already contain |
64 |
all the software you need to get wired and wireless going, so as long as |
65 |
you have the proper drivers built and loaded you can enable the network. |
66 |
It's not especially pretty but it works like a bomb and you can make it |
67 |
pretty later if you wish. |
68 |
|
69 |
Every distro installer out there follows these same basic principles |
70 |
(order varies widely), Gentoo just lets you see what's really going on. |
71 |
Follow the handbook, you'll do fine. Ignore dumb interwebz posts saying |
72 |
how hard it is, those *always* come from people a) without patience or |
73 |
b) who can't read and didn't do what the fine handbook saysto do. |
74 |
Thousands of folk have done these installs, by far the majority succeed |
75 |
first try. Statistically, you are unlikely to be that one in a thousand |
76 |
who fails :-) |
77 |
|
78 |
|
79 |
|
80 |
> |
81 |
> |
82 |
> Greets |
83 |
> |
84 |
> Gee |
85 |
> |
86 |
> -----BEGIN PGP PUBLIC KEY BLOCK----- |
87 |
> Version: GnuPG v1.4.11 (GNU/Linux) |
88 |
> mQENBFMSzBEBCADLPBwdQ2vDYBNvoH50Z0eUjRHUVhzKzpgRT2rlgJ+inrwsP8w1 |
89 |
> m6WzCgLFq7iljVp3FxEgTEV/K3Kh6I9Sk13tPx4bkhZ006R+We152eS+q7yiGwhJ |
90 |
> vwTecl1oAQ7ce+PGGng8TRw3evBO2kRs/qc5CuV7OfsBxwPU+OSjOaaBFp4O0F4b |
91 |
> CrWczQZEjShOvWePHXnLxqnY3y1o2JpjE+fnikXsbm9owTuMLyLy/b9ZfGBaRVa7 |
92 |
> gyy2N1GPKti68esU5gMfnoCVCKqF6C+0wc+dJV0dPzW1Ps2t1uffZ8OjG/3QZRq/ |
93 |
> oq0bO6+J30bCgYIh6XtgXxtcRb77Bjhw7VpxABEBAAG0H0d1aWRvIEJ1ZGFjayA8 |
94 |
> Z2xhaXZ5QGdtYWlsLmNvbT6JATgEEwECACIFAlMSzBECGw8GCwkIBwMCBhUIAgkK |
95 |
> CwQWAgMBAh4BAheAAAoJEIxjGe3OdnLOM7UH/i46VPSPIufgPuKq8bb9YlbhoE1H |
96 |
> ThaBREJyUeCRYrq1crdaO0Sr5FHoN7VTmC7XQm2W+zPOKTttx5dDD3ywshzphHlC |
97 |
> SJlN/s7lePf230zR3DePa7UYwvO1cW2lclZ7VDnkmb8317SPOECDJcn0l8A6eScT |
98 |
> FoYhzkeVwlroQFz7W9R56Z8HbNXBPqIOS93WVyCGNiTqFI9tvs44jiOIv4rIINrI |
99 |
> V7RG8gXDOjhfwDOhpSVReV8Xf7Eki/s2/wQV8z3XfOpPsbu2hrYeu1esRg1bCjRP |
100 |
> KFBpqQIlByg1ulBR6nZtM8qWPD7p5wYxloc/wLG4NjhXEuOWNERGPQa0DKg= |
101 |
> =r1R3 |
102 |
> -----END PGP PUBLIC KEY BLOCK----- |
103 |
> |
104 |
|
105 |
|
106 |
-- |
107 |
Alan McKinnon |
108 |
alan.mckinnon@×××××.com |