View previous topic :: View next topic |
Author |
Message |
evilmonkeh n00b

Joined: 19 Apr 2004 Posts: 21
|
Posted: Mon Apr 19, 2004 2:46 pm Post subject: help - keep on messing up kernel |
|
|
argh
i have messed up my kernel beyond repair, but i have a few questions so that when my reinstall of gentoo is done, i dont make the same mistake!
Firstly, why is it that when i compile a new kernel, save it as a different name in /boot it sitll managed to ruin my perfectly good existing kernel? how can i stop that happeneing?
next: that loverly gentoo bootup background, somehow i lost it. how do i stop myself from loosing it? (this was when i compiled kernel)
i appreciate any help! |
|
Back to top |
|
 |
Cosmin Guru

Joined: 18 Dec 2003 Posts: 447 Location: Bucharest, Romania
|
Posted: Mon Apr 19, 2004 5:20 pm Post subject: Re: help - keep on messing up kernel |
|
|
evilmonkeh wrote: | Firstly, why is it that when i compile a new kernel, save it as a different name in /boot it sitll managed to ruin my perfectly good existing kernel? how can i stop that happeneing? |
After you emerge a new kernel, you have to change the /usr/src/linux symlink. It is created when you emerge the first kernel, but is not updated each time you emerge a new one. You have to do it yourself. the command is Code: | ln -sf /usr/src/<your_kernel_sources> /usr/src/linux | This way you will make the /usr/src/linux symlink point to your new kernel.
If you would like to recompile the same kernel with different options (but I don't think this is your case), you should change EXTRAVERSION in the Makefile found in /usr/src/linux. Of course, after making it point to your desired kernel...
evilmonkeh wrote: | next: that loverly gentoo bootup background, somehow i lost it. how do i stop myself from loosing it? (this was when i compiled kernel) | After changing the above mentioned symlink (ie /usr/src/linux) try
Now that your problems are solved (I hope!) note that every time you deal with the lernel, you have to be sure this symlink (/usr/src/linux) is pointing to the kernel you are working on. For example, you are now running a 2.4 kernel and want to test the new 2.6 kernel. Emerge a 2.6 kernel of your choice, change the symlink and emerge all the packages somehow related to kernel. As you already observed, bootsplash is one of them. If you have an Nvidia video card, you'll need to emerge nvidia-kernel for X to work. When everything is completed, reboot into your new kernel. All module dependencies were resolved thanks to that symlink. |
|
Back to top |
|
 |
evilmonkeh n00b

Joined: 19 Apr 2004 Posts: 21
|
Posted: Mon Apr 19, 2004 5:28 pm Post subject: |
|
|
thank you very much for taking the time to explain that!
i now see where my problems lay!
muchos apreciated
thanks alot,
Tom |
|
Back to top |
|
 |
|
|
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
|
|