1 |
On Saturday 05 July 2008 19:15:05 Mick wrote: |
2 |
> On Sunday 06 July 2008, Matthew R. Lee wrote: |
3 |
> > I've just compiled a new kernel, but when I reboot grub will not load the |
4 |
> > new kernel. I get error 15 (file not found). But the file is there. |
5 |
> > Yes grub is install properly and yes the boot partition was mounted when |
6 |
> > I copied the new kernel across and changed the grub.conf. What's really |
7 |
> > confusing me is there's no syntax error in the grub.conf that I can see, |
8 |
> > and the first kernel on the list boots fine. Anyone got any cluse as to |
9 |
> > why grub can't see the second kernel? |
10 |
> > |
11 |
> > [grub.conf] |
12 |
> > default 0 |
13 |
> > |
14 |
> > timeout 30 |
15 |
> > |
16 |
> > splashimage=(hd0,0)/boot/grub/splash.xpm.gz |
17 |
> > |
18 |
> > title=Gentoo 2.6.22-r2 |
19 |
> > |
20 |
> > root (hd0,0) |
21 |
> > kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 |
22 |
> > video=vesafb:mtrr,ywrap,1280x800-24@70 |
23 |
> > |
24 |
> > title=Gentoo 2.6.24-r8 |
25 |
> > |
26 |
> > root (hd0,0) |
27 |
> > kernel /boot/kernel-2.6.24-r8 root=/dev/sda3 |
28 |
> > video=vesafb:mtrr,ywrap,1280x800-24@70 |
29 |
> |
30 |
> Could you please show us: |
31 |
> |
32 |
> $ mount |
33 |
> |
34 |
> and |
35 |
> |
36 |
> # ls -la /boot |
37 |
|
38 |
/dev/sda3 on / type ext3 (rw,noatime) |
39 |
proc on /proc type proc (rw) |
40 |
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) |
41 |
udev on /dev type tmpfs (rw,nosuid) |
42 |
devpts on /dev/pts type devpts (rw,nosuid,noexec) |
43 |
shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) |
44 |
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) |
45 |
/dev/sda1 on /boot type ext2 (rw) |
46 |
|
47 |
total 17256 |
48 |
drwxr-xr-x 5 root root 1024 Jul 5 18:28 . |
49 |
drwxr-xr-x 21 root root 4096 Dec 29 2007 .. |
50 |
drwxr-xr-x 4 root root 1024 Aug 16 2007 boot |
51 |
-rw-r--r-- 1 root root 37395 Dec 25 2006 config-2.6.18-r5 |
52 |
-rw-r--r-- 1 root root 35286 Dec 28 2006 config-2.6.18-r6 |
53 |
-rw-r--r-- 1 root root 29907 Jul 19 2007 config-2.6.21-r4 |
54 |
-rw-r--r-- 1 root root 39449 Aug 4 2007 config-2.6.22-r2 |
55 |
-rw-r--r-- 1 root root 44583 Jul 5 18:48 config-2.6.24-r8 |
56 |
-rw-r--r-- 1 root root 44541 Jun 23 18:25 config-2.6.25-r5 |
57 |
drwxr-xr-x 2 root root 1024 Jun 23 17:02 grub |
58 |
-rw-r--r-- 1 root root 486761 Oct 7 2006 initrd.img-2.6.17-sata |
59 |
-rw-r--r-- 1 root root 1637016 Dec 25 2006 kernel-2.6.18-r5 |
60 |
-rw-r--r-- 1 root root 1606118 Dec 28 2006 kernel-2.6.18-r6 |
61 |
-rw-r--r-- 1 root root 1916280 Jul 19 2007 kernel-2.6.21-r4 |
62 |
-rw-r--r-- 1 root root 1740624 Aug 4 2007 kernel-2.6.22-r2 |
63 |
-rw-r--r-- 1 root root 1847000 Jul 5 18:48 kernel-2.6.24-r8 |
64 |
-rw-r--r-- 1 root root 2952220 Jun 23 18:24 kernel-2.6.25-r5 |
65 |
drwx------ 2 root root 12288 Dec 27 2007 lost+found |
66 |
-rw-r--r-- 1 root root 738926 Dec 25 2006 system.map-2.6.18-r5 |
67 |
-rw-r--r-- 1 root root 712206 Dec 28 2006 system.map-2.6.18-r6 |
68 |
-rw-r--r-- 1 root root 813409 Jul 19 2007 system.map-2.6.21-r4 |
69 |
-rw-r--r-- 1 root root 810321 Aug 4 2007 system.map-2.6.22-r2 |
70 |
-rw-r--r-- 1 root root 870491 Jul 5 18:48 system.map-2.6.24-r8 |
71 |
-rw-r--r-- 1 root root 1183038 Jun 23 18:25 system.map-2.6.25-r5 |
72 |
|
73 |
I should probably give /boot a clean, but could this be the problem? |
74 |
|
75 |
-- |
76 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
77 |
Dr. Matthew R. Lee |
78 |
Instituto Biologia Marina 'Jurgen Winter' |
79 |
Universidad Austral de Chile |
80 |
Campus Isla Teja |
81 |
Valdivia |
82 |
|
83 |
matt@××××××××××.org |
84 |
|
85 |
URL: meiochile.matthewlee.org |
86 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
87 |
-- |
88 |
gentoo-user@l.g.o mailing list |