1 |
On Mon, 6 Dec 2004 19:57:15 +0100, Maarten <gentoo@××××××××.org> wrote: |
2 |
> On Monday 06 December 2004 19:23, Jean-Francois Gagnon Laporte wrote: |
3 |
> > On Mon, 6 Dec 2004 18:47:43 +0100, Maarten <gentoo@××××××××.org> wrote: |
4 |
> |
5 |
> > > I think I correctly upgraded 2004.2 to 2004.3 but how do I check that to |
6 |
> > > make sure? |
7 |
> > |
8 |
> > Okay let's divide the questions shall we. There isn't really any |
9 |
> > revision to gentoo. I think you have switched your profile am I right |
10 |
> |
11 |
> If that is what I think it is, yes. [Changing some symlink somewhere I forgot] |
12 |
|
13 |
If so yes you changed the profile. |
14 |
|
15 |
> |
16 |
> > > The machine did not do anything spectacular when I made that change, |
17 |
> > > is that expected behaviour ? |
18 |
> > |
19 |
> > If you were up to date with your local portage tree and recently |
20 |
> > update your installation there is no reason to anything since you |
21 |
> > already up to date. You only switched profile from what I can read. |
22 |
> |
23 |
> indeed. So the kernel is not updated with changing profiles ? |
24 |
> (or at least, not when going from 2004.2 to 2004.3) |
25 |
> |
26 |
|
27 |
No you have to emerge a different sources like gentoo-dev-sources |
28 |
instead of gentoo-sources. |
29 |
|
30 |
> > > Now for the fullfillment of the transition to 2004.3 I need a kernel |
31 |
> > > 2.6, right ? |
32 |
> > |
33 |
> > Not really, AFAIK gentoo hasn't switched to 2.6 by default. If you |
34 |
> > still need to you can run a 2.4 kernel without any problems except you |
35 |
> > will miss some goodies. But, if you aren't confortable with 2.6 or |
36 |
> > even a linux kernel you might want to stick with a 2.4 kernel. It just |
37 |
> > works. |
38 |
> |
39 |
> I run linux kernels since 1996, so I should be "comfortable" with them. ;-) |
40 |
> I (wrongly) assumed gentoo-latest-rev used a 2.6 kernel so I was unsure how to |
41 |
> transistion to 2004.3. So, that is cleared up now. |
42 |
> However, I will still want to run with 2.6, definitely. |
43 |
> |
44 |
|
45 |
If that's the case i'll go less easy on you ^_^ (just joking) . You |
46 |
might find this page useful : |
47 |
|
48 |
http://packages.gentoo.org/packages/?category=sys-kernel |
49 |
|
50 |
You should be able to pick a kernel that fits your needs. I would |
51 |
suggest using gentoo-dev-sources at first if you just want a 2.6 |
52 |
kernel that works. |
53 |
|
54 |
> |
55 |
> |
56 |
> > > Can someone point me to the docs that |
57 |
> > > detail that step cause I could not find that very well. |
58 |
> > |
59 |
> > Sure here ya go. It still has that fresh smell from the oven (It has |
60 |
> > been updated recently) |
61 |
> > |
62 |
> > http://www.gentoo.org/doc/en/migration-to-2.6.xml |
63 |
> > |
64 |
> > May I suggest you go to www.gentoo.org and look at the left side of |
65 |
> > the navbar to see a big category called Documentation. Check out the |
66 |
> > user docs section it's pretty good. |
67 |
> |
68 |
> Of course I did. In fact I couldn't have installed gentoo without it. :-) |
69 |
> (Those are real fine docs by the way. Kudos!) |
70 |
> Somehow I overlooked that migration document. I guess it's just all too new |
71 |
> and confusing and overwhelming the first few visits... My bad. Thanks! |
72 |
|
73 |
There is a resume at the end of the page ( |
74 |
http://www.gentoo.org/doc/en/index.xml#doc_chap7 ) But hey it's monday |
75 |
for everybody ! The gentoo devs are working on rebuilding the web |
76 |
site to be more accessible. The main design has been approved a while |
77 |
ago so I hope this year we'll be able to enjoy the face lift. |
78 |
> |
79 |
> > > How do I make sure I retain my current kernel as a second boot option if |
80 |
> > > the 2.6 kernel will not boot ? |
81 |
> > |
82 |
> > What boot loader are you using ? Lilo or grub ? Here's my grub.conf |
83 |
> > that you might find useful : |
84 |
> |
85 |
> Grub.conf will work. My question was rather, will one kernel not overwrite |
86 |
> another (as is sadly the case with a lot of other linux distributions). |
87 |
> |
88 |
|
89 |
That depends on how do you compile your kernel really. I do it this way : |
90 |
|
91 |
make && make modules_install install |
92 |
|
93 |
It will build a 2.6.x kernel, install the relevant modules it just |
94 |
build and copy the bzimage at the root of /boot as vmlinuz (the |
95 |
.config and System-map is also copied by padding the revision number |
96 |
at the end). If it already find vmlinuz it will rename the old kernel |
97 |
as kernel.old ( the old config and System-map too). What I do when I |
98 |
like a kernel is to copy the working vmlinuz to vmlinuz.working with |
99 |
it's config and System-map and append .working. That way it's never |
100 |
clobbered when I don't want too. It's the solution for the lazy people |
101 |
like me. Here's a snapshot of my /boot since I'm probably not coherent |
102 |
enough : |
103 |
|
104 |
ls -l /boot |
105 |
~ |
106 |
total 5149 |
107 |
lrwxr-xr-x 1 root root 26 Nov 24 09:45 System.map -> |
108 |
System.map-2.6.9-gentoo-r6 |
109 |
-rw-r--r-- 1 root root 867019 Nov 24 09:45 System.map-2.6.9-gentoo-r6 |
110 |
-rw-r--r-- 1 root root 867019 Nov 24 09:53 System.map.working |
111 |
lrwxrwxrwx 1 root root 1 May 5 2004 boot -> . |
112 |
-rw-r--r-- 1 root root 512 Apr 18 2003 boot.0300 |
113 |
lrwxr-xr-x 1 root root 22 Nov 24 09:45 config -> config-2.6.9-gentoo-r6 |
114 |
-rw-r--r-- 1 root root 29390 Nov 24 09:45 config-2.6.9-gentoo-r6 |
115 |
-rw-r--r-- 1 root root 29390 Nov 24 09:54 config.working |
116 |
-rw-r--r-- 1 root root 1475 Nov 24 10:02 debug.log |
117 |
drwxr-xr-x 2 root root 1024 Dec 1 09:43 grub |
118 |
-rw-r--r-- 1 root root 41895 Jul 27 13:07 initrd-1024x768 |
119 |
drwx------ 2 root root 1024 Aug 16 12:07 lost+found |
120 |
-rw------- 1 root root 161792 Oct 8 2003 map |
121 |
-rw-r--r-- 1 root root 256 Apr 18 2003 qc-latin1.klt |
122 |
lrwxr-xr-x 1 root root 23 Nov 24 09:45 vmlinuz -> vmlinuz-2.6.9-gentoo-r6 |
123 |
-rw-r--r-- 1 root root 1618407 Nov 24 09:45 vmlinuz-2.6.9-gentoo-r6 |
124 |
-rw-r--r-- 1 root root 1618407 Nov 24 09:53 vmlinuz.working |
125 |
|
126 |
> One last question: Do you need to re-run grub-install after changing this |
127 |
> file or is it 'okay to go'. (you'll note I come from the lilo world ;-) |
128 |
> |
129 |
|
130 |
Nope grub doesn't need to be reinstalled. It scans it's configs on the |
131 |
fly so you only need to edit grub.conf and that's it. Oh and welcome |
132 |
to the light side lol. |
133 |
|
134 |
> > |
135 |
> > Hopes this will help you out |
136 |
> |
137 |
> Yes, I think it did. Thanks again. |
138 |
> |
139 |
> > Jean-Francois |
140 |
> |
141 |
> |
142 |
> |
143 |
> Maarten |
144 |
> |
145 |
> -- |
146 |
> gentoo-user@g.o mailing list |
147 |
> |
148 |
> |
149 |
|
150 |
-- |
151 |
gentoo-user@g.o mailing list |