LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
Search this Thread
Old 01-19-2006, 11:23 PM   #1
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Rep: Reputation: 30
boot record not found after fresh installation of fedora -- can't fix!


My old HDD crashed, so I took a brand spanking new drive to install Fedora upon. I burned all 4 ISOs to CD and the installation ran smoothly. When I rebooted, however, my BIOS displayed a funky message:

Searching for Boot Record from IDE-0..Not Found

So, I googled for 9 hours or so and tried everything imaginable to repair:

* I reinstalled (using the CDs once again, and once using a network install)
* I went into linux rescue and performed google-suggested steps that include
1. grub-install /dev/hda
2. grub> root(0,0) / find /boot/grub/stage1 / setup(hd0) (which was successful, by the way, as was the grub-install)
* I edited the grub.conf file manually to match an older grub conf I had used.
* I went back into the linux installation (the GUI) and tried to rewrite my boot loader (I tried both to edit the boot loader and to create a new one with a variety of different options, all of which gave me this error: No kernel packages were installed on your system. Your boot loader configuration will not be changed.)

I did this all to no avail. I'm totally clueless and extremely frustrated here. My Fedora box, prior to the HDD crash, was so nice and friendly, but right now, it's being so mean to me.

Does anyone know what I can do at this point? I am totally out of ideas.

Thanks in advance.

EDIT: I also want to mention that this harddrive is NOT being dual-booted. The harddrive is dedicated to Linux and according to disk druid, I have no partitions being used for anything else.

Last edited by punt; 01-19-2006 at 11:29 PM.
 
Old 01-20-2006, 05:49 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
From linux rescue with chroot used try something like;

/sbin/grub-install --recheck /dev/hda

If that fails what is the output of;

/sbin/fdisk -l (that's the lowercase letter 'L' not the number one)

cat /etc/grub.conf
 
Old 01-20-2006, 08:37 AM   #3
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
Here's the output:

Code:
# grub-install --recheck /dev/hda
Probing devices to guess BIOS drives.  This may take a long time.
Installation finished.  No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not.  If any of the lines is incorrect, fix it and re-run the script 'grub-install'.

(fd0)   /dev/fd0
(hd0)   /dev/hda
Here's where it's kind of tricky, but I don't really think this poses much of a problem (I have partitioned this way in the past)
Code:
# /sbin/fdisk -l
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = clinders of 16065 * 512 = 8225280 bytes

   Device Boot        Start      End      Blocks      Id   System
/dev/hda1   *         1          25       200781      83   Linux
/dev/hda2             26         2575     20482875    83   Linux
/dev/hda3             2576       3850     10241437+   83   Linux
/dev/hda4             3851       19457    125363227+  5    Extended
/dev/hda5             3851       5125     10241406    83   Linux
/dev/hda6             5126       6400     10241406    83   Linux
/dev/hda7             6401       6531     1052226     82   Linux swap / Solaris
/dev/hda8             6532       19457    103838063+  83   Linux
Code:
# cat /etc/grub.conf
# grub.conf generated by anaconda
# <snip>
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.11-1.1369_FC4)
    root (hd0,0)  
    kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/LABEL=/ rhgb quiet
    initrd /initrd-2.6.11-1.1369_FC4.img
Hope that helps. I apologize for any typos as I did this all by hand.
 
Old 01-20-2006, 10:55 AM   #4
Chris Sharman
LQ Newbie
 
Registered: Jan 2006
Location: Preston, Lancashire
Posts: 12

Rep: Reputation: 0
I had that problem.
fc4 seems to need symbolic links initrd & vmlinuz - I think it's cp -s you use.
Go to the boot folder, and cp -s vmlinuz-2.6.11-1.1369_FC4 vmlinuz
Do the same for initrd, and change grub.conf to use the new links.
That fixed fc4 for me
 
Old 01-20-2006, 11:15 AM   #5
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
I'll try that. I am desperate to get this up and running. I'm out of town until Sunday (thank you, Treo 650, for letting me check this forum and respond) but I'll take any and all suggestions and experiment (hopefully for a shorter period of time this time) when I get back.

Thanks for your help! I'll keep checking this thread and update you with the status. Any suggestions are still welcome and appreciated.

tami
 
Old 01-20-2006, 09:05 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
You can also try editing at boot time the kernel line and change the 'root=/LABEL=/' portion to be the actual root partition. Since your grub.conf file has been <snip> I cannot say what that is, but normally it is in the top comments section.
 
Old 01-21-2006, 05:55 PM   #7
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Lenard
You can also try editing at boot time the kernel line and change the 'root=/LABEL=/' portion to be the actual root partition. Since your grub.conf file has been <snip> I cannot say what that is, but normally it is in the top comments section.
When I say <snip>, I meant that it contains the generic comments that are usually in an anaconda-generated grub.conf and not anything specific to my setup itself. I would have been more thorough in my post but I was running off to catch a train and didn't think those comments were entirely useful. I guess I was wrong. If they are still needed, I will post those comments tomorrow when I have access to my box once again.

Anyway, if you have any other suggestions, please keep them coming as I intend to try everything tomorrow!
 
Old 01-21-2006, 07:05 PM   #8
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Yes they are in fact helpful, you need them I don't really....

From my grub.conf file, for example;

# kernel /vmlinuz-version ro root=/dev/hda5

So, in my case; root=LABEL=/ equates to root=/dev/hda5
 
Old 01-22-2006, 04:14 PM   #9
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
I tried both of the above suggested solutioins to no avail. What do I do next?

btw, the <snipped> code is as follows:

Code:
# Note that you do not have to rerun grub after making chages to this file
# NOTICE: You have a /boot partition.  This means that all kernel and initrd paths are relative to /boot/, eg.
#        root (hd0,0)
#        kernel /vmlinuz-version ro root=/dev/hda6
#        initrd /initrd-version.img
I did replace root=LABEL=/ with root=/dev/hda6 as suggested.

Last edited by punt; 01-22-2006 at 04:25 PM.
 
Old 01-22-2006, 05:05 PM   #10
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
Okay, I'm thinking this may be related, but I'm not so sure.

I have my grub setup in /boot/grub/

When I go into grub>, I do find /boot/grub/stage1

I'll get Error 15: File not found.

It does work, however, when I do find /grub/stage1 (it returns hd0,0)

I'm not sure if this means anything, but since I really need to get this up and running, I'm going to post any information that may be helpful at this point.
 
Old 01-22-2006, 05:54 PM   #11
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
Two more updates:

I have a feeling this has something to do with FC4. From what I'm reading, this isn't unheard of, and I don't see it happening with FC3. I'm surprised that nobody took note of this and is doing anything to resolve it. I have tried lilo to no avail as well.

I am reformatting my drive -- this time, without a /boot partition (I still will maintain /usr, /, /var/, /home, and a /data partition for personal use). I want to see if the /boot partition has any effect on this (I'm guessing not but since I need fresh ideas, I'm just going to try everything).

I had upgraded grub and glibc (which was required), also without success. I discovered that SELinux had been causing a great deal of problems with regards to using rpms. It's best to disable this.

If this installation fails, I'm going to try to install FC3 and then yum upgrade to FC4. For some reason, I have a feeling that that may be more successful.
 
Old 01-22-2006, 10:14 PM   #12
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
No love on FC3 either.
 
Old 01-23-2006, 12:06 PM   #13
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Been reviewing this thread, The only thing I can thing of that might be an issue is possiblity that your system BIOS may not be set correctly for the new hard drive. You may want to modify the BIOS settings and/or check and see if a BIOS upgrade is available.
 
Old 01-23-2006, 12:28 PM   #14
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
Thanks Lenard, I appreciate it. I'm guessing that's the problem too. I will try to Flash the BIOS but then if that doesn't work, I bought another motherboard to avoid this problem as it's way too time consuming at this point.
 
Old 01-23-2006, 04:10 PM   #15
punt
Member
 
Registered: Jun 2001
Distribution: Fedora 14
Posts: 336

Original Poster
Rep: Reputation: 30
I've gotten further than ever before by flashing my BIOS. I think this will do it!

Edit: This is an ECS K7S5A which was using a 2002 version of the BIOS. The 2003 version of the BIOS seemed to have helped.

Last edited by punt; 01-23-2006 at 04:16 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 3 Installation CDs Fix? danielx Fedora - Installation 1 11-21-2004 09:27 PM
Fresh Slackware 9.1 installation requires boot disk to boot smithtodda Slackware - Installation 7 06-23-2004 09:06 PM
Fedora 2 fresh installation - problem with rpm files Robstro Fedora 3 05-22-2004 05:27 PM
How to Fix Your Master Boot Record with Knoppix simsjr Linux - General 5 04-25-2004 09:06 PM
Fresh Fedora Installation wont boot up? don_dimo Linux - Software 1 01-19-2004 06:54 PM


All times are GMT -5. The time now is 09:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration