View previous topic :: View next topic |
Author |
Message |
cat_in_hat n00b
Joined: 04 Jun 2003 Posts: 16
|
Posted: Sat Jun 07, 2003 4:57 pm Post subject: reinstalling kernel |
|
|
well... i finished installing gentoo today.
now i found out that i forgot to install a module.
now i want to know how do i reinstall my kernel (meaning, i want to know if just going to /etc/src/linux and doing make mrproper, make config, make dep, make clean... etc. and copying the new bzImage, will screw anything?) |
|
Back to top |
|
|
edgepak n00b
Joined: 07 Jun 2003 Posts: 11 Location: freiburg, germany
|
Posted: Sat Jun 07, 2003 5:19 pm Post subject: |
|
|
No, it will not break anything.
It is common to need/want to change a kernel later. As long as you don't remove anything you need, you will not hurt anything. |
|
Back to top |
|
|
Me n00b
Joined: 12 Apr 2003 Posts: 71 Location: Earth
|
Posted: Sat Jun 07, 2003 5:22 pm Post subject: |
|
|
If you use LILO as a bootloader, you will need to do /sbin/lilo after the copying. You do not need to do that for GRUB.
EDIT: And make sure to do "mount /boot" before copying! |
|
Back to top |
|
|
tphamm Tux's lil' helper
Joined: 01 Jun 2003 Posts: 112 Location: Saskatoon, SK, CA
|
Posted: Sat Jun 07, 2003 5:26 pm Post subject: Re: reinstalling kernel |
|
|
cat_in_hat wrote: | well... i finished installing gentoo today.
now i found out that i forgot to install a module.
now i want to know how do i reinstall my kernel (meaning, i want to know if just going to /etc/src/linux and doing make mrproper, make config, make dep, make clean... etc. and copying the new bzImage, will screw anything?) |
Everything should be OK, though you might want to give your new kernel a different name (edit the top-level Makefile and change EXTRAVERSION variable, and don't copy bzImage over your existing one) so that you can easily fall back to the old kernel in case something doesn't work.
If it's a single module you forgot to install, quite often it's possible to just compile the missing module and install it into your existing /lib/modules directory. _________________ "This is a UNIX system! I know this!" -- little girl from dinasaur park |
|
Back to top |
|
|
li1_getoo l33t
Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Sat Jun 07, 2003 5:46 pm Post subject: |
|
|
I use this alot , since u get tired of clicking everythin back up and add whatever module or [*] u wanna use
Code: | # cd /usr/src/linux
# cp .config ~/
# make mrproper
# cp ~/.config .
# make menuconfig |
|
|
Back to top |
|
|
|