LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
 
Search this Thread
Old 01-09-2005, 04:47 AM   #1
emamarro
LQ Newbie
 
Registered: Sep 2003
Location: italy
Posts: 16

Rep: Reputation: 0
Question MBR & boot invalid sector...


at least happened..after many and many fine installations,last night I tried sid . Reboot and I get a tragic " Hard disk boot sector invalid Press H to retry hard disk any other key for floppy"

I have tried several times by win2000 rescue consolle
CHKDISK
FIXMBR
FIXBOOT

no effect ..I'm only able to boot libranet by floppy ,which I wisely reinstalled creating a floppy

I tried to reinstall grube on /dev/hda with no effect..

Am I forced to format??
really hope not..thanks for help
ciaoo
 
Old 01-09-2005, 10:30 AM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Let me make sure I understand you correctly.

You have used both the xp fixmbr util and grub to write to the mbr and still get invalid boot sector error. I will assume that you are doing this correctly, and that nothing (like a bios setting) has changed the boot order to some hd other than hda first.

I would strongly recommend backing up all data on your hd _now_. It sounds like something may be wrong with the mbr sector on the hd. If this is the case the only solution is to replace the hd, iirc. Hope I'm wrong. You might try dumping the mbr with dd and looking at the signiture bytes at the end of the sector with a hex editor.
 
Old 01-11-2005, 11:43 AM   #3
emamarro
LQ Newbie
 
Registered: Sep 2003
Location: italy
Posts: 16

Original Poster
Rep: Reputation: 0
Unhappy

i'm afraid too..i only was able to install mandrake10.1 using lilo.
Infact when I tried to install debian ,I got a fatal error at step "install grub on MBR".
At reboot,I only got a long list of 99 99 99 99 99 99....and i remember is not a good sign
Thanks for your help
ciaoo ema
 
Old 01-11-2005, 12:31 PM   #4
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
One more suggestion. After you backup whatever data you can, download and run the harddisk manufacturer's disk test suite. I would run all the tests it provides, including llf (write zero's to drive). This will of course wipe the drive clean, backup your data first. I'm pretty certain that this can't fix a bad mbr though. Good luck.
 
Old 01-11-2005, 01:18 PM   #5
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,834

Rep: Reputation: 47
If you installed Debian and it borked your bootsector use NON debian based LiveCD to restore bootsector. Writing new lilo or grub may also help. In short, use rescue CD with options to reinstall bootsector or load your existing Linux. Slackware 10. for example uses second CD as rescue where you can forceload your exising system. Actually, FreeBSD multiboot loader deals with these problems no sweat
 
  


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
mkdosfs generates invalid boot sector HadroLepton Linux - Newbie 6 10-28-2010 12:26 PM
Installed GRUB on MBR or First Sector of boot zillah Fedora 6 06-16-2005 11:46 AM
MBR and First Sector of Boot Partition. mrpc_cambodia Red Hat 1 08-25-2004 01:58 AM
MBR and/or 1st Sector of HDA1 kaputt after attemting dual boot (win/suse9.1) w/ grub Nathanael Linux - General 2 05-29-2004 07:08 AM
"LI" from boot floppy? Can't load XP or Linux. Damaged MBR or boot sector or ...? SparceMatrix Linux - General 10 09-27-2002 01:20 PM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration