View previous topic :: View next topic |
Author |
Message |
N715DP n00b
Joined: 04 Dec 2004 Posts: 17
|
Posted: Sun Dec 05, 2004 10:00 pm Post subject: emerge update world gave me a new kernel... now what? |
|
|
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 |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Sun Dec 05, 2004 10:21 pm Post subject: |
|
|
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 |
|
|
madbiker Guru
Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Sun Dec 05, 2004 10:27 pm Post subject: |
|
|
Don't forget to make sure the /usr/src/linux symlink points to your new kernel as well. |
|
Back to top |
|
|
N715DP n00b
Joined: 04 Dec 2004 Posts: 17
|
Posted: Sun Dec 05, 2004 10:49 pm Post subject: |
|
|
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 |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Sun Dec 05, 2004 10:53 pm Post subject: |
|
|
ZzzZzz gnite ... _________________ linux: #232767 |
|
Back to top |
|
|
N715DP n00b
Joined: 04 Dec 2004 Posts: 17
|
Posted: Sun Dec 05, 2004 10:56 pm Post subject: |
|
|
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 |
|
|
N715DP n00b
Joined: 04 Dec 2004 Posts: 17
|
Posted: Sun Dec 05, 2004 11:06 pm Post subject: |
|
|
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 |
|
|
BlackEdder Advocate
Joined: 26 Apr 2004 Posts: 2588 Location: Dutch enclave in Egham, UK
|
Posted: Sun Dec 05, 2004 11:10 pm Post subject: |
|
|
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 |
|
|
N715DP n00b
Joined: 04 Dec 2004 Posts: 17
|
Posted: Sun Dec 05, 2004 11:53 pm Post subject: |
|
|
thanks for all the help guys, currently in the new kernel and working like a champ. |
|
Back to top |
|
|
|