MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
There is less than 12 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
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.
After installing Mandrake 10, there were a ton of boot options in LILO and my Windows install didn't show up so I manually edited lilo.conf to include my Windows partition and (without thinking about it too much) removed all the Linux options except for just plain 'linux'. However, after noticing that one of those choices was linux-smp, I realize that I make a mistake by not leaving THAT option. Could someone with an unmodified copy of lilo.conf (perhaps a backup copy) please post it for me?
Wait a minute. When I start my computer, at the login screen, it says "Kernel 2.6.3-7mdksmp on a Dual-processor i686". I assume that means that it's already using the SMP kernel. Do I actually need the "linux-smp" boot option in LILO?
PS - And speaking of kernel versions, any idea when Mandrake Update will have the 2.6.6 kernel? According to kernel.org, it's stable already.
If you didn't actually run lilo after setting the options in lilo.conf then no changes were made to the system. You should see /etc/lilo.conf~ now which is the backup of the original file. Just copy it back to lilo.conf and add the Windows partition. You need the smp kernel if you have a multi-CPU system.
The 2.6.6 kernel itself may be stable but it hasn't been fully tested with MDK packages. 2.6.8 or 2.6.9 will probably be out before MDK upgrades to 2.6.6. You know what I'm getting at? ...I'm sure 2.6.3 will work for you just fine. Having the latest kernel for the sake of just that is not necessarily a good thing but if you're in a rush, you can compile 2.6.6 yourself.
Last edited by Ph0enix2003; 06-13-2004 at 04:08 AM.
In yor file manager open the etc directory .In here you should find the lilo config file the liloconfig old should be your original before you deleted. You should be able to rename liloconfig to old & liloconfigold to liloconfig. In answer to your question you do not need the other kernels if your happy with the one you have. You may have to be root to modify files . Please be carefull
Someone else's backup won't do you any good since everyone's partition table is different.
Obviously their computer probably won't be identical to mine but I have no intension of blindly copying their config file to mine. I just want to see what the entry for the "linux-smp" boot option looks like since I accidentally deleted mine without backing up the file first.
Originally posted by spaaarky21 Obviously their computer probably won't be identical to mine but I have no intension of blindly copying their config file to mine. I just want to see what the entry for the "linux-smp" boot option looks like since I accidentally deleted mine without backing up the file first.
In this case, just look in your /boot for different kernels, look at the respective entries in lilo.conf and create new ones for the rest of the kernels in a similar fashion. If you have problems figuring it out, post the output from your "ls -l /boot" and your lilo.conf and I'll help you.
Since I want to use the SMP kernel, I assume that replacing "image=/boot/vmlinuz" with "image=/boot/vmlinuz-smp" would be a start but do any of the other settings need to change? Or is it actually that simply?
/boot/vmlinuz@ should be a symbolic link pointing to the non-smp kernel and /boot/vmlinuz-smp@ should be a SL pointing to the SMP kernel but make sure of that. Just run "ls -l /boot" and you'll see an arrow pointing to the actual files in the console output. initrd-smp.img should be pointing to initrd-2.6.3-7mdksmp.img. If all of the above is true - just add the following at the end of your lilo.conf: