Fedora Linux Support Community & Resources Center
  #1  
Old 23rd October 2009, 12:34 PM
spillemw Offline
Registered User
 
Join Date: Nov 2006
Posts: 16
windows_xp_2003safari
FC11 update messes up boot loader

I have my FC11 system set up to automatically download and install updates.
I had to reboot yesterday because of one of these updates. It seems that this update messed up grub. When I rebooted I only got the flickering cursor.

So far I have tried the following using the rescue disk and executing chroot /mnt/sysimage

fdisk -l gives me this result :
I have /dev/sda, /dev/sdb, /dev/sdc
Boot flag is with /dev/sda1 which also has FIlesystem Linux, where the other I notice have filesystem Linux LVM (don't know if that is relevant).

I tried to restore grub.

grub
> find /grub/grub.conf
hd(0,0)
> root (hd0,0)
Filesystem type is ext2fs partition type 0x83
> setup (hd0)

and there were no error messages.

However, no change when rebooting.

The device map says that
hd0 = /dev/sda
hd1= /dev/sdb
hd2= /dev/sdc

I also did a grub-install --recheck /dev/sda

All to no avail.

The following struck me as strange, but not sure how relevant :
- In grub, "find /boot/grub/grub.conf" gave me "file not found"; however, with ls I do see a /boot/grub/grub.conf and also a /etc/grub.conf
- This grub.conf file says that boot=/dev/sdc (where the boot flag is with /dev/sda) and all references are to (hd2,0) whereas the "find /grub/grub.conf" always gives me "(hd0,0)" as said above.
- There seems to be no /grub/grub.conf file on my system except under the /boot directory
- I have also tried resetting the boot flag to /dev/sdc with fdisk, but that did not help either.
- originally, I did set the system up on /dev/sdc by the way

Am just trying to guess now what other combinations I could try. I already tried in BIOS to boot from all the different devices. No luck.
Reply With Quote
  #2  
Old 23rd October 2009, 02:35 PM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,763
windows_xp_2003firefox
Boot the system. At the menu, select the kernel that you want to boot. Press 'e' to edit. See if there is a line referencing (hd2,0). If there is, arrow down to that line and press 'e' to edit. Change it to (hd0,0) press enter and press 'b' to boot. See if that works. If it does, make the change permanent.
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #3  
Old 23rd October 2009, 02:38 PM
spillemw Offline
Registered User
 
Join Date: Nov 2006
Posts: 16
windows_xp_2003safari
Quote:
Originally Posted by glennzo View Post
Boot the system. At the menu, select the kernel that you want to boot. Press 'e' to edit. See if there is a line referencing (hd2,0). If there is, arrow down to that line and press 'e' to edit. Change it to (hd0,0) press enter and press 'b' to boot. See if that works. If it does, make the change permanent.
It seems I wasn't clear I don't even get the menu. System hangs right after BIOS checks.
Reply With Quote
  #4  
Old 30th October 2009, 01:58 PM
spillemw Offline
Registered User
 
Join Date: Nov 2006
Posts: 16
windows_xp_2003firefox
Finally found the issue.

It is important to understand my setup.

I have a system with two IDE drives and two SATA drives that can be configured in RAID. The IDE drives are known to the BIOS as HD-0 and HD-1. They all show up in Fedora as /dev/sdx

After the previous kernel upgrade, I had to set my BIOS to boot from HD-2, which is the first SATA drive or /dev/sda in FC. In fdisk /dev/sda1 carries the boot flag.

After the last kernel upgrade, something got messed up and the system consequently didn't want to boot.
My BIOS however has another option that says "Boot from SCSI". In despair I changed the first boot device to SCSI, and it actually booted.
Reply With Quote
Reply

Tags
boot, fc11, loader, messes, update

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
Installing Grub Boot Loader FC10 to FC11 update woodelf Using Fedora 1 30th July 2009 10:18 AM
Unable to boot after yesterday's update - FC11 BlownCPU Servers & Networking 0 17th June 2009 10:02 AM
how to update the GRUB boot loader Pango853 Using Fedora 2 25th December 2007 09:38 AM


Current GMT-time: 05:21 (Tuesday, 21-10-2014)

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
Murcia - Leusden Photos on Instagram - Lockport