View previous topic :: View next topic |
Author |
Message |
Fatsug n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jun 2007 Posts: 3 Location: Stockholm
|
Posted: Sun May 30, 2010 7:19 am Post subject: GRUB doesn't boot my new kernel |
|
|
I have upgraded my kernel from 2.6.30-r4 to 2.6.32-r7.
I have kept the old kernel in /boot/, just in case. Both kernel boots. Grub display both kernel titles from mbr. The old kernel works, but when I select the new kernel 2.6.32-gentoo-r7, I get
Code: |
Error 15: File not found
Press any key to continue...
|
This is my grub.config
Code: |
default 0
timeout 15
title Gentoo Linux 2.6.32-gentoo-r7
root (hd0,1)
kernel /boot/kernel-2.6.32-gentoo-r7 root=/dev/sda5
title Gentoo Linux 2.6.30-r4
root (hd0,1)
kernel /boot/kernel-2.6.30-r4 root=/dev/sda5
|
On the other hand, when I hit c and type kernel /boot/kernel-2.6.32-gentoo-r7 root=/dev/sda5 in by hand, the new kernel boots.
I just don't get it?
My boot partition /boot /dev/sda2 and root /dev/sda5
Thank you in advance for helping me .
Gustaf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Logicien Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/42705619553e95f9decf93.jpg)
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Sun May 30, 2010 9:19 am Post subject: |
|
|
Hi,
before typing /boot/kernel-2.6.32-gentoo-r7 by hand, type root to see what is the root partition in Grub. If it differ of (hd0,1), it can be (hd0,4). Is it possible that your new kernel have been written in the /boot directory whitout your /dev/sda2 partition being mounted there? What you type by hand is identical of what I see in your menu.lst. Your using Grub legacy. _________________ Paul |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cach0rr0 Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/14936637654ee19d6630f96.gif)
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Sun May 30, 2010 9:27 am Post subject: |
|
|
you've mistyped the kernel name in grub.conf, or, the new kernel isn't copied to where you've told grub to look
this error means just that; you are pointing grub to a file at a path in which it doesn't exist _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fatsug n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 07 Jun 2007 Posts: 3 Location: Stockholm
|
Posted: Mon May 31, 2010 6:33 am Post subject: |
|
|
Thank you for answering.
Paul, you are right. I have to look over my mounting scheme, I mount my /boot at hd0,4 and not hdo,1 as I thought.
Gustaf |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|