Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
upgrading 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
steelrose
Apprentice
Apprentice


Joined: 06 May 2002
Posts: 245
Location: Cyprus

PostPosted: Sat Jun 29, 2002 4:23 pm    Post subject: upgrading kernel Reply with quote

i have a problem while upgrading from gentoo r5 kernel to r7.i go to r7 directory trying both make menuconfig and make mrproper +make menuconfig ,following the instructions in installation guide and when i reboot and type uname -r the result is that i have gentoo r5.can anybody help me to fix this?
_________________
Hey.I am new to Linux and i will ask some stupid questions sometimes so please don't get angry with me and help
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Jun 29, 2002 5:47 pm    Post subject: Reply with quote

Did you copy the kernel to /boot and set it up in grub?
Back to top
View user's profile Send private message
steelrose
Apprentice
Apprentice


Joined: 06 May 2002
Posts: 245
Location: Cyprus

PostPosted: Sat Jun 29, 2002 5:57 pm    Post subject: Reply with quote

yes i copy the kernel in boot but i didnt edit grub.i thought that grub see the change automatically.how can i edit grub?
_________________
Hey.I am new to Linux and i will ask some stupid questions sometimes so please don't get angry with me and help
Back to top
View user's profile Send private message
Jowilly
Guru
Guru


Joined: 22 Jun 2002
Posts: 319

PostPosted: Sat Jun 29, 2002 6:18 pm    Post subject: Reply with quote

Did you mount /boot before copying bzImage over ?

If /boot is not mounted you don't copy it to the boot partition, but to the /boot dir on / , so grub will not see it as it is not there.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Jun 29, 2002 7:24 pm    Post subject: Reply with quote

You need to add a new section in the file: /boot/grub/menu.lst. If your original file looks like this:

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=My example Gentoo Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/hda3

You would need to add a new stanza like this the end of the file:

title=My new kernel
root (hd0,0)
kernel /boot/<name_of_new_kernel_image> root=/dev/hda3

You can change the "default" entry to 1 for convenience in order to boot the second (new) kernel - assuming you had only one kernel available for booting before your kernel recompile.
Back to top
View user's profile Send private message
crahen2
n00b
n00b


Joined: 17 Jun 2002
Posts: 2

PostPosted: Sat Jun 29, 2002 10:24 pm    Post subject: This may seem silly Reply with quote

But what do you do so that the r7 kernel is visible to portage (or for other updated apps in general)? For me, emerege search linux only shows the v5 kernel.
Back to top
View user's profile Send private message
Jowilly
Guru
Guru


Joined: 22 Jun 2002
Posts: 319

PostPosted: Sat Jun 29, 2002 11:09 pm    Post subject: Reply with quote

emerge rsync

Also, try kportagemaster, a nice gui for kde. It automatically unmasks the ebuilds.

portagemaster should be the shell version, never tried it; does anyone have some experience with it ?
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat Jun 29, 2002 11:16 pm    Post subject: Reply with quote

Jowilly wrote:
emerge rsync

Also, try kportagemaster, a nice gui for kde. It automatically unmasks the ebuilds.

portagemaster should be the shell version, never tried it; does anyone have some experience with it ?


Actually portagemaster is a java implementation of portage, very nice tool for looking to see whats available anyway.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sun Jun 30, 2002 12:18 am    Post subject: Re: This may seem silly Reply with quote

Try "emerge -s gentoo". It shows up in sys-kernel/gentoo-sources.

[quote="crahen2"]But what do you do so that the r7 kernel is visible to portage (or for other updated apps in general)? For me, emerege search linux only shows the v5 kernel.[/quote]
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sun Jun 30, 2002 8:20 pm    Post subject: Reply with quote

Do this:

Code:

# clean rsync
emerge rsync --clean
# make sure portage is going to install r7
emerge -p gentoo-sources
# if all is ok above
emerge gentoo-sources
# change the symlink
ln -sf /usr/src/your-kernel-version /usr/src/linux

_________________
This message self destructed a long time ago.
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