Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel Image Location
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
chiefmonkey
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2004
Posts: 82

PostPosted: Sun Jan 21, 2007 9:51 pm    Post subject: Kernel Image Location Reply with quote

Hi,
I am new to Gentoo, having moved over from Ubuntu and I am having a strange problem with the location of the kernel image.

This is a copy of a section from grub

--
title=Gentoo Linux 2.6.18-r6
# Partition where the kernel image (or operating system) is located
root (hd1,0)
kernel /boot/kernel-2.6.18-gentoo-r6 root=/dev/sdb3

title=Gentoo Linux 2.6.18-r6 (new)
# Partition where the kernel image (or operating system) is located
root (hd1,0)
kernel /boot/new-bzImage root=/dev/sdb3

--

Now if I select the first of those options it boots without any problem, if I select the secong (new) it says "Error 15 File not found"

When i log into gentoo and go to /boot it only contains "new-BzImage" but NOT "kernel-2.16.18-gentoo-r6"

So I am unsure exactly where it is, and why when I use

cp /arch/x86_64/boot/bzImage to /boot it doesn't find it.

George
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Jan 21, 2007 9:57 pm    Post subject: Reply with quote

Well, why not just use "make install" and let it rename the old kernel for you with the .old extension, and automatically update the vmlinuz symlink, which you can then use in grub. Then make a second entry using vmlinuz.old for the kernel so you can fallback on the last good kernel.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
chiefmonkey
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2004
Posts: 82

PostPosted: Sun Jan 21, 2007 10:00 pm    Post subject: Reply with quote

Does it automatically rename the kernel to have the suffix .old. Given that the original is not called bzImage?

George
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4560
Location: Saint Amant, Acadiana

PostPosted: Sun Jan 21, 2007 10:09 pm    Post subject: Reply with quote

Mounting /boot before working there might prove a good idea too.
Back to top
View user's profile Send private message
chiefmonkey
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2004
Posts: 82

PostPosted: Sun Jan 21, 2007 10:15 pm    Post subject: Reply with quote

Jaglover wrote:
Mounting /boot before working there might prove a good idea too.


Um, that would be it then. Thanks for the help guys. :oops:

George
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Jan 21, 2007 10:29 pm    Post subject: Reply with quote

Jaglover wrote:
Mounting /boot before working there might prove a good idea too.


Ok, that was funny. Good thing one of us noticed the obvious.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
nixnut
Administrator
Administrator


Joined: 09 Apr 2004
Posts: 10973
Location: the dutch mountains

PostPosted: Mon Jan 22, 2007 6:36 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
See https://forums.gentoo.org/viewtopic-t-497930-highlight-.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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