MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
what commands do i do (and what order) to compile a new kernel in mdk 10 kernel 2.6.x???
ive already read 2 articles, one from LQ, and one from techTV's website from Chris Di'Bona. they both tell me to do two different things. i tried the one from linuxQuestions, and it compiles and installs. but when i reboot, i boot into my custom kernel, and it gives me the error (after Lilo boots) "kernel panic: try passing a init= option to the kernel" and it has also modified my default mandrake kernel, making my system unbootable. ive ficed it now, but i want to recompile another kernel to get better ACPI support, and i dont want to mess it up this time.
i would do more google searching, but ive found too many articles that tell me to do different things. im confused.
i did this: (i think this is what i did, i may be wrong)
I generally use this one and it works fine as a guide. Unfortunately, the options in Lilo both seem to refer to the new kernel (so if I make a mistake, which I've done plenty of times, I don't have the old kernel to go back to).
I think you basically need to keep a copy of your old kernel (kernel image?) before recompiling it (or compiling a new one) and make sure there is a reference to it in your lilo.conf (/etc/lilo.conf). I'm not actually too sure the best way of doing this (I find it slightly confusing that there are so many differing ways of achieving the same thing )
There should also be an interesting readme in /usr/src/linux which helps to explain things a little bit. This is probably what you need to do (from the readme):
If you boot Linux from the hard drive, chances are you use LILO which
uses the kernel image as specified in the file /etc/lilo.conf. The
kernel image file is usually /vmlinuz, /boot/vmlinuz, /bzImage or
/boot/bzImage. To use the new kernel, save a copy of the old image
and copy the new image over the old one. Then, you MUST RERUN LILO
to update the loading map!! If you don't, you won't be able to boot
the new kernel image.
Reinstalling LILO is usually a matter of running /sbin/lilo.
You may wish to edit /etc/lilo.conf to specify an entry for your
old kernel image (say, /vmlinux.old) in case the new one does not
work. See the LILO docs for more information.
i used mandrake control center to point it to the default "initrd.img", i had that error, so i used a rescue cd and changed it to "initrd-2.6.4mdkcustom.img", i tried all the other variations of initrd, and none of them worked.
ooo, i had that problem. with kernel 2.6.0, y network or sounds didnt work, but for some reason, it works with 2.6.4 kernel on mandrake 10. you probably just have to wait until your next distro version is released.
well, i did it again. i get the same problem. i did
and i get the "kernel panic, no init found, try passing init= to the kernel" same darn thing, and no i cant boot my system. this is imperative that i get a custom kernel, because the stock kernel is having heat issues with my CPU, and it is constantly overheating. i can barely compile the kernel withouth it being on the verge of melting my case (laptop).
what else can i do? i think "make install" makes an initrd automatically, and configures LILO.
just spent all last night recompiling and installing 5 kernels and initrd files, and nothing has worked. i even tried the default initrd from mdk10 and it doesnt work either. somehting isnt right here.