Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th August 2009, 04:38 AM
jameslui's Avatar
jameslui Offline
Registered User
 
Join Date: Jun 2008
Posts: 13
windows_xp_2003firefox
GRUB problems ?

Hi all, I have Fedora 11 on both my IBM X60 and Lenovo S10. Unfortunately, after I upgrade from yum, I thought it's the new kernel problem and go through the questions that ppl have on this page. But in my case, my GRUB isnt even loading and there's just a cursor keep flashing on my screen.

Yes, it happens on both my laptop and netbook, is there anyone else having the same problem ?

Thanks!
Reply With Quote
  #2  
Old 7th August 2009, 04:57 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxfedorafirefox
Quote:
Hi all, I have Fedora 11 on both my IBM X60 and Lenovo S10. Unfortunately, after I upgrade from yum,
?? do you mean update ?
or did you "upgrade " from fedora 10 or 9
if upgrade then there could be many reasons for it not booting

-- if update ---
it sounds like a graphics driver problem .But without knowing what hardware is installed ....

i do know that this current ( and the last) kernel had a problem with "nvidia" being listed as the driver in the xorg.conf

changing that to "nv " from booting into a old kernel aloud me to boot into the new kernel and install my nvidia driver

--- but this is for nvidia ONLY----
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #3  
Old 7th August 2009, 05:16 AM
jameslui's Avatar
jameslui Offline
Registered User
 
Join Date: Jun 2008
Posts: 13
linuxfedorafirefox
Hi John, thx for your quick reply, yes it should be "update" from yum, not the kind of f9 -> f10 that upgrading, I apologize for my mistake.
Reply With Quote
  #4  
Old 7th August 2009, 06:04 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxfedorafirefox
no problem i see that kind of mix up all the time

from the context of your post i was thinking you meant "update"

look on the forum for similar posts . This i common if your built in chip is nvidia .I don't know if others are affected ( like ati or intel )
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #5  
Old 7th August 2009, 06:19 AM
jameslui's Avatar
jameslui Offline
Registered User
 
Join Date: Jun 2008
Posts: 13
windows_xp_2003firefox
Thanks John, your solution looks great, I'll try it out.
Again, thanks so much for all your quick replies and helps.
Reply With Quote
  #6  
Old 16th August 2009, 03:23 AM
KenJackson Offline
Registered User
 
Join Date: Aug 2008
Location: Maryland, USA
Posts: 90
linuxfirefox
Quote:
Originally Posted by jameslui View Post
Unfortunately, after I upgrade from yum, I thought it's the new kernel problem and go through the questions that ppl have on this page. But in my case, my GRUB isnt even loading and there's just a cursor keep flashing on my screen.

Yes, it happens on both my laptop and netbook, is there anyone else having the same problem ?
Yes. If I understand, that sounds exactly like the problem I had on both my Dell laptop and my self-assembled i7. That is, I could see the BIOS screen (and could modify BIOS) but then I only got a flashing cursor line, no text, no graphics, no further activity--dead.

In both cases, I booted a rescue CD or USB and ran this, which fixed the problem.
Code:
chroot /mnt/sda1
grub-install hd0
Though depending on the rescue disk, you may have to mount sda1 and/or other partitions.
Also, using a RIP Linux rescue USB, I had to do this before grub-install:
MAKEDEV sda
Reply With Quote
  #7  
Old 16th August 2009, 02:02 PM
jameslui's Avatar
jameslui Offline
Registered User
 
Join Date: Jun 2008
Posts: 13
linuxfirefox
Woooooooooooooooooot, I get my Linux box back !
Thanks so much for ur great solution KenJackson! Wish you have a great day today =)
Reply With Quote
  #8  
Old 16th August 2009, 05:34 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Quote:
Originally Posted by KenJackson
Quote:
chroot /mnt/sda1
grub-install hd0
Quote:
Originally Posted by jameslui

Woooooooooooooooooot, I get my Linux box back !
Hello KenJackson and jameslui,

Would either or both of you be willing to clarify all of that just for the record? The linux rescue mode of the Fedora DVD or the first CD of the CD set (i.e., "Rescue installed system") will mount your system partitions for you at /mnt/sysimage. So with the Fedora disk, the sort of classic steps to re-install GRUB in the master boot record of the first drive are more like this...
Code:
chroot /mnt/sysimage
grub-install /dev/sda
NOTE: your grub-install hd0 is okay syntax, too.
I just wondered why you went to the trouble to create a mount point named /mnt/sda1 and, I guess, mount a partition there and then run the grub-install command. I tried this myself for fun by booting with the Fedora 11 DVD. Without chroot-ing to /mnt/sysimage, I created mount points and mounted my F11 boot and root partitions...
Code:
mkdir -p /mnt/f11/boot
mount /dev/sdb7 /mnt/f11/boot
mount /dev/sdb8 /mnt/f11
That went fine. Everything was there. Same as it was in /mnt/sysimage, BTW (I was not allowed to unmount /mnt/sysimage). Then I changed the root directory to it...
Code:
chroot /mnt/f11
Still okay so far. But when I ran the grub-install command, I got the "Not found or not a block device" error message. I presume that is what your makedev step was for, but I could not find makedev anywhere even with whereis. I repeated all of this with Fedora 10 which I have installed in a single root partition. The same exact things happened.

So, I am very interested in how this kinda unusual method worked for jameslui, but I can't reproduce it here. What did I do wrong? Re-reading your stuff, I'm sort of thinking now that you weren't talking about using the Fedora disk for this idea. If that is the case, this idea would be useful to have clarified. The classic method is well-known. Even a LiveCD HOWTO is around here somewhere. Maybe this could add to those as a sort of third-party rescue disk method.



P.S.: Okay I found MAKEDEV as you wrote above. Not makedev. Will play with it some more.



P.P.S: Okay. Got it. There were a couple of unfamiliar error messages, but the grub-install command ran okay. So there it is. An interesting variation on the GRUB re-install thing...

Attached Thumbnails
Click image for larger version

Name:	grub-install.JPG
Views:	68
Size:	64.4 KB
ID:	17933  

Last edited by stoat; 16th August 2009 at 06:25 PM.
Reply With Quote
  #9  
Old 16th August 2009, 10:50 PM
KenJackson Offline
Registered User
 
Join Date: Aug 2008
Location: Maryland, USA
Posts: 90
linuxfedorafirefox
Hi stoat,

I had been meaning to gather up the specifics and post a good summary of what happened, but I didn't get to it yet. Plus I can't find my FC11 CD. I could burn another, but where could it be?

Anyway, the first time it happened, I did use the FC11 CD, which did, as you say, mount my partitions for me. I didn't remember what names it assigned. I tried grub-install without chroot, but it couldn't find it's files. So chroot seemed like the simplest answer.

The second time, I couldn't find my FC11 CD and, very alarmingly, I couldn't boot another CD anyway. I still haven't tracked that one down. That is--did trashing my MBR somehow prevent a CD from booting? I don't know how, but I haven't tried to reboot yet to investigate.

Anyway, I had previously put RIP Linux on a USB stick (very convenient), so I booted it. It didn't mount my partitions, but it at least setup a nice /etc/fstab file, so I only had to mount /mnt/sda1.

When I chrooted to it and tried grub-install, it complained about the mapper device. On inspection I found the /dev directory was empty except for null. So /sbin/MAKEDEV sda fixed that.


I think this is a serious bug. Since it struck me twice and jameslui once, surely it's affecting others. Even with the experience I have, it took me a while to figure out what to do the first time. Surely some novices are dead in the water.
Reply With Quote
  #10  
Old 16th August 2009, 11:01 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Quote:
Originally Posted by KenJackson

I think this is a serious bug.
You're referring to jameslui's GRUB boot loader getting busted by a yum update. Right? I guess so. But it's fairly common and for a good long time. I've never read an explanation for it (if there is one). But re-installing GRUB usually fixes it. I think anyone using a GRUB-booted system should have a Super Grub Disk or the Fedora disk or some other way to emergency boot it. Eventually, they'll need it.
Reply With Quote
  #11  
Old 16th August 2009, 11:18 PM
KenJackson Offline
Registered User
 
Join Date: Aug 2008
Location: Maryland, USA
Posts: 90
linuxfedorafirefox
Quote:
Originally Posted by stoat View Post
I guess so. But it's fairly common and for a good long time.
Fairly common?!!

I only recently switched to Fedora from Mandriva. I never had that problem with Mandriva, PCLinuxOS or Ubuntu. And my brief search didn't turn up any similarities.

I am sure that if a novice is talked into ditching Windows and using Fedora Linux and then that happens, he'll curse Linux and pine for Windows. Yeah, I think it's serious.
Reply With Quote
  #12  
Old 16th August 2009, 11:44 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
linuxfedorafirefox
Quote:
Originally Posted by KenJackson

Fairly common?!!
I think so. At least it is around here IMO. But people usually only come here with troubles, so reading here a lot can skew a person's perception of the real world scope of any problem. And maybe it's more of a Fedora thing.

Now in this case here, the victim described only a blinking cursor. The best-known manifestation is the single word "GRUB" followed by a space and a blinking cursor with the system hung there. But there are a couple of other variations. Anyway, I discussed them in another thread here and listed lots of posts as examples and references. I wrote that because this issue comes up here so often. I just link to that now without having to explain it all any more.
http://forums.fedoraforum.org/showthread.php?t=197514
Reply With Quote
Reply

Tags
grub, problems

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 problems MiLev Using Fedora 7 12th October 2009 07:08 PM
Grub problems. ledbythereaper Installation and Live Media 2 12th May 2006 06:46 PM
Problems with Grub on hdb JamesPicone Installation and Live Media 9 15th January 2006 12:00 AM
grub problems ? neighborlee Using Fedora 5 14th December 2005 10:30 PM
GRUB problems Nadrien Installation and Live Media 7 22nd June 2005 08:45 PM


Current GMT-time: 20:38 (Saturday, 18-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