Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -u gentoo-sources
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
BertG
n00b
n00b


Joined: 20 May 2004
Posts: 6

PostPosted: Sat Jun 05, 2004 10:58 am    Post subject: emerge -u gentoo-sources Reply with quote

WHen i did the command
emerge -up world
i saw that gentoo-sources could be updated too version gentoo-sources-2.4.25-r3

And now i have some questions...
Is this my new kernel? If yes...
WHat should i do now?
Update my boot-loader?
Recompile my nnvidea modules...

pleas help me out :)

My "previous" version was: 2.4.25-r2
Back to top
View user's profile Send private message
The_Bell
Apprentice
Apprentice


Joined: 01 Jul 2002
Posts: 157

PostPosted: Sat Jun 05, 2004 11:07 am    Post subject: Reply with quote

This will only put the new kernel tree in /usr/src

Then you have to recompile the new kernel if you want, copy the bzImage to the /boot partition and all those things. If you are using nvidia and alsa modules you should reinstall them after the make modules_install command.

And remember to update the symlink /usr/src/linux to point to the new kernel tree.
_________________
Live long and prosper
Back to top
View user's profile Send private message
PingEnt
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 89
Location: Norway

PostPosted: Sat Jun 05, 2004 11:18 am    Post subject: Reply with quote

Yes, this is your new kernel, but you do not need to update to it even if you have emerged it. It is, however, recommended that you do.

If you wish to change to the new kernel, do this:
1. rm /usr/src/linux

2. ln -s /usr/src/linux-2.4.25-gentoo-r3 /usr/src/linux
(please note about step 2: I am not exactly sure what the folder for the gentoo-sources2.4.25-r3 is, but you will probably find something similar to the one listed)

3. cp /usr/src/linux-2.4.25-gentoo-r2/.config /usr/src/linux/.config-old

4. cd /usr/src/linux

5. make menuconfig

Once inside the config screen, go to the bottom of the options and select:

"Load an Alternate Config file"

This will give you a prompt for a file, write .config-old .

Exit and save.

(still inside /usr/src/linux)

6. make dep && make bzImage modules modules_install

7. mount /boot

8. cp arch/i386/boot/bzImage /boot/bzImage (or whatever other name you have specified your bootloader to load your kernel from)

9. IF you run lilo do a /sbin/lilo

10. Go to a Virtual Terminal (Ctrl+Alt+Fn , where n is a number between 1 and 6).

11. stop X: /etc/init.d/xdm stop

12. Recompile the nvidia kernel: emerge nvidia-kernel

13. reboot
_________________
Thanks for reading. This has been a PingEnt presentation.


Last edited by PingEnt on Sat Jun 05, 2004 12:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
BertG
n00b
n00b


Joined: 20 May 2004
Posts: 6

PostPosted: Sat Jun 05, 2004 12:26 pm    Post subject: Reply with quote

thx, that really helped a lot :)
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