Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hey guys, I upgraded etch to lenny, and along with that gcc 4.1 to 4.2.
Later, I recompiled the kernel. Now, when I reboot my kernel panics because it can't insert any modules, because they were all compiled with 4.1
How can I recompile all the modules?
Thanks for your help.
Last edited by joe2748; 11-14-2007 at 09:56 PM.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 126.96.36.199, KDE 3.5.8 and KDE 4.0 beta, Plu
Doesn't make since if you upgraded to gcc4.2 and then after it was fully installed you built the kernel. Not sure but maybe the system is still 4.1 till a reboot? Would have to give this a thought to get in.
1) changed all references in sources.list to etch to lenny
2) ran apt-get update
3) ran apt dist upgrade
This downloaded a lot of stuff, and installed as expected.
4) rebooted. On reboot, there was a noticable visual difference, I assumed all was well.
Then, I decided I needed to reinstall my nvidia driver, because it wasn't being detected properly (it wasn't in etch either). When running the nvidia script, the gcc version check failed, because the current compiler was 4.2, and the kernel (it said) was compiled in 4.1 .
So, I figured I would just recompile the kernel with the new gcc and all would be well. Recompile went fine, but on reboot none of the modules will insert, it is again complaining about the compiler version.
If I use a live cd will mounting the hd and running "make modules" work? Or does the make rely on a bunch of system variables that wont be set properly if I boot into a live cd?
Please help, I worked quite a bit to get the sound card to work on this machine, I don't want to run through it all again on a fresh install of lenny.
Well, I guess it is time to take the plunge, I'm going to reinstall today, I think I will go with Gutsy though. Is there a way to install Gutsy and Lenny in the same partition? Just like you can have two kernels installed on the same partition, you just boot into one or the other?