View Single Post

   
  #5 (permalink)  
Old 02-21-2008, 06:28 AM
Martin Gramatke
 
Posts: n/a
Default Re: Problems when compiling linux-wlan-ng on kernel 2.6.0test8 (also posted in mailing list)

Matata wrote:

> Can you explain me how I can also have 2 gentoo kernels without loosing
> any modules or what so ever?


Each version has it's own modules directory, have a look into /lib/modules.
So there is no conflict.
Maybe you need different modules to be auto-loaded at startup. Therefore
/etc/modules.autoload is a link to /etc/modules.autoload.d/kernel-X. You
should change it, before booting the other kernel. But probably you can
make the kernel configurations that similar so you don't need different
modules.autoload.
You have to copy both kernels into /boot partition, of course with different
names, e.g. bzImage-2.6 and bzImage-2.4.
I use grub as boot manager, which has a easy to use configuration file. Be
aware of grub's drive naming convention, e.g. hd0,0 means hda,1. Just enter
these filenames at the right place and it is done. This is well explained
in gentoo's installation guide. I am sure there is also a description for
lilo.

mg

Reply With Quote