LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   L 80 80 ... How to rewrite MBR? (https://www.linuxquestions.org/questions/linux-software-2/l-80-80-how-to-rewrite-mbr-295464/)

manudath 02-27-2005 09:27 AM

L 80 80 ... How to rewrite MBR?
 
Hi,

I have a Debian server with RAID-5 running on 3 SCSI drives...

One of my drives have gone bad... and when I try to boot from the 2nd drive, I get this error while booting:

"L 80 80 80 80...."

Someone suggested that the MBR might have got corrupted and I am trying to get my original MBR so that I could boot the system....

Anyone has any ideas regarding this?

Thanks,
Manudath

masand 02-27-2005 09:35 AM

hi there

boot into rescue mode
mount ur linux partion to a directory say /mnt

and chroot to it like

chroot /mnt

then

run

lilo

regards

jiml8 02-27-2005 10:00 AM

your second drive does not have a boot record. If you look, you will often find the first block of a drive that has no MBR is filled with 0x80 for the first 443 bytes, and the partition table after that.

You need to install a bootloader on the drive.


All times are GMT -5. The time now is 09:01 PM.