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.
I am trying to locate lilo.conf so that I can compile my kernel. In the readme file it states:
"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. "
but when I check the /etc/ directory using ls -al there is no lilo.conf file.
lilo.conf is not required to compile your kernel. There are other programs that have the same function (called boot managers). Second most popular to LILO i GRUB. You usually choose between them during installation. I guess you have grub. To check it look at your package list. You can do it this way
rpm -qa|grep lilo
Will list you all lilo-related packages (or don't list anything if there's noting to show). For grub
rpm -qa|grep grub
One of the lists should not be empty. That's the program you have. Grub configuration file should be /etc/grub.conf (it has different syntax than lilo's).
Originally posted by CodeFish Thank you all,
Your suggestions have been helpful.
I am using GRUB, I must have opted for it when I recently upgraded to Mandrake 10.
I am still having trouble locating the grub configuration file...
Don't know if this will help or not, but here's a section from "man 8 grub":
GRUB(8) FSF GRUB(8)
grub - the grub shell
Enter the GRand Unified Bootloader command shell.
turn on batch mode for non-interactive use
specify stage2 boot_drive [default=0x0]
specify stage2 config_file [default=/boot/grub/menu.lst]
For reasons too tedious and depressing to go into, I happen to have grub as well as lilo
on my setup. A "locate grub | less" turned up no grub.conf on mine either.
From what I understand, there is generallly no grub.conf file(XsuX you maybe unique). Instead, the grub config file is typically located in /boot/grub/menu.lst. This is noted in the man file (thanks jonr) and it is reflective of my system.
"The file your looking for is actually /boot/grub/menu.lst and not grub.conf. There are a few distros like Redhat that uses /etc/grub.conf file. In this case the menu.lst is a link that points to grub.conf. " -michaelk