LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 03:11 AM   #1
sandy_obrien
Member
 
Registered: Aug 2003
Posts: 49

Rep: Reputation: 15
I think I messed up my MBR...


Alright, so I'm running GRUB to select between my two OS's that are on two seperate physical drives, (Red Hat 9 + Windows XP). Red Hat boots like a charm, not a problem, but when I select DOS. I get this screen...


Quote:
Booting 'DOS'
rootnoverify (hd0,0)

chain loader +1
Then proceeds to do nothing....

... And that doesn't really mean anything to me. I know I have my partitions set up correctly. Is there anything I can do to fix this problem...

I would have done some fiddling around myself at the GRUB menu, but I don't want to permanently damage anything.

THANK-YOU!
 
Old 05-12-2004, 04:56 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
use this:

title Windows XP
root (hd0,0)
makeactive
chainloader +1

not sure if you have a typo err in your post above and in your grub.conf.
if you still have problems, post the output of fdisk -l and your grub.conf entries (without the comments).
 
Old 05-12-2004, 03:17 PM   #3
sandy_obrien
Member
 
Registered: Aug 2003
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by born4linux
use this:

title Windows XP
root (hd0,0)
makeactive
chainloader +1

not sure if you have a typo err in your post above and in your grub.conf.
if you still have problems, post the output of fdisk -l and your grub.conf entries (without the comments).
Sure, I'll post them. Can you tell me how? I'm pretty new at this.
 
Old 05-12-2004, 07:03 PM   #4
sandy_obrien
Member
 
Registered: Aug 2003
Posts: 49

Original Poster
Rep: Reputation: 15
BUMP

I sort of need to have this fixed tonight, thanks!
 
Old 05-12-2004, 07:55 PM   #5
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
as a last resort - if you can't get it fixed and absolutely have to get into m$ tonight, boot to your m$ xp cd-rom and use the utilities option to recover the mbr. I say as a last resort only because recovery this way will not let you boot back to linux unless you have a recovery floppy disk made already.
 
Old 05-12-2004, 08:46 PM   #6
sandy_obrien
Member
 
Registered: Aug 2003
Posts: 49

Original Poster
Rep: Reputation: 15
Yeah, I'm almost ready to do that if someone doesn't help me out with my MBR.

Thanks.
 
Old 05-14-2004, 02:12 AM   #7
sandy_obrien
Member
 
Registered: Aug 2003
Posts: 49

Original Poster
Rep: Reputation: 15
I still need help with this...


bump
 
Old 05-14-2004, 07:04 AM   #8
sandy_obrien
Member
 
Registered: Aug 2003
Posts: 49

Original Poster
Rep: Reputation: 15
I tried editing my grub.conf at my start up like you suggested but the 'title Windows XP' line was unrecognized so I removed it, and this is what happend:

Quote:
Booting command-list

root (hd0,0)
Filesystem type unknown, partition type 0x7
makeactive
chainloader +1

And Here is the output of fdisk:

Quote:

Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 14592 117210208+ 7 HPFS/NTFS

Disk /dev/hdb: 33.8 GB, 33820286976 bytes
240 heads, 63 sectors/track, 4368 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4368 33022048+ 83 Linux
Anymore help would be great,

Thanks!

Last edited by sandy_obrien; 05-14-2004 at 07:10 AM.
 
Old 05-14-2004, 08:04 AM   #9
explorer
Member
 
Registered: Feb 2003
Posts: 229

Rep: Reputation: 34
Sandy - I installed RH9 and RHE 2.1 before and had the same problem booting into windows with grub and I never did get it to work. Would it be possible for you to re-install RH9 and choose lilo as the boot loader instead of grub ? or, I think RH has a boot config tool, redhat-boot-config or something like that - maybe you can fix it or change it to lilo there.

Last edited by explorer; 05-14-2004 at 08:14 AM.
 
Old 05-16-2004, 04:14 PM   #10
sandy_obrien
Member
 
Registered: Aug 2003
Posts: 49

Original Poster
Rep: Reputation: 15
^^ I could possibly try that


I'm stilling looking to fix my grub.conf right now, i'll use what you said (explorer) as a sort of latst resort.


bump.
 
Old 05-16-2004, 11:26 PM   #11
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Is hd0,0 correct? I would suspect it being something like hda,1. But that's just thinking in linux terminology, I could be totally off.
 
Old 05-17-2004, 01:55 AM   #12
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
hd(0,0) is synonymous with /dev/hda1. Still, you might want to check the layout of your system to make sure you hit the right partition...

Good luck.
 
Old 05-17-2004, 02:26 AM   #13
kinasz
Member
 
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: FreeBSD, Suse
Posts: 103

Rep: Reputation: 15
I had the same problem with grub and RH9. You can install lilo by running "kcontrol" then "System Administration" then "boot manager". It has an auto detect that should work.
 
  


Reply



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
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 05:28 PM
Open bsd messed up my MBR, problem with installing Slackware lilo klemen Slackware 2 04-06-2005 05:37 AM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
MBR Messed Up; How to use rescue? KarlT Linux - Software 2 12-23-2003 03:14 PM

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

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