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'm running RedHat 8 Beta (Limbo) and i'm trying to get advanced power management support for my laptop so i can check battery time etc. Anyway i used the Kernel Configurator interface in the control centre and after i've added the things i need it says:
make symlinks dep
So i goto the console are run that but it gives me this error
make: *** No rule to make target `symlinks'. Stop.
Now, If you are using lilo, check out /etc/lilo.conf for a line with "image="
cat /etc/lilo.conf | grep image
that should point to the name of the kernel that you just copied over. I called it <bzImage.new> up there, but you can call it anything you want. It might be a good Idea to backup your old one, and then keep the same name for the new one so that you don't have to change lilo.conf
ex (before you do the above cp arch/boot...... /boot/<bzimage.new> command)
mv /boot/bzImage /boot/bzImage.bak
either way, once the lilo.conf file is pointing in the right place, do
hmm... I'm not TOO sure, but I think that one of them might be linked to the other. do "ls -l" inside that directory to find out. if linux-2.4 points to the other , (or vice-versa) it doesn't matter. If not, I guess you have added a newer kernel since you installed your system? in that case, I think you should use the newer one. that will probably be linux-2.4.18-7.80, but to make sure, the "ls -l" command will tell you which one is newer.
You were right, one simply was pointing to the other.
So i've created a new bzImage file however have run into a problem. In /boot there is no existing bzImage file for me to backup, i cannot find it anywhere on my computer. I assume it must be called something different. I use grub as my bootloader and in the grub.conf file it says...
title Red Hat Linux (2.4.18-7.80)
kernel /boot/vmlinuz-2.4.18-7.80 ro root=LABEL=/
does this mean that instead of bzImage the file is called vmlinuz-2.4.18-7.80 ?
Should i just make another grub entry the same as this one except altering the kernel line to have bzImage.new as the kernel file?
To tell you the truth, I don't use grub, so I can't really tell you exactly what to do (you can probably find some info if you do a search on this site). It does look like the kernel you are using is vmlinux-2.4.18-7.80, so try renaming that ex:
and copy your new bzImage to /boot/vmlinux-2.4.18-7.80
then (i'm guessing) you'll have to run /sbin/grub
I bet you COULD write a whole new section (keeping your old kernel bootable) with pretty much the same stuff, execpt for a different title, and different kernel image.... but you should definitly get that info from someone who knows how to use grub.
shute buddy... you kow what? I forgot to tell you something :-(
If you enabled that new stuff as modules (m) then you needed to do this:
after you did "make bzImage"
It really shouldn't matter (I don't think) if you compiled them into the kernel, but if it doesn't work you might want to go back through it all and do that.
Instead of configuring the kernel through whatever you were using, I would strongly suggest going to the /usr/src/linux-2.4.18 directory and doing "make xconfig" or "make menuconfig" instead.... it's the REAL way of doing it. "Advanced Power Management" is in the "general" section. after you do that, do "make dep" (not "make symlinks dep")