LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 02-15-2005, 11:16 AM   #1
Lorend
Member
 
Registered: Feb 2005
Location: Wisconsin
Distribution: Fedora Core 5, Knoppix, Suse 10
Posts: 37

Rep: Reputation: 15
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,
 
Old 02-15-2005, 11:46 AM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"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
 
Old 02-15-2005, 11:51 AM   #3
linuxnut2003
Member
 
Registered: Nov 2003
Location: Oklahoma, USA
Distribution: gentoo
Posts: 73

Rep: Reputation: 15
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,
 
Old 02-15-2005, 12:00 PM   #4
nonzero
Member
 
Registered: Feb 2005
Distribution: Debian FC4 LFS Slackware
Posts: 174

Rep: Reputation: 31
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
 
Old 02-15-2005, 12:13 PM   #5
Lorend
Member
 
Registered: Feb 2005
Location: Wisconsin
Distribution: Fedora Core 5, Knoppix, Suse 10
Posts: 37

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub Loader MacaveliMC Ubuntu 5 09-29-2005 01:07 AM
GRUB boot loader and installing multiple distributions on one computer juyce Linux - General 3 06-27-2005 07:13 PM
Grub loader BorderPatrol Linux - General 6 12-12-2004 07:36 PM
GRUB loader tszhim Linux - General 4 02-09-2003 02:00 PM
Help! Grub Loader! djsktbrd Linux - Newbie 5 12-27-2002 02:34 AM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration