Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After switching guides multiple times over the past few months in kernel swaps, all of them with slightly different guides, and then using KOTD rpms from SuSE, my system is quite junked up in regards to the kernel. This leaves me with a few issues, mostly though that the booting kernel does not make the kernel source.
I have updated the kernel... well a bunch of times now. And the first few times went fine(well actually all of them did in terms of being bootable) but I appear to have started missing out on a few things after those first few times due to guides missing steps/information.
Now, a few things here, I know this can't be right, because I set the GRUB loader to the new kerne I made, 2.6.15-mm, and I get that:
Code:
uname -r
Code:
2.6.15-mm
So obviously I don't have my pointers working or something, which makes sense because I have a ton of stuff in my /usr/src now. So I could use some help cleaning it up properly and getting the pointers doing what they are supposed to do.
Now, I think I see at least one obvious issue, with the linux-obj, but no guide I saw told me how to make an obj with my newly compiled kernel. Can someone help me polish this up and add in what symlinks I need, and point out what I may be missing?
Aside fromt his, I have rechecked many guides and cannot seem to find what I am missing out on here.
I'm not even sure where to start here. Need more info:
1. 2.6.15-mm implies that you're building your own kernel using pristine sources downloaded from kernel.org or some other official kernel source mirror. If this is true, then running the "rpm -qa" command is irrelevant, because it's only going to show RPM packages that were installed, not things that were installed from a source tarball. In short, if you ran the "make" command at any time to install *any* software, that software will not be listed in "rpm -qa" output.
2. Symlinks under /usr/src have no bearing on whether or not your kernel will boot. It's there for your convenience when building and installing a new kernel from source. The symlinks under /boot are the ones that are important. Paste in a long listing of that directory and see where you are.
3. Paste your grub configuration file, in its entirety, into a post. Just because grub knows about the kernel doesn't mean its going to boot the kernel.
4. BEFORE YOU DO ANY OF THIS, MAKE DAMNED SURE YOU'VE READ THE README FILE THAT COMES WITH THE KERNEL, OTHERWISE YOU WILL MAKE BONEHEADED MISTAKES. Believe me, I know. I've been using Linux for 8 years, and even after 8 years, you still have to read the readme file. I promise. It helps. The fact that it takes a long time and is very detailed is the reason most people just use whatever kernel comes with their distro.... well.... that and most new users don't even have a clue as to how they would go about measuring the difference in performance between a kernel built from scratch and the stock one supplied by the distribution.
I will switch over to my other computer(the linux box) to give you the paste and detailed info. Where would I get the grub info file? I used the SuSE bootloader configuration utility in the kmenu configuration to edit the grub semi-manually.
I will be blunt here. The first few times, I was upgrading to know I could, so I paid a lot more attention to make sure I didn't screw anything up. After that I tried once to go from memory, which didn't work out so well, and then I was just upgrading to try and get ATI drivers to work once I broke all the symlinks and who knows what else such that the wrong source is with the wrong booted kernel, etc. Then I installed the rpms, which worked once, but not when I wanted to get the new 2.6.15 for reasons of NTFS write testing.
Okay, from there, I will get 2 and 3 when I find the grub loader configuration, and I will certainly do #4 and make my own damned install guide so I don't find these semi complete and outdated ones.
Grub should be in /boot/grub/grub.conf - or maybe /boot/grub/menu.lst, depending on the whim of the distro creator. "slocate" on both should give you an idea on where to look.
As for a guide, a 2.6 based one would be more useful. I saw a couple in the "tutorials" button on the banner above - check them and see if you can make one fit.
They're a bit distro specific, but you should be able to decide on one, and use that in future - at least you'll have consistency.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.