View previous topic :: View next topic |
Author |
Message |
L1nux Tux's lil' helper
Joined: 06 Jan 2004 Posts: 143
|
Posted: Thu Jan 13, 2005 6:48 pm Post subject: After recompiling How to point to grub |
|
|
Hi there,
i configured my kernel to include tulip as Module, then
Code: |
make
make modules install
|
so how to make grub boot this configured kernel??
Thanks in advance
[/quote] |
|
Back to top |
|
|
L1nux Tux's lil' helper
Joined: 06 Jan 2004 Posts: 143
|
Posted: Thu Jan 13, 2005 6:50 pm Post subject: |
|
|
This might be the solution, right?
Code: |
Code Listing 13: Compiling the kernel
(For 2.4 kernel)
# make dep && make bzImage modules modules_install
(For 2.6 kernel)
# make && make modules_install
When the kernel has finished compiling, copy the kernel image to /boot. From here onwards we assume that the kernel you are installing is the 2.4.26 version of the gentoo-sources. Use whatever name you feel is appropriate for your choice and remember it as you will need it later on when you configure your bootloader.
Code Listing 14: Installing the kernel
# cp arch/i386/boot/bzImage /boot/kernel-2.4.26-gentoo-r9
# cp System.map /boot/System.map-2.4.26-gentoo-r9
It is also wise to copy over your kernel configuration file to /boot, just in case :)
Code Listing 15: Backing up your kernel configuration
# cp .config /boot/config-2.4.26-gentoo-r9
|
|
|
Back to top |
|
|
YopWongSapn l33t
Joined: 26 Jan 2004 Posts: 627
|
Posted: Thu Jan 13, 2005 6:59 pm Post subject: |
|
|
Unless you changed the path to your kernel (i.e. changed its name), you won't need to update grub at all (assuming you had it running before).
If you just installed grub for the first time, refer to the installation handbook.
Just a side-note, if all you did was add the tulip driver as a module, you don't even need to reboot your system. Just modprobe tulip and you're good to go. _________________ Gentoo...it's like wiping your ass with silk. Or sandpaper. |
|
Back to top |
|
|
L1nux Tux's lil' helper
Joined: 06 Jan 2004 Posts: 143
|
Posted: Thu Jan 13, 2005 7:08 pm Post subject: |
|
|
Hi there,
I updated the kernel and i didn't changed it is name, really i don't understand what you mean by change it's name.
i also configured tulip as module and i did modules-update then i tried lsmod or modprobe tulip and it is not found |
|
Back to top |
|
|
YopWongSapn l33t
Joined: 26 Jan 2004 Posts: 627
|
Posted: Thu Jan 13, 2005 7:15 pm Post subject: |
|
|
L1nux wrote: | Hi there,
I updated the kernel and i didn't changed it is name, really i don't understand what you mean by change it's name.
i also configured tulip as module and i did modules-update then i tried lsmod or modprobe tulip and it is not found |
By changing it's name, I am referring to the step after Code: | make && make modules_install | When you copy the new kernel to the /boot partition, you have the option of either giving it a different name than the one before it (leaving the old one intact), or you can overwrite it by giving it the same name. If you chose to overwrite the old kernel, you do not need to change anything in grub.
I noticed in you original post that you did Code: | make && make modules install | What you should have done (and I'm not sure whether your post was a typo) is Code: | make && make modules_install | (notice the "_")
Then you should be able to modprobe tulip without rebooting. _________________ Gentoo...it's like wiping your ass with silk. Or sandpaper. |
|
Back to top |
|
|
L1nux Tux's lil' helper
Joined: 06 Jan 2004 Posts: 143
|
Posted: Fri Jan 14, 2005 10:59 am Post subject: |
|
|
Thanks alot the problem was forgetting the (_) |
|
Back to top |
|
|
|