LinuxQuestions.org
Help answer threads with 0 replies.
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 12-02-2003, 04:02 PM   #1
m3rajk
LQ Newbie
 
Registered: Dec 2003
Distribution: red hat (7.1 and 9.0)
Posts: 9

Rep: Reputation: 0
mbr issue on dual boot rhl7.1 dominant system


i have a dual boot system with rhl 7.1 dominant and windows me for compatability with family members and non-"computer geek" friends.

windows decided it needed to scandisk
that blewout the mbr.

the win me boot disk can't fix it. it doesn't see a valid fat16/fat32 partition. the win me cd doesn't see an os.

the linux cd and boot disks die trying to find the kernel and don't let me do anything.

at this point i'm stumped on how to fix the mbr.


i would GREATLY appreciate any help you can give me
 
Old 12-02-2003, 04:08 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Re: mbr issue on dual boot rhl7.1 dominant system

Quote:
Originally posted by m3rajk
windows decided it needed to scandisk
that blewout the mbr.
Unlikely. MS tools ARE dumb, but not that
badly programmed. I'd assume you just
encountered a hardware fault.

Quote:
the linux cd and boot disks die trying to find the kernel and don't let me do anything.
And this confirms my thesis. A bootable CD doesn't
need a MBR on the HDD for anything. Did you play
with BIOS settings to make the box faster, or something
to that effect?



Cheers,
Tink
 
Old 12-02-2003, 07:20 PM   #3
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
This sounds strange and ominous.
Quote:
the linux cd and boot disks die trying to find the kernel and don't let me do anything.
Your profile says RedHat (7.1 and 9.0). So I am pretty sure RH9.0 has rescue mode, I don't know about 7.1?

Put in RH-9.0 CD#1 and boot into rescue mode. This should mount your linux partition somewhere, lets pretend it mounts it at /mnt/system, you can find out by typing mount, but I think it tells you. Anyway all you need to do is run lilo like this:
lilo -r /mnt/system

If rescue mode doesn't detect and mount the linux partition then probably you have a bad partition table. There are several threads here on fixing that. Recover Partition Thread
That should fix it.
 
Old 12-02-2003, 11:52 PM   #4
m3rajk
LQ Newbie
 
Registered: Dec 2003
Distribution: red hat (7.1 and 9.0)
Posts: 9

Original Poster
Rep: Reputation: 0
posssibilities

re:
Unlikely. MS tools ARE dumb, but not that
badly programmed. I'd assume you just
encountered a hardware fault

it wasactually M$IE that caused the issue that made me feel scan disk was necessary when it crashed with a general protection fault.

re:
And this confirms my thesis. A bootable CD doesn't
need a MBR on the HDD for anything. Did you play
with BIOS settings to make the box faster, or something
to that effect?

linux cd i used was the source code, not binary. i was told by a friend i used the wrong one. source code booted and wanted to go to rescue mode (7.1).
i haven't touched the bios in about a month since i added a new cdrw since hte old one died.

re:
Your profile says RedHat (7.1 and 9.0). So I am pretty sure RH9.0 has rescue mode, I don't know about 7.1?

apparently it does.


however it all runs off the disk. i've neverhad to go thisfar into the guts of linux. i am not a guru. i do prefer it for it's stability but mostly just manuever around in it and use it for things like programming and the red hat 9 box is an internal server (home network)

i expected a mini kernel on the emergency boot disk so it would not need to find it...yetit complains about thatand then gives me a prompt it doesn't respond to


btw: i tired the recover and it gave me a shell and i tried
lilo -r /mnt/system
as well as trying to get grub to remake it, but in both it complained it couldn't find the program (lilo and grub)

i think it was trying to run off the image on the disk which isn't full

Last edited by m3rajk; 12-02-2003 at 11:55 PM.
 
Old 12-03-2003, 07:21 AM   #5
maximos
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake 9.1, Redhat 9.0
Posts: 18

Rep: Reputation: 0
Working as a second level computer tech for windoze enviroment I might be able to get you into Win but can't gauntee linux. It sounds like your partition table may have been corrupted. Boot a win 98/me boot disk and do a fdisk /mbr. This will repair your MBR but boot you to windows. Then might trying running the Red Hat repair.

Part of the problem that caused your general Protection fault could be due to the fact your running ME. Now I am not fond of anything M$ made but that program is hands down the worse of all the os's. They basically took Win 98 and removed all its functionality and stability and called it a slim stable os. But it is not. If you have a 98 cd, go back to that. Windows ME is very unstable and you might see this again.
 
Old 12-03-2003, 08:56 AM   #6
m3rajk
LQ Newbie
 
Registered: Dec 2003
Distribution: red hat (7.1 and 9.0)
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by maximos
Working as a second level computer tech for windoze enviroment I might be able to get you into Win but can't gauntee linux. It sounds like your partition table may have been corrupted. Boot a win 98/me boot disk and do a fdisk /mbr. This will repair your MBR but boot you to windows. Then might trying running the Red Hat repair.

Part of the problem that caused your general Protection fault could be due to the fact your running ME. Now I am not fond of anything M$ made but that program is hands down the worse of all the os's. They basically took Win 98 and removed all its functionality and stability and called it a slim stable os. But it is not. If you have a 98 cd, go back to that. Windows ME is very unstable and you might see this again.
i tried that and it didn't find any fixed disks.


ironically, everything not backed up is on windoze. including some things i had recently been sent by a frien and asked to hold onto. so iwas planning on backing everything up yesterday. i can try again because it did find drives after attempting the linux recovery from the 7.1 disks. (floppy and dvd to floppy, dvd, cdrw, zip)

Last edited by m3rajk; 12-03-2003 at 08:58 AM.
 
Old 12-03-2003, 08:59 AM   #7
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
In my post I said
Quote:
lets pretend it mounts it at /mnt/system
I wasn't telling you to go to rescue mode and type lilo -r /mnt/system because I'm not sure where RedHat mounts partitions in rescue mode. I said
Quote:
you can find out by typing mount, but I think it tells you.
that means that when you go to rescue mode it normally tells you where it is mounting your linux partitions, but if it doesn't then you can type mount and find out.

If you got this error:
bash: lilo: command not found
You were not in rescue mode if you got that error because I can just about guarantee you every rescue disk ever made for linux has lilo on it.

If the partition tables is borked fdisk /mbr will not fix it, that just fixes the bootsector not the partition table.
I said
Quote:
There are several threads here on fixing that.(the partition table)
Then I posted a link to a thread that may help you restore your partition table, IF the partition table is trashed. I am not telling you it is, I'm just saying it COULD be.
 
Old 12-04-2003, 09:34 AM   #8
m3rajk
LQ Newbie
 
Registered: Dec 2003
Distribution: red hat (7.1 and 9.0)
Posts: 9

Original Poster
Rep: Reputation: 0
at this point....

i think i was a little quick to assume mbr. the bios had an issue with the hd. resetting that on to the cable and then going to the bios and getting the hd in it allows linux to function PERFECTLY.

however, when i access parts of the hd in windows through linux (linux sees windows in the /mnt directory) i get several print outs with the following information

this apppears several times
bread in fat_access

this appeared twice
directory 651 bad FAT
directory 652 bad FAT


there was a little more but i wasn't fast enough to write it all down. i figure at this point i probably need to go to the microsofe developers network boards and ask them how to fix the fat_access file, but figured i should at least let people know what happened
 
Old 12-04-2003, 07:17 PM   #9
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
You might try scandisk again. Boot into safe mode first to reduce the risk of something else crashing scandisk.
 
  


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
broken MBR on dual-boot drive blastradius Ubuntu 4 08-18-2006 07:44 AM
problem with MBR / dual boot AdmiralFreezbee Linux - Newbie 11 03-31-2005 04:19 AM
MBR help dual boot xp and fc2 theconfused Fedora 7 09-03-2004 06:00 PM
Dual-boot on two Hard Disks, MBR, etc admanb Linux - Newbie 4 02-06-2004 05:45 PM
Dual boot without touching the MBR? senectus Linux - Newbie 4 07-14-2003 10:17 AM


All times are GMT -5. The time now is 10:56 AM.

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