LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   How do I remove all those kernel selections when I boot up? (https://www.linuxquestions.org/questions/mandriva-30/how-do-i-remove-all-those-kernel-selections-when-i-boot-up-149534/)

aweir14150 02-23-2004 09:39 AM

How do I remove all those kernel selections when I boot up?
 
I am running Mandrake 9.2 and I have installed too many kernels on my system.

Before Mandrake starts up, I am asked to selcet the kernel I would like to boot with. There are so many selections available and I am wondering if there was a way to remove most of those selections that I don't need.

I would like to remove all of my kernel selections exept for the 2.24-10p3 kernel. I have made a mistake by trying to install the kernel source for a kernel I was running, but instead I installed all the available kernel selections and it is really annoying because I have to scrool down to pick the kernel I want to use.

Or is there a way to make Mandrake automatically boot with a specified kernel?


Do I have to remove the kernel package from the system, or edit some file, ect?

Thanks.

Rounan 02-23-2004 09:50 AM

You need to edit your bootloader configuration - for lilo, this is /etc/lilo.conf

read man lilo.conf to get an idea of what you're doing.

then do:
su
<enter password>
cd /etc
cp lilo.conf lilo.conf.old #Backs up your old config so you don't nuke it.
nano lilo.conf (or pico, or vi, or whatever text editor you like)

Remove the sections you don't want.

--Rounan

DrOzz 02-23-2004 09:51 AM

edit the /boot/grub/menu.lst file ...
i am pretty sure thats what mdk9.2 uses ...
but depending on your bootloader and if the above is false, then edit your lilo.conf or grub.conf file in /etc ..


All times are GMT -5. The time now is 10:25 AM.