Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GRUB doesn't boot my new kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Fatsug
n00b
n00b


Joined: 07 Jun 2007
Posts: 3
Location: Stockholm

PostPosted: Sun May 30, 2010 7:19 am    Post subject: GRUB doesn't boot my new kernel Reply with quote

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
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Sun May 30, 2010 9:19 am    Post subject: Reply with quote

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
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Sun May 30, 2010 9:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Fatsug
n00b
n00b


Joined: 07 Jun 2007
Posts: 3
Location: Stockholm

PostPosted: Mon May 31, 2010 6:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
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