Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reinstalling kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
cat_in_hat
n00b
n00b


Joined: 04 Jun 2003
Posts: 16

PostPosted: Sat Jun 07, 2003 4:57 pm    Post subject: reinstalling kernel Reply with quote

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
View user's profile Send private message
edgepak
n00b
n00b


Joined: 07 Jun 2003
Posts: 11
Location: freiburg, germany

PostPosted: Sat Jun 07, 2003 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Me
n00b
n00b


Joined: 12 Apr 2003
Posts: 71
Location: Earth

PostPosted: Sat Jun 07, 2003 5:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
tphamm
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2003
Posts: 112
Location: Saskatoon, SK, CA

PostPosted: Sat Jun 07, 2003 5:26 pm    Post subject: Re: reinstalling kernel Reply with quote

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
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Sat Jun 07, 2003 5:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum