LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-23-2004, 01:14 AM   #1
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Rep: Reputation: 15
MBR problem?.. (XP CD not even booting)


I think there is a problem with my MBR.

First off.. GRUB doesn't load,
all it says is
GRUB Loading Stage1.5...

Grub is loading, please wait...

then I wait for hours and nothing happens.

I want to go into the XP recovery console, but as I put my XP CD inside the drive, all it says is "Windows is loading configuration files" or something to that manner, then a black screen.

How can I fix this in Linux? Right now, all I can do is go into SuSE 9.1 by booting off the SuSE 9.1 DVD, going into manual installation, and manually booting up the reiserfs partition.

Also, a link to a windows boot disk that I can create in LINUX would be greatly appreciated, as I can then use fdisk /mbr to see some stuff, or what is the linux equivalent of that command?

Thanks in advance !
k
 
Old 05-23-2004, 02:14 AM   #2
46&2
Member
 
Registered: Mar 2004
Location: Idaho, USA
Distribution: Gentoo
Posts: 67

Rep: Reputation: 15
sounds like you've toasted something, i wouldn't doubt it if it were the mbr.

not a huge problem though. do you know what brand your hard drive is? if you do, there are often utilities on the manufacturer's website available for download which can repair a damaged mbr (among other things). it is basically a low-level format (write drive to 0s), simple, but effective most of the time.

as for an equivilant command or utility, i don't know. can't help you there. good luck!
 
Old 05-23-2004, 02:29 AM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Boot into Linux and try this utility:
http://demonbane.org/ms-sys
usage:
ms-sys -m /dev/hda
change hda to where your MBR is if necessary
also make sure you backup current MBR onto a floppy disk in case somethnig happens
Code:
dd if=/dev/hda of=mbr.old bs=512 count=1
 
Old 05-23-2004, 03:44 PM   #4
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for that little program.. I tried it and it didn't work. "Missing Operating System".

The linux fdisk can read all the partitions, but when I boot off a win98SE floppy, fdisk says that my first partition is only 764 Mbytes, and that it's non DOS, 2nd is 10 gigs (my linux one), and 3rd is NTFS (5 gigs).

Now.. my NTFS windows partition was 70 gigs.. and linux can recognise that, but the DOS fdisk sees the swap (probably?) as the first partition, and sets the reiserfs partition as active.

Why wouldn't the DOS fdisk be able to read my main NTFS partition??

And why does this prevent me from booting off my XP CD?

I do know that the NTFS partition is intact and hasn't been wiped out (I mount it to /windows/C on linux, and have accessed it many times).

Ahhhh.. what do I do? I need XP back ...
 
Old 05-24-2004, 03:13 AM   #5
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Original Poster
Rep: Reputation: 15
Well.. I tried a fdisk /mbr, and that did nothing (on a win98 boot disk).

Right now, my primary goal is to get my winXP CD working, so I can run the commands fixboot and fixmbr through the recovery console.

I still can't boot off the XP CD though, all it does is inspect my hardware configuration, then give me a blank screen.
 
Old 05-24-2004, 04:16 AM   #6
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
First try to reinstall GRUB.

Boot into Linux and then
grub-install /dev/hda

Then edit the menu.lst for the Windows partition
and try to boot.
 
Old 05-26-2004, 02:31 AM   #7
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Original Poster
Rep: Reputation: 15
Nothing... still can't get it to work.

What else can I try?
 
Old 05-26-2004, 06:23 AM   #8
Vlad-A
Member
 
Registered: May 2004
Location: Vienna, Austria
Distribution: Open SuSE 11, Mac OS X 10.5
Posts: 299

Rep: Reputation: 33
Well as last chance, take a look on:

http://portal.suse.com/sdb/en/2004/0...booting91.html
 
Old 05-26-2004, 06:45 AM   #9
Sohni
Member
 
Registered: Sep 2003
Location: Planet Earth
Distribution: SuSE Linux 9.0
Posts: 83

Rep: Reputation: 15
IT seems that you have the same problem in Windows and in Linux. Are you sure your graphics card is not a toast. Or have you changed some setting in BIOS - your problems seem like Operating System is trying to initiate your graphics card after what everything falls apart.
 
Old 05-26-2004, 07:33 AM   #10
sbogus
Member
 
Registered: May 2004
Location: Germany, Munich
Distribution: SuSE Pro Releases 7.3, 9.0, CentOS 4.0, Kubuntu 6.0x
Posts: 103

Rep: Reputation: 15
Quote:
Originally posted by Vlad-A
Well as last chance, take a look on:

http://portal.suse.com/sdb/en/2004/0...booting91.html
Yeah, great article! Good to know now where the buggy nature of the wrong partition tables comes from.

Thanks for this information Vlad-A.

Kind regards,
sbogus
 
Old 05-26-2004, 04:02 PM   #11
Kelvie
LQ Newbie
 
Registered: Jul 2003
Distribution: SuSE !
Posts: 22

Original Poster
Rep: Reputation: 15
Very nice site indeed!

Quote:
Originally posted by Vlad-A
Well as last chance, take a look on:

http://portal.suse.com/sdb/en/2004/0...booting91.html
THANK YOU

That ends my long Windows drought :P

Thank you everyone (especially sbogus) for all their input! This was indeed quite the learning experience.


I find that now that I have XP back.. I actually prefer linux ! Too bad there are still many things you can't do in linux..

I'm gonna partition 30 more GB to linux.. would it be a bad idea to install SuSE ENTIRELY (as in, every single package?)?

There would be a lot of conflicts, right?

Thanks again !!
Kind regards,
Kelvie
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install lilo to MBR and no floppy booting msalimane Slackware 7 01-28-2013 11:54 PM
Trouble booting anything, need help with MBR spartn119 Linux - Newbie 2 01-31-2005 11:48 PM
Dual Booting MBR/1st sector subaruwrx Linux - Newbie 1 11-19-2004 07:01 AM
Dual Booting and MBR? pablowablo Linux - Newbie 8 08-29-2004 12:18 AM
MBR corrupted when dual booting WINXP and RH 7.3 cliveleung Linux - Hardware 3 06-19-2003 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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