From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KFHfA-0002ae-Dr for garchives@archives.gentoo.org; Sat, 05 Jul 2008 23:59:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79D6FE051A; Sat, 5 Jul 2008 23:59:30 +0000 (UTC) Received: from fmailhost04.isp.att.net (fmailhost04.isp.att.net [207.115.11.54]) by pigeon.gentoo.org (Postfix) with ESMTP id 484CDE051A for ; Sat, 5 Jul 2008 23:59:30 +0000 (UTC) Received: from [209.215.56.188] (host-209-215-56-188.jan.bellsouth.net[209.215.56.188]) by isp.att.net (frfwmhc04) with ESMTP id <20080705235927H04009b55je>; Sat, 5 Jul 2008 23:59:28 +0000 X-Originating-IP: [209.215.56.188] Message-ID: <48700AD9.2010306@bellsouth.net> Date: Sat, 05 Jul 2008 18:59:21 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080608 SeaMonkey/1.1.9 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] grub boot problem References: <200807051904.08373.gentoo@matthewlee.org> <200807060015.19767.michaelkintzios@gmail.com> <200807051938.23513.gentoo@matthewlee.org> <487007FE.8090805@genestate.com> In-Reply-To: <487007FE.8090805@genestate.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: f6fd9c9d-dd8a-4195-844f-3ba19e869e41 X-Archives-Hash: 964df5a4b4e1e81e56b0396c5850c049 Matt Harrison wrote: > Matthew R. Lee wrote: >> On Saturday 05 July 2008 19:15:05 Mick wrote: >>> On Sunday 06 July 2008, Matthew R. Lee wrote: >>>> I've just compiled a new kernel, but when I reboot grub will not >>>> load the >>>> new kernel. I get error 15 (file not found). But the file is there. >>>> Yes grub is install properly and yes the boot partition was mounted >>>> when >>>> I copied the new kernel across and changed the grub.conf. What's >>>> really >>>> confusing me is there's no syntax error in the grub.conf that I can >>>> see, >>>> and the first kernel on the list boots fine. Anyone got any cluse >>>> as to >>>> why grub can't see the second kernel? >>>> >>>> [grub.conf] >>>> default 0 >>>> >>>> timeout 30 >>>> >>>> splashimage=(hd0,0)/boot/grub/splash.xpm.gz >>>> >>>> title=Gentoo 2.6.22-r2 >>>> >>>> root (hd0,0) >>>> kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 >>>> video=vesafb:mtrr,ywrap,1280x800-24@70 >>>> >>>> title=Gentoo 2.6.24-r8 >>>> >>>> root (hd0,0) >>>> kernel /boot/kernel-2.6.24-r8 root=/dev/sda3 >>>> video=vesafb:mtrr,ywrap,1280x800-24@70 >>> Could you please show us: >>> >>> $ mount >>> >>> and >>> >>> # ls -la /boot >> >> /dev/sda3 on / type ext3 (rw,noatime) >> proc on /proc type proc (rw) >> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) >> udev on /dev type tmpfs (rw,nosuid) >> devpts on /dev/pts type devpts (rw,nosuid,noexec) >> shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) >> usbfs on /proc/bus/usb type usbfs >> (rw,noexec,nosuid,devmode=0664,devgid=85) >> /dev/sda1 on /boot type ext2 (rw) >> >> total 17256 >> drwxr-xr-x 5 root root 1024 Jul 5 18:28 . >> drwxr-xr-x 21 root root 4096 Dec 29 2007 .. >> drwxr-xr-x 4 root root 1024 Aug 16 2007 boot >> -rw-r--r-- 1 root root 37395 Dec 25 2006 config-2.6.18-r5 >> -rw-r--r-- 1 root root 35286 Dec 28 2006 config-2.6.18-r6 >> -rw-r--r-- 1 root root 29907 Jul 19 2007 config-2.6.21-r4 >> -rw-r--r-- 1 root root 39449 Aug 4 2007 config-2.6.22-r2 >> -rw-r--r-- 1 root root 44583 Jul 5 18:48 config-2.6.24-r8 >> -rw-r--r-- 1 root root 44541 Jun 23 18:25 config-2.6.25-r5 >> drwxr-xr-x 2 root root 1024 Jun 23 17:02 grub >> -rw-r--r-- 1 root root 486761 Oct 7 2006 initrd.img-2.6.17-sata >> -rw-r--r-- 1 root root 1637016 Dec 25 2006 kernel-2.6.18-r5 >> -rw-r--r-- 1 root root 1606118 Dec 28 2006 kernel-2.6.18-r6 >> -rw-r--r-- 1 root root 1916280 Jul 19 2007 kernel-2.6.21-r4 >> -rw-r--r-- 1 root root 1740624 Aug 4 2007 kernel-2.6.22-r2 >> -rw-r--r-- 1 root root 1847000 Jul 5 18:48 kernel-2.6.24-r8 >> -rw-r--r-- 1 root root 2952220 Jun 23 18:24 kernel-2.6.25-r5 >> drwx------ 2 root root 12288 Dec 27 2007 lost+found >> -rw-r--r-- 1 root root 738926 Dec 25 2006 system.map-2.6.18-r5 >> -rw-r--r-- 1 root root 712206 Dec 28 2006 system.map-2.6.18-r6 >> -rw-r--r-- 1 root root 813409 Jul 19 2007 system.map-2.6.21-r4 >> -rw-r--r-- 1 root root 810321 Aug 4 2007 system.map-2.6.22-r2 >> -rw-r--r-- 1 root root 870491 Jul 5 18:48 system.map-2.6.24-r8 >> -rw-r--r-- 1 root root 1183038 Jun 23 18:25 system.map-2.6.25-r5 >> >> I should probably give /boot a clean, but could this be the problem? >> > > According to your grub.conf your default is the top entry, but the > kernel image for that doesn't exist in your boot partition. > > kernel /boot/kernel-2.6.22-r2-2 root=/dev/sda3 > > should probably be > > kernel /boot/kernel-2.6.22-r2 root=/dev/sda3 > > Thats if 2.6.22-r2 is the kernel your trying to boot. > > HTH > > Matt Hi, Another thing you can try is tab completion in the grub menu. Just hit the "e" key twice and let grub help you with what kernels it can see. Hope that helps. Dale :-) :-) -- gentoo-user@lists.gentoo.org mailing list