[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 303
  • Last Modified:

MBR missing / Fedora Core 2

Hi there..

I'm feeling pretty stupid but have to post this..:)

Recently got a new server up and running with Fedora Core 2.  It's a P4-2.8HT with a pair of SATA drives running hardware RAID1

It was working fine, however the Fedora installation didn't have GRUB installed so I thought I would install it.  Somewhere along the lines I messed up and Grub wouldn't boot properly.

So, I figured I'd start over and find my mistakes so did a FDISK /MBR from a DOS boot disk. Now, the server won't boot up..

I can go in via linux rescue mode and see everything, just can't boot...

What  do I do? :)

  • 4
1 Solution
Boot from your cdrom. Then issue the commands
chroot /mnt/sysimage
grub-install /dev/hda
kpmasAuthor Commented:
Thanks.. I tried that, but forgot to chroot first hence got errors in paths/filenames..:)

kpmasAuthor Commented:
OK.. got bootloader reinstalled but now getting

Booting "Fedora Core 2.6.8-1.521smp

root (hd0,0)
Filesystem type is ext2fs,partition type 0x83
kernel /boot/vmlinuz-2.6.8-1.521smp ro root=LABEL=/

Error 15: File not found

Press any key to continue

What now?  I've verifed that the filename is correct.  Is my hd0,0 incorrect?  

When I boot off the recovery disk and chroot /mnt/sysimage... I check device.map and have:

(fd0) /dev/fd0
(hd0) /dev/hde
(hd1) /dev/hdg

There are two SATA drives in this server running hardware RAID1

My grub.conf:

default 0
timeout 10

title Fedora Core (2.6.8-1.521)
root (hd0,0)
kernel /boot/vmlinuz-2.6.8.-1.521smp ro root=LABEL=/
initrd /boot/initd-2.6.8-1.521smp.img

Any input would be appreciated..:)

kpmasAuthor Commented:
My mounts look like this:

/dev/hde3 on / type ext3 (rw)
kpmasAuthor Commented:
Problem resolved.  Changed hd0,0 to hd0,2 (forgot all about numbering starting at 0 even though it was staring right at me)...hehee..



Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now