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.
Now, I want to create RPM of above data. so, whenever I install Linux, This rpm will install and My older kernel will replaced by newer.
I don't know how to create rpm of above...
I know rpmbuild command, but it requires Makefile and spec file,
I don't know what to write in Makefile and spec file for kernel rpm.
I have successfully created kernel RPM, Now I want to add this RPM to disk-Image of linux operating System. so that , whenever I install this modified linux, my new kernel will be automatically installed. and I want to modify lilo.conf, so that, by default this newly created kernel can boot.
I know how to extract and recreate disk-Image, but I can't find lilo.conf from this Image. but I can find lilo.conf after installing linux, I want to modify this file in disk-image before installing it.
For that I have some questions:
When we installs any linux os, is lilo.conf automatically generates?
If yes, then who generates it?
If no, then where to write lilo.conf in disk-image?
I think that works in the reverse order:
first you choose a distro, usually it has a kernel. You install it together with a boot manager. The boot manager will detect runnable OSs (like linux or windows) and will create config file. Adding a new kernel will lead to a new session (or more) in that config file. Usually during the installation of the kernel the boot manager will be updated, but you can always ask the boot manager to reconfigure itself and you can also do it by hand.