LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-14-2003, 04:38 AM   #1
Tweaker
LQ Newbie
 
Registered: Feb 2003
Posts: 21

Rep: Reputation: 15
Unhappy XP hosed when installed Linux


Hi folks.

It's a long sad story. The short version is this.
I have two HDDs on my machine, I had WinXP Pro on C: and installed Redhat Linux 9 on the other HDD. Installation went fine and the bootloader Grub got installed in the C: drive.

When I booted, Grub would refuse to do anything. I could boot into Linux using the bootfloppy I created during installation.
After a day, I figured out that my bios wasn't setup right. I fixed that and Grub ran fine giving me the option to goto XP.
However, it would not load instead demand that I insert the installation CD so it could "repair install". I should have done that.

Instead I went to the recovery console and did "fixmbr". Now it acted as if it was booting but instead gave me a blank screen with a mouse pointer. Did not help. Did "fixboot".. No help...
Now it gives me a BSOD with the error that the drive is unmountable or something like that.

I tried repair install mode but now it says that it cannot understand the partition type..
Am I screwed? Looks like all of my data is gone is partition table is messed up.. How do I restore it so it works? All the recovery stuff out there require dos or windows.. I only have linux running now.

Any info would greatly be appreciated, thanks.
 
Old 04-14-2003, 05:05 AM   #2
fig
LQ Newbie
 
Registered: Apr 2003
Location: Dublin, Ireland
Distribution: Redhat 9.0
Posts: 19

Rep: Reputation: 0
It sounds like to me that the Master boot record has been done over.

oh, and I'd be a bit carefull with the xp install disk. I've had some problems with repairing stuff like that, and I've overwritten partitions without meaning to.

(yes, very helpful, I know)

Last edited by fig; 04-14-2003 at 05:15 AM.
 
Old 04-14-2003, 05:34 PM   #3
newbieME
Member
 
Registered: Mar 2003
Location: BC Canada
Distribution: Slack Niner ;)
Posts: 185

Rep: Reputation: 30
Okay i hope you haven't formatted your hdd or overwritten any files.
If you haven't then we still have a chance of recovering your hdd(hopely). It's a good thing u have linux on that other hdd. See if you can disconnect that for now while you try to recover ur xp hdd since this will simplify things.

First of all, get yourself a boot disk that works! at this point it might be hard finding a boot disk that will work since ur mbr, partition type and table are all whacked.
http://www.bootdisk.com
Look there and look for a boot disk that works! get the most simple one that will just let you boot!

And now here is a neat little proggy
http://www.cgsecurity.org/index.html?testdisk.html
this will scan ur hdd and look for possible partitions that might have existed on you hdd.

But if you don't know much about partitions, i suggest you research a bit. I was in the same situation as you about few months ago..was about to lose 40GB worth of data and computer wouldn't even boot properly with boot disks!! XP cd wouldn't even recognize that i had hdd..scared me to death(i didn't even know what partitions were back then!). But anyways i spent few days researching and managed to recover my hdd..and now i am not scared to overwrite my mbr

So if something doesn't work..don't give up and format!!! As long as you don't overwrite or format u still have a chance
Well if you did format and or overwritten files, then only chance of recovering any of those data is with data recovery specialists as far as i know and man they expensive :|.
 
Old 04-14-2003, 06:16 PM   #4
Tweaker
LQ Newbie
 
Registered: Feb 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks newbieME & fig for the info. I greatly appreciate it very much.

Managed to recover the hdd late late last night with my friend's help. We moved my hdd to his machine (his machine has win2k), and it did chkdsk on my drive and then I was able to see all my data.

I popped it back into my machine and chkdsk seems to have corrected the partition problem. Now the NTFS file system is visible, only problem is it still doesnt boot.
It shows the WinXP splash image as it boots and then goes blank with a mouse pointer. I tried repair install too.. it comes back eventually(after rebooting) to this screen and does not install the version.. I did fdisk /mbr using a win98 bootdisk but that didn't change this situation.

Another could be that I changed the BIOS a little bit. I will make it as it was before the disaster and hope that everything is fine.. Fingers crossed but situation has improved since I posted.

Thanks!


Last edited by Tweaker; 04-14-2003 at 06:26 PM.
 
Old 04-14-2003, 07:15 PM   #5
newbieME
Member
 
Registered: Mar 2003
Location: BC Canada
Distribution: Slack Niner ;)
Posts: 185

Rep: Reputation: 30
ahhh excellent. Good thing it worked out

and if such is the case..the best bet is to just reinstall xp..it will prob overwrite some of you personalized settings but all your data will be intact...try that as the last resort
 
Old 04-14-2003, 10:58 PM   #6
JayCnrs
Member
 
Registered: Mar 2003
Location: Winnipeg
Distribution: Suse 9.3 Pro
Posts: 404

Rep: Reputation: 30
If you have your XP disk working but need to re-install XP , before formatting and installing pull all your important files into Linux, since you can read NTFS then when you reinstall set XP to use FAT then when you have it working transfer those files you pulled off back into XP since Linux can write to FAT, then change your FAT back to NTFS if you prefer NTFS.

This is only if you can't get XP working.

Good Luck
 
Old 04-15-2003, 04:30 AM   #7
Tweaker
LQ Newbie
 
Registered: Feb 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Thanks JayCnrs appreciate your help.
 
Old 04-15-2003, 05:01 AM   #8
fig
LQ Newbie
 
Registered: Apr 2003
Location: Dublin, Ireland
Distribution: Redhat 9.0
Posts: 19

Rep: Reputation: 0
forgive me for sounding alarmist, but I'm looking at the information provided, and there seems to be an inconsistancy in the data.

You mentioned grub as a boot loader, and then mentioned win98, fdisk /mbr. AFAIK, that command overwrites the mbr with a standard dos mbr. Does that mean the GRUB loader is now fried? can you still boot into linux?

bear in mind that I'm still trying to come to grips with linux, so please take my thoughts with a pinch of salt.
 
Old 04-15-2003, 09:13 AM   #9
newbieME
Member
 
Registered: Mar 2003
Location: BC Canada
Distribution: Slack Niner ;)
Posts: 185

Rep: Reputation: 30
you are correct fig. His Grub should be fried and the only way he can boot to linux is with boot disk i assume. And when reinstalling xp, don't bother formating. Just reinstall over your existing copy of xp, that way you don't have to bother with backing up your data.


Last edited by newbieME; 04-15-2003 at 09:15 AM.
 
  


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
installed kdevelop and now my system is HOSED futz Linux - Newbie 2 07-22-2005 02:38 AM
Am I hosed ? lostboy Linux - Hardware 14 03-11-2003 12:45 AM
Hosed my Linux box, help! Pepse Linux - Software 0 02-10-2003 02:57 AM
Hosed once again Cichlid Linux - Hardware 3 11-02-2002 10:21 PM
hosed the linux mikeock Linux - Newbie 2 06-06-2002 11:58 AM

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

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