public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] kernel 2.6 upgrade howto
@ 2004-12-06 17:47 Maarten
  2004-12-06 18:23 ` Jean-Francois Gagnon Laporte
  2004-12-06 18:26 ` darren kirby
  0 siblings, 2 replies; 21+ messages in thread
From: Maarten @ 2004-12-06 17:47 UTC (permalink / raw
  To: gentoo-user


Hi list,

I'm new to the list (and gentoo) but not to linux.

I just started with gentoo, had to use the 2004.2 image since 2004.3 crashed 
at installtime on my machine (thinkpad 600X)...  
I used stage 2. Since then I succesfully installed a lot of apps like KDE and 
such, but my kernel is still a selfmade 2.4 one.  Now I need to get my 
wireless cards working but I'd rather upgrade the kernel first for fear of 
doing things twice (or wrong) due to the changed pcmcia drivers.

I think I correctly upgraded 2004.2 to 2004.3 but how do I check that to make 
sure?  The machine did not do anything spectacular when I made that change, 
is that expected behaviour ?  Now for the fullfillment of the transition to 
2004.3 I need a kernel 2.6, right ?  Can someone point me to the docs that 
detail that step cause I could not find that very well. 
Or do I just somehow get the sources and start compiling ?  
How do I make sure I retain my current kernel as a second boot option if the 
2.6 kernel will not boot ?

Thanks in advance,

Maarten

-- 


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
@ 2004-12-06 20:09 Al
  0 siblings, 0 replies; 21+ messages in thread
From: Al @ 2004-12-06 20:09 UTC (permalink / raw
  To: gentoo-user; +Cc: Maarten

Maarten wrote:


> One last question:  Do you need to re-run grub-install after changing this
> file or is it 'okay to go'.  (you'll note I come from the lilo world ;-)
good to go - you just need to edit grub.conf and thats it

gentoo slots all kernel versions so all you need to do is update the
/usr/src/linux symlink to the newly installed kernel version.

dont forget that gentoo runs with /boot partition unmounted so
you will  need to mount it before you copy the new bzImage over

If you are changing to 2.6 then there is the udev versus devfs choice 
to make, I would choose devfs in the 2.6 setup until your happy then  think
about udev after that.

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: [gentoo-user] kernel 2.6 upgrade howto
@ 2004-12-06 21:14 brettholcomb
  2004-12-06 22:52 ` Bastian Balthazar Bux
  0 siblings, 1 reply; 21+ messages in thread
From: brettholcomb @ 2004-12-06 21:14 UTC (permalink / raw
  To: gentoo-user

1.  Merge one of the 2.6 kernels - I used gentoo-dev-sources.  
2.  Change the /usr/src/linux symlink to point to the /usr/src/2.6directory
3.  Cd /usr/src/linux and do a make menuconfig
4.  Go through the menu and select the options you want.  I don't recommend taking the 2.4 .config and running make oldconfig on it.
5.  Exit menuconfig (save!)
6.  Run make && make modules_install
7.  Copy the bzImage to /boot - mount /boot first if it's not already.
8.  Set LILO or Grub up so that you have another kernel entry it can boot - I call mine Test.

As for udev I went from 2.4 to 2.6 and just went with udev.  Check the Gentoo docs for some docs on links to other docs on moving to udev.


> 
> From: Maarten <gentoo@ultratux.org>
> Date: 2004/12/06 Mon PM 05:47:43 GMT
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] kernel 2.6 upgrade howto
> 
> 
> Hi list,
> 
> I'm new to the list (and gentoo) but not to linux.
> 
> I just started with gentoo, had to use the 2004.2 image since 2004.3 crashed 
> at installtime on my machine (thinkpad 600X)...  
> I used stage 2. Since then I succesfully installed a lot of apps like KDE and 
> such, but my kernel is still a selfmade 2.4 one.  Now I 


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: Re: [gentoo-user] kernel 2.6 upgrade howto
@ 2004-12-07 12:48 brettholcomb
  2004-12-07 13:40 ` Neil Bothwick
  0 siblings, 1 reply; 21+ messages in thread
From: brettholcomb @ 2004-12-07 12:48 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

For the few systems I have I just prefer to do it manually.  I copy them over to a new name them like vmlinuz-2.6.9-r1, etc.  I also copy the working kernel to something like vmlinuz-prevgood.  Then I update the test section in LILO to point to the new kernel and it's available for the next time I decide to reboot and try it.

> 
> From: Neil Bothwick <neil@digimed.co.uk>
> Date: 2004/12/07 Tue AM 09:15:20 GMT
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] kernel 2.6 upgrade howto
> 
> 

[-- Attachment #2: reply --]
[-- Type: multipart/signed, Size: 1170 bytes --]

[-- Attachment #3: Type: text/plain, Size: 38 bytes --]

--
gentoo-user@gentoo.org mailing list

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2004-12-07 20:57 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-06 17:47 [gentoo-user] kernel 2.6 upgrade howto Maarten
2004-12-06 18:23 ` Jean-Francois Gagnon Laporte
2004-12-06 18:57   ` Maarten
2004-12-06 19:25     ` Jean-Francois Gagnon Laporte
2004-12-07  9:58       ` Maarten
2004-12-07 10:05         ` Neil Bothwick
2004-12-07 15:17         ` Jean-Francois Gagnon Laporte
2004-12-07 17:01           ` Maarten
2004-12-07 17:18             ` Hans-Werner Hilse
2004-12-07 17:33             ` Maarten
2004-12-06 18:26 ` darren kirby
  -- strict thread matches above, loose matches on Subject: below --
2004-12-06 20:09 Al
2004-12-06 21:14 brettholcomb
2004-12-06 22:52 ` Bastian Balthazar Bux
2004-12-07  1:34   ` Brett I. Holcomb
2004-12-07  2:51     ` Bastian Balthazar Bux
2004-12-07  3:17       ` Brett I. Holcomb
2004-12-07  4:49       ` Nick Rout
2004-12-07  9:15     ` Neil Bothwick
2004-12-07 20:46       ` Boyd Stephen Smith Jr.
2004-12-07 12:48 brettholcomb
2004-12-07 13:40 ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox