View Full Version : grub after install
Dors
13th October 2008, 06:06 AM
hi guys im trying fedora 10 beta, just installed it, but i can see grub
i even tryed to fix it with grub-install, got no errors, but im still booting xp
this is my grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,5)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27--0.352.rc7.git1..fc10.i686)
root (hd0,5)
kernel /vmlinuz-2.6.27-0.352.rc7.git1..fc10.i686 ro root=UUID=f138ed33-bffa-49de-b71e-08c5f4e7db8a rhgb quiet
initrd /initrd-2.6.27--0.352.rc7.git1..fc10.i686.img
title Fedora -base (2.6.27--0.352.rc7.git1..fc10.i686)
root (hd0,5)
kernel /vmlinuz-2.6.27-0.352.rc7.git1..fc10.i686 ro root=UUID=f138ed33-bffa-49de-b71e-08c5f4e7db8a rhgb quiet
initrd /initrd-2.6.27--0.352.rc7.git1..fc10.i686.img
title WindowsXP
rootnoverify (hd00)
chainloader +1
any ideas?
marko
13th October 2008, 06:24 AM
title WindowsXP
rootnoverify (hd00)
chainloader +1
Is that really hd00 in the parens in your grub.conf file or just a typo in your post?
If the former it should be (hd0,0)
Dors
13th October 2008, 06:29 AM
sorry its
rootnoverify(hd0,0)
marko
13th October 2008, 07:42 AM
Since default is set to 2, then booting Windows is doing what you've got it setup to do,
at least after the first 15 seconds have elapsed. Default indexes from 0 so it's going:
0 --> first kernel Fedora
1 --> 2nd kernel Fedora-base
2 --> windowsXP
Another oddity is why is the same exact kernel stanza in there for the same kernel?
If you want, you can probably delete one so there's just the one statement for the
kernel
(I'm also seeing formatting errors (the double "--" and double ".." but I'm sure those are just the web page software mis-formatting the kernel name).
does changing default=2 to default=0 fix it?
Dors
13th October 2008, 03:59 PM
Thanks, well with 0 i could load fedora to finish the install process
ok i see the problem, apparently grub splash screen loads, but i cant see it, but when i press any key i can see the menu and load fedora
So the problem must be the splash screen image, i open it and i can see the image, why im not seeing it at boot?
stoat
13th October 2008, 04:13 PM
So the problem must be the splash screen image, i open it and i can see the image, why im not seeing it at boot?Hello Dors,
Maybe it's this...# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,5)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27--0.352.rc7.git1..fc10.i686)
root (hd0,5)
kernel /vmlinuz-2.6.27-0.352.rc7.git1..fc10.i686 ro root=UUID=f138ed33-bffa-49de-b71e-08c5f4e7db8a rhgb quiet
initrd /initrd-2.6.27--0.352.rc7.git1..fc10.i686.img
title Fedora -base (2.6.27--0.352.rc7.git1..fc10.i686)
root (hd0,5)
kernel /vmlinuz-2.6.27-0.352.rc7.git1..fc10.i686 ro root=UUID=f138ed33-bffa-49de-b71e-08c5f4e7db8a rhgb quiet
initrd /initrd-2.6.27--0.352.rc7.git1..fc10.i686.img
title WindowsXP
rootnoverify (hd00)
chainloader +1That splashimage file is located in the same place as the kernels and initial ramdisks. That would be (hd0,5), I guess.
Dors
13th October 2008, 04:19 PM
sorry my bad, i have this
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
stoat
13th October 2008, 04:30 PM
...why im not seeing it at boot?I'm not sure what you mean. If you mean that you want to see the menu at boot without having to press a key, then "comment out" (with the # character) the hiddenmenu command in the grub.conf. Like this...# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,5)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=2
timeout=15
splashimage=(hd0,0)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.27--0.352.rc7.git1..fc10.i686)
root (hd0,5)
kernel /vmlinuz-2.6.27-0.352.rc7.git1..fc10.i686 ro root=UUID=f138ed33-bffa-49de-b71e-08c5f4e7db8a rhgb quiet
initrd /initrd-2.6.27--0.352.rc7.git1..fc10.i686.img
title Fedora -base (2.6.27--0.352.rc7.git1..fc10.i686)
root (hd0,5)
kernel /vmlinuz-2.6.27-0.352.rc7.git1..fc10.i686 ro root=UUID=f138ed33-bffa-49de-b71e-08c5f4e7db8a rhgb quiet
initrd /initrd-2.6.27--0.352.rc7.git1..fc10.i686.img
title WindowsXP
rootnoverify (hd00)
chainloader +1If I misunderstood, I apologize. The splash screen is the screen with the countdown and the graphic image behind it. The graphic image also remains behind the menu if you press a key during the countdown.
Dors
13th October 2008, 04:37 PM
well with grub i've always seen 2 screens, one with the countdown and one with the kernel options, this time im not seeing the countdown just a " _ " , but after pressing a key i can see the image for the kernel options.
well with the #hiddenmenu i can see directly the options, its better :P
thanks
but i still dont know why im not seeing the 1st screen(countdown), because theyre using the same file to show the image
stoat
13th October 2008, 04:54 PM
Okay. I understand. Maybe it's this issue (http://forums.fedoraforum.org/showthread.php?t=199932). It's been going on for a while now. I'm not using F10 and haven't followed it closely.
marko
13th October 2008, 05:33 PM
Note that even with hiddenmenu set you can see the menu by pressing the Esc key
Dors
13th October 2008, 05:37 PM
well not just with esc, but with any key, but i dont like the non screen grub, i dont know if it loadead, if it crash, just need to wait and see
Dors
13th October 2008, 05:41 PM
Okay. I understand. Maybe it's this issue (http://forums.fedoraforum.org/showthread.php?t=199932). It's been going on for a while now. I'm not using F10 and haven't followed it closely.
maybe, i have the same error with f9, but my grub is normal ican see everything
updating everything right now, maybe i can see a fix, but 950mb a bit too much for updates, well its my 1st time with betas anyway :P
thanks
DCOH
13th October 2008, 06:45 PM
F10 now keeps the boot menu hidden by default unless you press a key to display it.
stoat
13th October 2008, 10:03 PM
Hello again Dors,
After looking through that other thread that I linked above, I'm not so sure your issue is related after all (I saw that you had already posted in there, BTW). All those people seem to be talking about the Red Hat Graphical Boot which hides the classical scrolling lines of text with [ OK ] and [FAILED]. You're talking about the GRUB splash screen image which happens well before all of that RHGB business.
updating everything right now, maybe i can see a fix, but 950mb a bit too much for updatesWell, if the grub package gets updated with that huge update, I recommend re-installing GRUB again with grub-install. I know you tried that already, but do it again if the grub package got updated. It's stage2 that deals with that splash screen image and creates the GRUB menu. Re-installing GRUB with grub-install will create a new stage2. Who knows? Maybe a new stage2 after the grub package got updated will make a difference.
If you decided not to do the huge update, at least try yum update grub. Then, if grub was updated, do the GRUB re-install with grub-install. If you want to, that is. No promises. Purely guessing at an interesting problem.
Dors
14th October 2008, 01:28 AM
thanks stoat, but no luck, i didnt find any grub update and re-installing it didnt work either
jnolck
21st November 2008, 07:48 AM
I have the same problem as Dors. Instead of getting the GRUB screen i'm familiar with, i get a _ at the top left corner of my screen. The rest of the screen is blank. This stays like this for a couple of seconds then i get the regular fedora boot splash screen. I use a r520 card (x1950).
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.