LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 02-27-2005, 10:27 AM   #1
manudath
Member
 
Registered: Oct 2004
Posts: 42

Rep: Reputation: 15
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
 
Old 02-27-2005, 10:35 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
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
 
Old 02-27-2005, 11:00 AM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
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.
 
  


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
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 06:28 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 09:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 05:25 PM
Can I rewrite lilo to mbr? spongebob Slackware 5 03-12-2003 11:20 AM
mbr had over write so lilo is gone how to rewrite lilo to mbr mch Linux - Software 4 10-25-2002 03:55 PM


All times are GMT -5. The time now is 03: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