LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > 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... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 01-07-2009, 06:31 PM   #1
nokuku4u
LQ Newbie
 
Registered: Jan 2009
Location: pburg, wv
Distribution: fedora/slackware
Posts: 2

Rep: Reputation: 0
cleaning up fedora's grub.


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
 
Old 01-07-2009, 06:37 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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)
 
Old 01-10-2009, 12:42 PM   #3
nokuku4u
LQ Newbie
 
Registered: Jan 2009
Location: pburg, wv
Distribution: fedora/slackware
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
Old 01-10-2009, 01:02 PM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
Old 01-11-2009, 08:03 AM   #5
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
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
 
  


Reply

Tags
boot, dual, fedora, grub, xp



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 05:11 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
Open Source Consulting | Domain Registration