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.
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.
View Poll Results: How do you currently install new kernels?
From pre-compiled binaries available for my distro
I download the source code and compile my new kernels
Distribution: SUSE 9.1 Pro and Debian Testing on Server
Hi. I am just wondering where the initrd file in your /boot directory comes from. I have tried recompiling my kernel and it doesn't generate a new initrd. Could someone please explain where to find the initrd after compiling a kernel, so that I may copy it to my /boot folder. I would like to install kernel 18.104.22.168 onto SuSE 9.1 Pro. Anyways, this is the one thing that really confuses me about compiling a kernel so any help would be greatly appreciated. Also, I was told when I download the kernel source to save the tar file in /usr/src and then extract it there. Does this replace the /usr/src/linux link to your current linux source with a new link to your new kernel source? Or do you just change the link yourself?
1. untar the source in /usr/src and re-adjust the sym link.
2. cd to /usr/src/linux
3. when u will build linux, it will not generate ram disk image. So , after u r done will making and installing kernel source and modules, use the following command to create initrd file
Note: installing modules is very important before you do this step
/sbin/mk_initrd -k "list of kernels" -i "list of initrd files"
in your case:
list of kernels: vmlinuz-22.214.171.124 (this would have got created in your /boot dierctory if you had used make to build the kernel, otherwise if you have used 'make bzImage', you'll have to cp the file from /usr/src/linux/arch/<arch>/boot/bzImage to /boot and rename it to 'vmlinuz-126.96.36.199')
list of initrd files: just type 'initrd-188.8.131.52"
this should create an initrd-184.108.40.206 in your /boot directory
4. Now you can modify your bootloader config file (/boot/grub/menu.lst or /etc/lilo.conf) to include the new kernel image and initrd
This is very confusing....On my FC2, if I don't have an initrd, my system won't boot (kernel panic). I compile it with making "make install" after compile the kernel and modules, under the same kernel source directory.
How can be some systems require it and other don't??