Fedora Linux Support Community & Resources Center
  #1  
Old 16th May 2008, 02:33 PM
LenL Offline
Registered User
 
Join Date: Sep 2006
Location: Randolph, NJ
Posts: 63
Grub Issue

After installing FC9 and doing a yum update all appeared to be working well.

This AM when I turned on the computer and it booted all I get is "GRUB" on the screen. It does not boot into FC9. I suspect something went wrong with the boot loader?

Can someone give me some suggestions on what commands etc are needed if I go into rescue mode to fix the boot loader?

Or should I just reinstall and not be bothered?
Reply With Quote
  #2  
Old 16th May 2008, 03:02 PM
aabate58 Offline
Registered User
 
Join Date: May 2008
Posts: 18
This happened to me too. I just booted from the CD, went to Rescue, mounted the installation (chroot /mnt/sysimage) and entered "grub-install /dev/sda". This worked for me. Not sure if it matters, but this happened to me doing an upgrade from F8 to F9. Clean installs did not give me this grub issue.
Hope that helps!

-Al

Last edited by aabate58; 16th May 2008 at 05:17 PM.
Reply With Quote
  #3  
Old 16th May 2008, 03:22 PM
arvinddeshpande Offline
Registered User
 
Join Date: Jun 2007
Posts: 122
Well! Las night I somehow managed to upgrade fc8-x86_64 to fc9-x86_64. My NFS server crashed in between after anaconda installed 495 packages and had to redo the whole scene again before it again crashed while performing postupgrade tasks.
Anyways this did not update my grub at all......next time I had to again go to NFS installation and select an option to INSTALL grub....even though it was there somehow "update grub" did not work for me several times.
Just my 2 cents!
Reply With Quote
  #4  
Old 16th May 2008, 03:26 PM
dann Offline
Registered User
 
Join Date: Mar 2005
Posts: 71
If you get to the grub menu, you can probably save it without doing a reinstall. Type "c" if you're not already at the command prompt.

#make sure you know what disk you installed FC9 onto
geometry (hd0)
# it should say something like ext2 partition XXXblocks etc.

#make it the root partition
root (hd0,0)

#load the kernel
kernel /vmlin - hit tab to view which kernels are installed - pick one

#find the initrd
initrd /init - again hit tab to find the right one

#then boot it
boot

If the system boots, you should then be able to fix /etc/grub.conf to the correct settings to next time grub will work without intervening.
Reply With Quote
  #5  
Old 16th May 2008, 04:42 PM
LenL Offline
Registered User
 
Join Date: Sep 2006
Location: Randolph, NJ
Posts: 63
Al,

Yes I did the same update you did from FC8 to FC9.

I think you meant: chroot /mnt/sysimage? I did that and it worked but when I did the following command grub-install/dev/sda i get an error msg: NO such file or directory. Since I am installing fedora on my second drive (D) i then changed it to grub-install/dev/sdb and got the same error msg.

Looks like I am dead in the water and may have to do a new install.
Reply With Quote
  #6  
Old 16th May 2008, 05:04 PM
aabate58 Offline
Registered User
 
Join Date: May 2008
Posts: 18
Quote:
Originally Posted by LenL
Al,

Yes I did the same update you did from FC8 to FC9.

I think you meant: chroot /mnt/sysimage? I did that and it worked but when I did the following command grub-install/dev/sda i get an error msg: NO such file or directory. Since I am installing fedora on my second drive (D) i then changed it to grub-install/dev/sdb and got the same error msg.

Looks like I am dead in the water and may have to do a new install.
Ya, that's what I meant.

Anyway, sdb would be a sata/scsi drive. If yours are IDE, I believe it's /dev/hdb. If you want grub on your MBR, you would use /dev/hda.
Reply With Quote
  #7  
Old 16th May 2008, 05:16 PM
aabate58 Offline
Registered User
 
Join Date: May 2008
Posts: 18
Quote:
Originally Posted by LenL
Al,

Yes I did the same update you did from FC8 to FC9.

I think you meant: chroot /mnt/sysimage? I did that and it worked but when I did the following command grub-install/dev/sda i get an error msg: NO such file or directory. Since I am installing fedora on my second drive (D) i then changed it to grub-install/dev/sdb and got the same error msg.

Looks like I am dead in the water and may have to do a new install.
Oh, and btw, there is a space after grub-install. Sorry!
Reply With Quote
  #8  
Old 16th May 2008, 07:28 PM
LenL Offline
Registered User
 
Join Date: Sep 2006
Location: Randolph, NJ
Posts: 63
Gave Up

I could not get around the issue and I was just wasting time. Perhaps if I was not new to fedora/linux I would have tried the command line method but I just kept getting into more foreign territory as I tried suggestions!

I just finished up a new install. Perhaps as my linux knowledge gets better and I can grasp more of the nuances and undertand more of the wealth of knowledge on this forum I can solve problems like this in the future.

By the way what was really strange was after I did the original update to FC9 and a fairly big yum update after, I was using FC9 with NO problems! It was working great and I was impressed with how well everything worked! Boy was I surprised this AM only getting "GRUB" trying to boot!

Oh well!
Reply With Quote
  #9  
Old 16th May 2008, 07:41 PM
aabate58 Offline
Registered User
 
Join Date: May 2008
Posts: 18
Quote:
Originally Posted by LenL
I could not get around the issue and I was just wasting time. Perhaps if I was not new to fedora/linux I would have tried the command line method but I just kept getting into more foreign territory as I tried suggestions!

I just finished up a new install. Perhaps as my linux knowledge gets better and I can grasp more of the nuances and undertand more of the wealth of knowledge on this forum I can solve problems like this in the future.

By the way what was really strange was after I did the original update to FC9 and a fairly big yum update after, I was using FC9 with NO problems! It was working great and I was impressed with how well everything worked! Boy was I surprised this AM only getting "GRUB" trying to boot!

Oh well!
Glad you're up and running. At least you'll know what to try if it ever happens again. It is odd that all was working fine and then the grub prompt showed up. I must've missed that in your original post. I thought it happened right after the upgrade when you rebooted.
I too have, plenty of times, gotten myself so deep into a problem that I just reinstalled. It happens, and it's great way to learn the do's and don'ts.
Happy Linuxing!

-Al
Reply With Quote
  #10  
Old 27th November 2008, 07:46 PM
nspmangalore's Avatar
nspmangalore Offline
Registered User
 
Join Date: Nov 2006
Location: Mangalore, India
Posts: 241
Quote:
Originally Posted by aabate58 View Post
This happened to me too. I just booted from the CD, went to Rescue, mounted the installation (chroot /mnt/sysimage) and entered "grub-install /dev/sda". This worked for me. Not sure if it matters, but this happened to me doing an upgrade from F8 to F9. Clean installs did not give me this grub issue.
Hope that helps!

-Al
After my full system update to fedora 10, i'm having this same issue.
tried the above method.
DID NOT work for me.

i did a chroot /mnt/sysimage
i have my file sys there (intact)
however, when i try a grub-install on my linux partition, it says 'written with no errors', but no luck with the grub.
i still get the 'GRUB' text on my screen and nothing else.
__________________
Linux user #452049 :D
Reply With Quote
  #11  
Old 27th November 2008, 07:55 PM
nspmangalore's Avatar
nspmangalore Offline
Registered User
 
Join Date: Nov 2006
Location: Mangalore, India
Posts: 241
sorry!
seems like i jumped the gun a lil bit there...

i typed in reboot after rescuing the system.
i shud have typed exit for the changes to take place.

hmmm...
i learnt a new thing for today!
__________________
Linux user #452049 :D
Reply With Quote
  #12  
Old 28th November 2008, 03:20 AM
aabate58 Offline
Registered User
 
Join Date: May 2008
Posts: 18
Quote:
Originally Posted by nspmangalore View Post
sorry!
seems like i jumped the gun a lil bit there...

i typed in reboot after rescuing the system.
i shud have typed exit for the changes to take place.

hmmm...
i learnt a new thing for today!
That's what makes linux so great - always something to learn! Cool, glad that's all it was!

-Al
Reply With Quote
  #13  
Old 28th November 2008, 06:38 AM
nspmangalore's Avatar
nspmangalore Offline
Registered User
 
Join Date: Nov 2006
Location: Mangalore, India
Posts: 241
the issue is now resolved.
i am now able to boot via grub.
but unable to see the splashimage.
any solutions?
__________________
Linux user #452049 :D
Reply With Quote
  #14  
Old 28th November 2008, 01:08 PM
mathguy Offline
Registered User
 
Join Date: Nov 2008
Posts: 9
Exclamation GRUB boot problem continued ... /dev/sda: not found

Hi, I had the same problem as LenL and nspmangalore -- the upgrade from Fedora 9 to Fedora 10 worked fine, then I ran the system update to update packages since Fedora 10 release, and rebooted to be greeted by a page full of the texts "GRUB". So I tried the same fix: run the install DVD in rescue mode, chroot /mnt/sysimage and then grub-install /dev/sda. However, I get the message

/dev/sda: Not found or not a block device

though the MBR is located on /dev/sda and no change from Fedora 9. I then viewed the post

Fedora 10 i386 hang on SCSI boot

and, following the fix suggested there, tried

/sbin/mkinitrd -f --with=scsi_wait_scan /boot/initrd-2.6.27.5-117.fc10.i686.img 2.6.27.5-117.fc10.i686

but I get an couple of error messages:

resolveDevice: device spec expected
resolveDevice: device spec expected

If anyone has any ideas, I'd be really grateful! How do I persuade Fedora 10 to recognize the scsi device, /dev/sda?

Last edited by mathguy; 28th November 2008 at 01:57 PM.
Reply With Quote
  #15  
Old 28th November 2008, 03:32 PM
aabate58 Offline
Registered User
 
Join Date: May 2008
Posts: 18
Quote:
Originally Posted by mathguy View Post
Hi, I had the same problem as LenL and nspmangalore -- the upgrade from Fedora 9 to Fedora 10 worked fine, then I ran the system update to update packages since Fedora 10 release, and rebooted to be greeted by a page full of the texts "GRUB". So I tried the same fix: run the install DVD in rescue mode, chroot /mnt/sysimage and then grub-install /dev/sda. However, I get the message

/dev/sda: Not found or not a block device

though the MBR is located on /dev/sda and no change from Fedora 9. I then viewed the post

Fedora 10 i386 hang on SCSI boot

and, following the fix suggested there, tried

/sbin/mkinitrd -f --with=scsi_wait_scan /boot/initrd-2.6.27.5-117.fc10.i686.img 2.6.27.5-117.fc10.i686

but I get an couple of error messages:

resolveDevice: device spec expected
resolveDevice: device spec expected

If anyone has any ideas, I'd be really grateful! How do I persuade Fedora 10 to recognize the scsi device, /dev/sda?
Do you actually have scsi/sata devices? If they're IDE, you'll want to use /dev/hda.
Sorry if that comes off as a stupid question, but sometimes it's the little things.
Reply With Quote
Reply

Tags
grub

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub issue ninja600j Alpha, Beta & Snapshots Discussions (Fedora 10 Only) 14 12th October 2008 08:41 PM
grub issue with f9 and win xp ramonbosm Installation and Live Media 1 4th July 2008 11:10 PM
GRUB issue nalex Using Fedora 5 25th July 2007 06:58 AM
Grub Issue MasterKevossavi Using Fedora 15 6th October 2005 03:07 AM
Help! (GRUB issue) karioth Installation and Live Media 12 1st October 2005 05:06 AM


Current GMT-time: 03:51 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat