LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Multiple OS listings in grub loader (https://www.linuxquestions.org/questions/linux-newbie-8/multiple-os-listings-in-grub-loader-290519/)

Lorend 02-15-2005 10:16 AM

Multiple OS listings in grub loader
 
I am wonder if I can get rid of some of the different OS listings that I have in my grub loader on start-up

Here is what it looks like right now:

Fedora Core(2.6.10-1.766_FC3)
Fedora Core(2.6.10-1.766_FC3smp)
Fedora Core(2.6.10-1.760_FC3smp)
Fedora Core(2.6.10-1.760_FC3)
Fedora Core(2.6.9-1.677smp
Fedora Core up(2.6.9-1.667)
XP

Obviously I need to keep the XP but do all of the others need to be in the start up list. I am only using the top FC3 when I start up. I am just begining and don't know if I need these or can I remove the ones I don't want on the list with the editor.

Thank you,

jailbait 02-15-2005 10:46 AM

"don't know if I need these or can I remove the ones I don't want on the list with the editor."

Yes, you can edit the grub configuration file which I think is called /boot/grub/grub.conf in FC3. You will find that there is a title section corresponding to each OS. Removing a title section will remove the OS from the grub boot list.

-----------------------
Steve Stites

linuxnut2003 02-15-2005 10:51 AM

you need to edit (as root)/boot/grub.conf and remove the ones you do not use. any text editor will work whether it be vi, emacs, etc. if you don't find /boot/grub.conf then look for /boot/menu.lst and remove the blocks of code immediately under the title sections. for example:
Code:

...
title slackware 9.1
    kernel /boot/bzimage-2.6.5 root=/dev/hda1 ro vga=795
    initrd /boot/initrd-2.6.5.gz
...

you can insert the # sign to comment out the ones you dont want to show up to where it looks like this:
Code:

...
#title slackware 9.1
#    kernel /boot/bzimage-2.6.5 root=/dev/hda1 ro vga=795
#    initrd /boot/initrd-2.6.5.gz
...

and it wont appear anymore in your grub boot list.
As always, keep a bootdisk handy if you goof up.
hope this helps,

nonzero 02-15-2005 11:00 AM

Clipped from www.fedoraforum.org/forum/ archive/index.php/t-21873.html

superbnerd2004-09-10, 12:10 AM CDT
Quote:

Originally Posted by ghaefb
I like the Bootoader Configuration.

isn't the bootlaoder already in fc2? its called system-config-boot and is available under system settings -> bootloader. you might not have it install though. yum install system-config-boot

But before you do anything, do you know which one of these kernels you want to use?
You have to have at least one entry in /boot/grub/grub.conf in order for your system to boot.
Reconfiguring Grub just changes the kernel image that the bootloader starts, it does not remove files, if that is what you were thinking of doing.

I would delete the XP menuitem - JUST KIDDING!!!!

nz

Lorend 02-15-2005 11:13 AM

Thank you, one and all.

I wasn't sure if I could eliminate any of the blocks of code from the grub.conf file so that is why I was wondering about that.

Thanks again for the help.


All times are GMT -5. The time now is 07:01 PM.