LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-12-2004, 02:11 AM   #1
Arusegawa
LQ Newbie
 
Registered: May 2004
Location: Pittsburgh/Baltimore
Distribution: Mandrake 9.2
Posts: 7

Rep: Reputation: 0
Exclamation My computer won't boot, and i think its a bad MBR...


Hi,
I've been dual booting XP professional and Mandrake 9.2 for a while. My friend's external hard drive failed, so, in order to recover the data onto my hard drive, I had to erase my linux partitions (not enough space) . To do this, I used Partition Magic 8.0. After recovering the data to my computer and restoring it to its original drive, I restarted my computer. Lo and behold, right after the BIOS finishes the tests and stuff, instead of going to the LiLo screen, I'm greeted with a black screen with an L in the corner followed by columns with the number '99' in them.

A brief overview of my computer. I'm using a Asus P4C800 Deluxe with a Seagate 120GB SATA HD, and a Hitachi 160GB SATA HD.
The hard drive situation is messy - I was originally using the Seagate (let's call it C: drive) until it started having major issues, and the drive eventually went kaput. After many attempts to restore it, I bought the Hitachi (lets call it D: ) and installed windows on it, leaving a sizable partition for a linux distro. In windows, it called D: my primary drive, and C: was just a plain ol' NTFS drive. I was able to view C: and deleted the windows files off it, but there were some folders I was unable to remove. So, i was running C: as a storage drive and D: as my primary disk. I then installed Mandrake on the empty partition (lets call this H: ) and all was good...

Until I formatted the linux (ext3) partition.

I think this a MBR problem. (ie the MBR got formatted over) I want to try booting into the recovery console and doing a 'fixmbr' and 'fixboot', but am unsure as to which I should run first. Also, will this render my hard drives inacessible? And what does each specifically do?

If it matters, I also have Symantec ghost installed.

wow, long post...
thanks

 
Old 05-12-2004, 08:42 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
'fixmbr' installs the Windows mbr. Run it.
What happened was that the lilo Linux bootloader was on the mbr. It just loads it's second part that's in the linux partition. You deleted the partition, along with the second part, so it nothing to load and just showed a bunch of 99's.
 
Old 05-12-2004, 01:09 PM   #3
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
fdisk /MBR
does the same thing :-)
 
Old 05-12-2004, 01:46 PM   #4
AeSix
LQ Newbie
 
Registered: May 2004
Distribution: Slack 9.1 Heavily modded
Posts: 7

Rep: Reputation: 0
fdisk /cmbr
this will alow you to fix the mbr of a disk other the the primary master.
I think it's in the DOS format, ( C:\ D:\ E:\ )... its been a while since I've had to use this.
good luck tho
 
Old 05-14-2004, 04:50 AM   #5
Arusegawa
LQ Newbie
 
Registered: May 2004
Location: Pittsburgh/Baltimore
Distribution: Mandrake 9.2
Posts: 7

Original Poster
Rep: Reputation: 0
w00t

Yo-
Thanks for the replies. I ended up booting into recovery console and using 'fixmbr', hitting 'y' for the warning (apparantly this is a bug *gasp* in windows) and with very little fanfare it restored my MBR.

I think the fdisk /cmbr commands are for previous versions of windows, but, with this being the first time I had to worry about my MBR, I am not really certain.
Thanks for your input!
-Aru
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad HDD or MBR? Dr3n Linux - Hardware 3 10-13-2005 08:05 AM
Computer HANGS! omg that's bad... OmniXBro General 6 03-07-2005 01:47 PM
MBR bad? eggoz Linux - Software 1 11-27-2004 03:02 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
boot record (MBR) emperor13 Linux - General 1 12-01-2001 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:00 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
Open Source Consulting | Domain Registration