Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge update world gave me a new kernel... now what?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
N715DP
n00b
n00b


Joined: 04 Dec 2004
Posts: 17

PostPosted: Sun Dec 05, 2004 10:00 pm    Post subject: emerge update world gave me a new kernel... now what? Reply with quote

Hello all, sorry if this has been covered before, if it has, a pointer to the previous post would be greatly appreciated.

I did a world update after getting Gentoo-2.6.9-r1 up and running and I noticed that it gave me a new kernel of Gentoo-2.6.9-r9.

How do I go about setting up for the new kernel? Is it already compiled and ready to go based on the make menuconfig that I did when installing the -r1 kernel?
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Sun Dec 05, 2004 10:21 pm    Post subject: Reply with quote

Hi,
if you emerged the kernel -r9 then it should be in /usr/src/
you can copy the .config from your old kernel, gentoo-2.6.9-r1/.config and move it over the new directory. like so:
As root:
cp /usr/src/linux/.config /usr/src/Gentoo-2.6.9-r9/.config

then change directory to the new kernel and type "make oldconfig"
...it will prompt you for the new options. its safe to say N.

type: make && make modules_install

mount /boot
mv arch/i386/boot/bzImage /boot/gentoo-2.6.9-r9
( moves the kernel to the boot partition )

edit the symlink from linux -> gentoo-2.6.9-r9

edit your boot loader and your set to reboot.

You should read some docs how to compile a kernel :)
_________________
linux: #232767


Last edited by ikaro on Mon Dec 06, 2004 7:03 am; edited 1 time in total
Back to top
View user's profile Send private message
madbiker
Guru
Guru


Joined: 12 Oct 2003
Posts: 439
Location: Victoria, BC, Canada

PostPosted: Sun Dec 05, 2004 10:27 pm    Post subject: Reply with quote

Don't forget to make sure the /usr/src/linux symlink points to your new kernel as well.
Back to top
View user's profile Send private message
N715DP
n00b
n00b


Joined: 04 Dec 2004
Posts: 17

PostPosted: Sun Dec 05, 2004 10:49 pm    Post subject: Reply with quote

Thanks for the info, I'll give it a shot now.

I did read through everythig I could find (I still say Gentoo documentation kicks major ***) but I wanted to check with someone in pseudo-real-time to make sure I didn't miss anything (like I know I would have missed the sym-link).

I'll post back with the results, thanks again!
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Sun Dec 05, 2004 10:53 pm    Post subject: Reply with quote

ZzzZzz gnite ... 8O
_________________
linux: #232767
Back to top
View user's profile Send private message
N715DP
n00b
n00b


Joined: 04 Dec 2004
Posts: 17

PostPosted: Sun Dec 05, 2004 10:56 pm    Post subject: Reply with quote

hmmm... there is no bzImage...

/usr/src/linux-2.6.9-gentoo-r9/arch/i386/boot/

root@N715DP boot # ls -la
total 108
drwxr-xr-x 4 root root 4096 Dec 5 03:33 .
drwxr-xr-x 16 root root 4096 Dec 5 03:33 ..
-rw-r--r-- 1 root root 3744 Dec 5 03:33 Makefile
-rw-r--r-- 1 root root 2157 Dec 5 03:33 bootsect.S
drwxr-xr-x 2 root root 4096 Dec 5 03:33 compressed
-rw-r--r-- 1 root root 5200 Dec 5 03:33 edd.S
-rw-r--r-- 1 root root 974 Dec 5 03:33 install.sh
-rw-r--r-- 1 root root 330 Dec 5 03:33 mtools.conf.in
-rw-r--r-- 1 root root 26031 Dec 5 03:33 setup.S
drwxr-xr-x 2 root root 4096 Dec 5 03:33 tools
-rw-r--r-- 1 root root 40560 Dec 5 03:33 video.S
root@N715DP boot #


Thoughts?
Back to top
View user's profile Send private message
N715DP
n00b
n00b


Joined: 04 Dec 2004
Posts: 17

PostPosted: Sun Dec 05, 2004 11:06 pm    Post subject: Reply with quote

Think I got it...

had to change the symlink and then do make && make modules_install (which is going now)... hope this works.
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Sun Dec 05, 2004 11:10 pm    Post subject: Reply with quote

NOTE: if everything works for you it might not be needed to install the new kernel. I tend to keep fairly up to date (upgrade the kernel once a month..), but can't be bothered to use a new one everyime it's released :)
Back to top
View user's profile Send private message
N715DP
n00b
n00b


Joined: 04 Dec 2004
Posts: 17

PostPosted: Sun Dec 05, 2004 11:53 pm    Post subject: Reply with quote

thanks for all the help guys, currently in the new kernel and working like a champ.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things 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