Fedora Linux Support Community & Resources Center
  #1  
Old 18th June 2008, 04:51 PM
dwhitney67 Offline
Registered User
 
Join Date: Jul 2006
Posts: 83
Exclamation Help! F9 system updated; now system won't boot

Hello,

I just updated my F9 system this morning (2008-06-18) with the latest packages, which includes kernel 2.6.25.4-30.fc9.i686.

When I rebooted my system after the installation of all the packages was completed, the system hangs. All I see is the "GRUB" word; from there the system hangs.

Using Knoppix 5.1, how can I fix Grub in the MBR?

Knoppix is able to see my system's /boot (/dev/hda1) partition and has mounted it at /media/hda1. Using the 'mount' command, I was able to mount my system's /home (/dev/hda2) partition at /media/hda2, and the root-partition (/dev/hda3) at /media/hda3.

Last edited by dwhitney67; 18th June 2008 at 05:03 PM. Reason: Added more information...
Reply With Quote
  #2  
Old 18th June 2008, 05:03 PM
patrox Offline
Registered User
 
Join Date: Aug 2006
Posts: 75
Look at the end of this thread there is a solution that worked for me:
http://forums.fedoraforum.org/forum/...5&page=2&pp=15

But I'm not sure if chroot exists on the knoppix disc...
Reply With Quote
  #3  
Old 18th June 2008, 05:18 PM
scotty38's Avatar
scotty38 Offline
Registered User
 
Join Date: Mar 2008
Location: Nottingham, UK
Age: 18
Posts: 270
You might also want to check out Super Grub. It's helped me more than a few times I can tell you

http://www.supergrubdisk.org/
Reply With Quote
  #4  
Old 18th June 2008, 05:42 PM
dwhitney67 Offline
Registered User
 
Join Date: Jul 2006
Posts: 83
Patrox -

Aside from editing your /etc/fstab file, was anything else done? I replaced all of the UUID stuff in my /etc/fstab, and in its place I insert /dev/hda1 (for /boot), /dev/hda2 (for /home), and /dev/hda3 (for /). I did not know what to replace the UUID used by the swap partition.

My /boot/grub/menu.lst still refers to the UUIDs. Should this file also be edited to use the /dev devices I specified in the /etc/fstab file?

From what I can tell, it is not necessarily the /boot/grub/menu.lst file nor the /etc/fstab that is the problem, but instead the contents of the MBR. If it is the latter, how can I recreate the grub setup in the MBR?
Reply With Quote
  #5  
Old 18th June 2008, 05:53 PM
scotty38's Avatar
scotty38 Offline
Registered User
 
Join Date: Mar 2008
Location: Nottingham, UK
Age: 18
Posts: 270
Quote:
Originally Posted by dwhitney67
From what I can tell, it is not necessarily the /boot/grub/menu.lst file nor the /etc/fstab that is the problem, but instead the contents of the MBR. If it is the latter, how can I recreate the grub setup in the MBR?
I refer you to my previous post
Reply With Quote
  #6  
Old 18th June 2008, 06:15 PM
dwhitney67 Offline
Registered User
 
Join Date: Jul 2006
Posts: 83
Quote:
Originally Posted by scotty38
I refer you to my previous post
I'm looking at it right now... however, I don't have a spare CD/DVD-R... and my system will not support booting from a USB-stick.

I was hoping for a command-line solution that I could employ from Knoppix.
Reply With Quote
  #7  
Old 18th June 2008, 06:25 PM
scotty38's Avatar
scotty38 Offline
Registered User
 
Join Date: Mar 2008
Location: Nottingham, UK
Age: 18
Posts: 270
Ah ok.

Assuming you're at a GRUB prompt rather than it just hanging, this might help you work something out:

http://www.redhat.com/docs/manuals/l...-commands.html


Edit:

Ok you said it hangs, scrub that then.....
Reply With Quote
  #8  
Old 18th June 2008, 07:19 PM
dwhitney67 Offline
Registered User
 
Join Date: Jul 2006
Posts: 83
Quote:
Originally Posted by patrox
Look at the end of this thread there is a solution that worked for me:
http://forums.fedoraforum.org/forum/...5&page=2&pp=15

But I'm not sure if chroot exists on the knoppix disc...
Well, it looks like I may have solved the Grub issue using the instructions in your post as a guide. I did NOT have to modify the /etc/fstab or the /boot/grub/menu.lst.

Here is what I did using a Knoppix 5.1 terminal:
Code:
su
mount /dev/hda3 /media/hda3
mount /dev/hda1 /media/hda3/boot
chroot /media/hda3
/sbin/MAKEDEV hda
/sbin/grub /dev/hda --recheck
/sbin/grub << EOF
device (hd0) /dev/hda
root (hd0,0)
setup (hd0)
quit
EOF
exit
reboot
(and remove Knoppix CD before reboot).
Note that I needed to use 'hda', and not 'sda'.

I hope that this ***** never happens again! It seems that with every update that Fedora puts out, I need to remember to cross my fingers and hoping that nothing bad happens. This is not the first time I have been burnt with a Fedora update.

Anyhow, Patrox, thank you very much for your help.

Last edited by dwhitney67; 18th June 2008 at 08:01 PM.
Reply With Quote
  #9  
Old 18th June 2008, 07:58 PM
patrox Offline
Registered User
 
Join Date: Aug 2006
Posts: 75
you are welcome!

/ Patrik
Reply With Quote
Reply

Tags
boot, updated

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
Updated system, now can not boot into runlevel 5 michael12345 Using Fedora 12 13th September 2009 09:16 AM
updated system, now card reader broken snyberg Using Fedora 4 10th July 2006 09:54 AM
System reboots: updated kernel on x86_64 not working suraj Using Fedora 0 17th January 2006 07:06 AM
Updated = System won't start = Panic potsilui Installation and Live Media 4 16th April 2005 06:44 PM


Current GMT-time: 09:30 (Thursday, 23-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