LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-15-2008, 01:28 PM   #1
bic
Member
 
Registered: Jan 2005
Distribution: MythDora 3.2, RHEL 6.3
Posts: 95

Rep: Reputation: 16
grub not seeing grub-set-default change


I have Fedora Core 6. It previously had .97 grub. Due to it not honoring grub-set-default changes, I put on grub .95. It's also not working. What can I do to debug this?

grub.conf

default saved
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title MythDora (2.6.20-1.2944.fc6)
root (hd0,0)
kernel /vmlinuz-2.6.20-1.2944.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb
quiet
initrd /initrd-2.6.20-1.2944.fc6.img
savedefault 0

title TurnOff
savedefault 0
halt

default:
1
#
#
#
#
#
#
#
#
#
#
# WARNING: If you want to edit this file directly, do not remove any line
# from this file, including this warning. Using `grub-set-default\' is
# strongly recommended.

Last edited by bic; 02-15-2008 at 01:35 PM.
 
Old 02-15-2008, 01:44 PM   #2
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
the correct way to display title is:

title=MythDora (2.6.20-1.2944.fc6)

And then change:

default 0
timeout 10


then:

# grub

grub> root (hd0,0)
grub> setup (hd0,0)
grub> quit





-weisso
 
Old 02-15-2008, 02:06 PM   #3
bic
Member
 
Registered: Jan 2005
Distribution: MythDora 3.2, RHEL 6.3
Posts: 95

Original Poster
Rep: Reputation: 16
Thanks, but something still isn't quite right

Code:
default saved
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title=MythDora (2.6.20-1.2944.fc6)
        root (hd0,0)
        kernel /vmlinuz-2.6.20-1.2944.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.20-1.2944.fc6.img
        savedefault 0

title=TurnOff
   savedefault 0
   halt
I did the setup in grub shell twice, plus several reboots as I realized Title for TurnOff also needed the =.
 
Old 02-15-2008, 02:32 PM   #4
weisso5
Member
 
Registered: Oct 2007
Location: New York City
Distribution: Gentoo, FC
Posts: 133

Rep: Reputation: 16
Can you try this simple config and tell me if it boots:

default 0
timeout 10
title=MythDora
root (hd0,0)
kernel /vmlinuz-2.6.20-1.2944.fc6 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.20-1.2944.fc6.img
 
Old 02-15-2008, 02:44 PM   #5
bic
Member
 
Registered: Jan 2005
Distribution: MythDora 3.2, RHEL 6.3
Posts: 95

Original Poster
Rep: Reputation: 16
Yep, that worked ok.
 
  


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-set-default bic Linux - Software 2 02-12-2008 03:06 PM
Missing grub-set-default? LasseBob Linux - Software 2 03-08-2006 11:12 PM
grub-set-default missing Paulsuk Linux - Software 3 02-08-2006 09:18 PM
How do I set default in GNU GRUB? akilhoffer Linux - Newbie 11 09-01-2004 07:17 AM
how to change default os in Grub eye Linux - Software 3 05-16-2003 09:10 AM


All times are GMT -5. The time now is 10:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration