Solved

MBR missing / Fedora Core 2

Posted on 2004-08-26
5
276 Views
Last Modified: 2013-12-06
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? :)

0
Comment
Question by:kpmas
  • 4
5 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 125 total points
ID: 11907849
Boot from your cdrom. Then issue the commands
chroot /mnt/sysimage
grub-install /dev/hda
0
 
LVL 2

Author Comment

by:kpmas
ID: 11908332
Thanks.. I tried that, but forgot to chroot first hence got errors in paths/filenames..:)

Paul
0
 
LVL 2

Author Comment

by:kpmas
ID: 11913593
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
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

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..:)

Paul
0
 
LVL 2

Author Comment

by:kpmas
ID: 11913601
My mounts look like this:

/dev/hde3 on / type ext3 (rw)
0
 
LVL 2

Author Comment

by:kpmas
ID: 11914107
Problem resolved.  Changed hd0,0 to hd0,2 (forgot all about numbering starting at 0 even though it was staring right at me)...hehee..

Thanks.

Paul
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question