MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
-Brandon
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 03: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
If you didn't actually run lilo after setting the options in lilo.conf then no changes were made to the system.
I've been using the system with only those two boot options (Linux and WinXP) for two or three weeks now. The changes have been made already.
Quote:
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.
I already looked before I posted. There is no backup. That's why I was hoping someone could post their backup.
Originally posted by spaaarky21 I've been using the system with only those two boot options (Linux and WinXP) for two or three weeks now. The changes have been made already.
I already looked before I posted. There is no backup. That's why I was hoping someone could post their backup.
Someone else's backup won't do you any good since everyone's partition table is different.
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:
Don't forget to run "lilo" after making the change. Also, replace the line that says default="Linux" with default="Linux-smp" if you want the SMP kernel to be the default option in the boot menu.
Last edited by Ph0enix2003; 06-18-2004 at 02:57 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.