Ric de France wrote:
Hi Gabriel,
On 07/02/07, Gabriel Rossetti <[EMAIL PROTECTED]> wrote:
I emerge a kernel, let's say gentoo-sources-2.6.19-r5, I create the
"linux" link, then cd inside
and compile/install it. I reboot and I get lots of errors from modules,
I do a uname -a
and notice that it still says 2.6.19-r4, i then check in the /boot
directory, and the links are correct,
then I check my grub.conf and it's correct, I then tried
gentoo-sources-2.6.20, still the same thing.
It sounds like you're doing the right thing. Could you do a:
$ ls -al /boot
$ cat /boot/grub/grub.conf
$ ls -al /usr/src
and then post the outputs to this list?
...Ric
Hi Ric,
yes, here is what you asked for :
ls -al /boot
total 12526
drwxr-xr-x 3 root root 792 Feb 6 11:45 .
drwxr-xr-x 21 root root 576 Jan 20 16:37 ..
lrwxrwxrwx 1 root root 24 Feb 6 11:45 System.map ->
System.map-2.6.20-gentoo
-rw-r--r-- 1 root root 999613 Feb 6 09:44 System.map-2.6.19-gentoo-r4
-rw-r--r-- 1 root root 999613 Feb 6 09:09 System.map-2.6.19-gentoo-r5
-rw-r--r-- 1 root root 999613 Feb 6 09:00 System.map-2.6.19-gentoo-r5.old
-rw-r--r-- 1 root root 1016626 Feb 6 11:45 System.map-2.6.20-gentoo
lrwxrwxrwx 1 root root 27 Feb 6 09:44 System.map.old ->
System.map-2.6.19-gentoo-r4
lrwxrwxrwx 1 root root 1 Jan 19 13:42 boot -> .
lrwxrwxrwx 1 root root 20 Feb 6 11:45 config -> config-2.6.20-gentoo
-rw-r--r-- 1 root root 43780 Feb 6 09:44 config-2.6.19-gentoo-r4
-rw-r--r-- 1 root root 43780 Feb 6 09:09 config-2.6.19-gentoo-r5
-rw-r--r-- 1 root root 43780 Feb 6 09:00 config-2.6.19-gentoo-r5.old
-rw-r--r-- 1 root root 44623 Feb 6 11:45 config-2.6.20-gentoo
lrwxrwxrwx 1 root root 23 Feb 6 09:44 config.old ->
config-2.6.19-gentoo-r4
drwxr-xr-x 2 root root 672 Feb 6 12:58 grub
lrwxrwxrwx 1 root root 21 Feb 6 11:45 vmlinuz ->
vmlinuz-2.6.20-gentoo
-rw-r--r-- 1 root root 2145374 Feb 6 09:44 vmlinuz-2.6.19-gentoo-r4
-rw-r--r-- 1 root root 2145431 Feb 6 09:09 vmlinuz-2.6.19-gentoo-r5
-rw-r--r-- 1 root root 2145430 Feb 6 09:00 vmlinuz-2.6.19-gentoo-r5.old
-rw-r--r-- 1 root root 2159920 Feb 6 11:45 vmlinuz-2.6.20-gentoo
lrwxrwxrwx 1 root root 24 Feb 6 09:44 vmlinuz.old ->
vmlinuz-2.6.19-gentoo-r4
-------------------------------------------------------------------------------------------------------------------------------------
cat /boot/grub/grub.conf
#
# Grub Configuration file
#
# Load the splash image
splashimage=(hd0,0)/grub/splash.xpm.gz
# Boot automatically after 30 secs.
timeout 10
# By default, boot the first entry.
default 0
# Fallback to the second entry.
fallback 1
# For booting the main version
title Gentoo - default runlevel
root (hd0,0)
kernel (hd0,0)/vmlinuz root=/dev/sda5 vga=0x318
video=vesafb:ywrap,mtrr:3,[EMAIL PROTECTED] splash=verbose
libata.atapi_enabled=1
#initrd /boot/fbsplash
# For booting the main version, wireless runlevel
title Gentoo - wireless runlevel
root (hd0,0)
kernel (hd0,0)/vmlinuz root=/dev/sda5 vga=0x318
video=vesafb:ywrap,mtrr:3,[EMAIL PROTECTED] splash=verbose
libata.atapi_enabled=1 softlevel=wireless
#kernel /boot/vmlinuz root=/dev/sda5
video=vesafb:ywrap,mtrr:2,[EMAIL PROTECTED]
splash=silent,fadein,theme:livecd-2005.1 gentoo=nodevfs apm=off acpi=on
CONSOLE=/dev/tty1 quiet softlevel=wireless
#initrd /boot/fbsplash
# For booting a fall back version
title Fall Back
root (hd0,0)
kernel /boot/vmlinuz.old root=/dev/sda5 splash=verbose gentoo=nodevfs
apm=off acpi=off
-------------------------------------------------------------------------------------------------------------------------------------
ls -al /usr/src
total 3
drwxr-xr-x 4 root root 176 Feb 6 11:29 .
drwxr-xr-x 18 root root 496 Jan 31 20:42 ..
-rw-r--r-- 1 root root 0 Aug 3 2006 .keep
lrwxrwxrwx 1 root root 19 Feb 6 11:29 linux -> linux-2.6.20-gentoo
drwxr-xr-x 20 root root 1296 Feb 6 09:44 linux-2.6.19-gentoo-r4
drwxr-xr-x 20 root root 1328 Feb 6 11:45 linux-2.6.20-gentoo
-------------------------------------------------------------------------------------------------------------------------------------
Thanks Ric!
PS
I have not changed my way of compiling / installing the kernel for at
least 4 years (since switching to 2.6 kernel series)
--
[email protected] mailing list