LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools Search this Thread
Old 01-07-2009, 07:31 PM   #1
nokuku4u
LQ Newbie
 
Registered: Jan 2009
Location: pburg, wv
Distribution: fedora/slackware
Posts: 2
Thanked: 0
cleaning up fedora's grub.


[Log in to get rid of this advertisement]
Hey guys, i have a dual boot of xp & linux. It's working like a charm, i installed both using a usb install but the grub is a little dirty.

When turning on the computer it gives me 3 different boot options. two are for the same fedora OS. The third option is other, which directs me to windows boot options; which has two options-- boot Windows xp or boot windows xp from usb ( which works even though the usb isn't plugged in)

What command can I use to clean the grub to make it a little more user friendly? It's not a hasssle, just a messy dual boot grub options which, both have unneeded extra options.

thanks,

kuku
nokuku4u is offline  
Tag This Post , , , ,
Reply With Quote
Old 01-07-2009, 07:37 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Thanked: 126
You'll probably need to edit it manually (perhaps there is a gui interface, but I've never seen it).

Can you post your menu.lst (see /boot/grub/menu.lst)
billymayday is offline     Reply With Quote
Old 01-10-2009, 01:42 PM   #3
nokuku4u
LQ Newbie
 
Registered: Jan 2009
Location: pburg, wv
Distribution: fedora/slackware
Posts: 2
Thanked: 0

Original Poster
Thanks for the quick reply billy. Here's a list of my menu.lst for grub:

Code:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,5)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.29-0.18.rc0.git9.fc11.i686)
	root (hd0,5)
	kernel /vmlinuz-2.6.29-0.18.rc0.git9.fc11.i686 ro root=UUID=51c20bab-e89e-4438-9569-310b2052e8a5 rhgb quiet
	initrd /initrd-2.6.29-0.18.rc0.git9.fc11.i686.img
title Fedora (2.6.27.9-159.fc10.i686)
	root (hd0,5)
	kernel /vmlinuz-2.6.27.9-159.fc10.i686 ro root=UUID=51c20bab-e89e-4438-9569-310b2052e8a5 rhgb quiet
	initrd /initrd-2.6.27.9-159.fc10.i686.img
title Fedora (2.6.27.5-117.fc10.i686)
	root (hd0,5)
	kernel /vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=51c20bab-e89e-4438-9569-310b2052e8a5 rhgb quiet
	initrd /initrd-2.6.27.5-117.fc10.i686.img
title Other
	rootnoverify (hd0,0)
	chainloader +1
Shoul I just delete the title,root,kernel,root=, and initrd from the lines of the ones I don't need? If it's going to cause a big problem I don't really care to leave it as-is.

thanks,
kuku
nokuku4u is offline     Reply With Quote
Old 01-10-2009, 02:02 PM   #4
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Thanked: 126
Yes- delete from title to line before next title.

Note that Fedora keeps 2 old kernels by default in case anything goes wrong with an install, and even if you delete 2.6.27.5-117, next time you install a new kernel, it will keep 2.6.27.9-159.


Rgds
billymayday is offline     Reply With Quote
Old 01-11-2009, 09:03 AM   #5
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Desktop- Debian Lenny, Laptops- Ubuntu 8.10, Debian Lenny UMPC- Ubuntu 8.10
Posts: 1,290
Thanked: 14
I'm curious why after choosing "other".. he gets directed to another menu to choose Windows.

I would think there's a way to add Windows to his "main" grub Wndow, to simplify it all, but I'm far from a Grub expert. I've never had an issue like that, I've always had Debian, Ubuntu, etc, etc, just appear in 1 grub menu w/ Windows, and that was that.

IGF
IndyGunFreak is offline     Reply With Quote

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
What's up with Fedora's LVM & Grub? Voelcker Fedora 9 01-21-2008 12:48 AM
LXer: Fedora's way forward LXer Syndicated Linux News 0 01-13-2008 06:50 AM
How Do I Add Slackware to Fedora's Grub.conf raziel23x Slackware 18 10-25-2007 01:38 PM
How to modify fedora's NAT type? 80mail Linux - Networking 6 05-19-2007 02:22 AM
Fedora's KDE very sluggish for me? DaveGallant Fedora 0 07-16-2004 12:41 PM


All times are GMT -5. The time now is 05:30 PM.

Main Menu
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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration