Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
I have built kernel version 3.2.13, The vmlinux image is ready to boot. According to the book i am referring, the image is to be added to "menu.lst" file to make known to the grub loader a new kernel image is present. The problem is I am not able to find menu.lst in the specified directory which is /boot/grub/menu.lst.
there is no such file. Kindly help me boot it. Thanks...
We need to know which distribution you are using to help you here. The distribution is essential information that should be mentioned in any thread you open. Most likely your distribution is simply not using the grub bootloader, but the grub2 or lilo bootloader.
This worked perfectly..
I am getting the option to choose the new kernel, But after i select it, its just the black screen. And its getting stuck there. I am not able to see nothing. Is it a configuration issue? Also, if i want to undo changes to grub, that is i want to delete the new entry and make it like before. I have windows 7 and sabayon dual booted, I want to see only those two. How to do it?..Thanks for your time.
I am getting the option to choose the new kernel, But after i select it, its just the black screen. And its getting stuck there. I am not able to see nothing. Is it a configuration issue?
Also, if i want to undo changes to grub, that is i want to delete the new entry and make it like before. I have windows 7 and sabayon dual booted, I want to see only those two. How to do it?..Thanks for your time.
Just remove the new kernel and run the command again.
Alright now i have a list of doubts,
If i change the configuration, Do i have to run make again?
If yes, will the changes be over written in that image?
And do i have to run grub-mkconfig command again to enter the changed image in the grub-loader?
Okay assuming the changes will be overwritten, I ran the following commands under root.
$ make defconfig
$ make install
$ grub-mkconfig /boot/grub/grub.cfg
The image was detected as "found image kernel-3.2.13/", I rebooted, I got the image, but the moment i select it, It says "loading initial ramdisk" and a blank screen appears and there it stops completely..! Please help me start. Thanks.
For every new kernel image you make that does not have the drivers for your disk controller and the used filesystem compiled into the kernel (not as module) you have to generate an initial RAM-disk (initrd). On Slackware we do this with the mkinitrd, but I don't know if this tool is available for Gentoo/Sabayon.
I am trying this since over a month. I just want to compile it. There is entirely different procedure to do this in http://www.linuxfromscratch.org/lfs/view/stable/ this book. This is a slightly different and a bit complicated(I think) as compared to the "HOWTO linux kernel development" in the documentation. Can you suggest any robust online material so that i can compile it? Thanks..