LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-23-2003, 02:16 PM   #1
Rubix
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Rep: Reputation: 0
Angry Can't reinstall WindowsXP after installing Mandrake Linux 9.0


I'm new to Linux, and installed Mandrake Linux 9.0 on my computer for fun and amusement. I couldn't get it to recognize either of the Ethernet ports on my Asus A7N8X Deluxe, and I didn't have the patience to figure out how to get it to work, so I decided to put WindowsXP back on my machine. I used the Mandrake install CD to delete any partitions, and then used "fdisk /mbr" from a windows 98 boot disk, and then used the disk that came with my Western Digital drive to write zeros across the entire drive. I then tried to boot from my WindowsXP CD, and I keep getting an error saying to check any newly installed HDs, check for viruses, etc. Has anyone encountered this problem before and found a way to fix it? Any help would be greatly appreciated, this problem has been driving me nuts. Thanks!
 
Old 12-23-2003, 02:29 PM   #2
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Can you tell if this error message came from the BIOS or from the Windows installer program?

Edit: Sorry, didn't see that this was your first post. Welcome! Does this mean that we won't be seeing more of you?

Regards
Martin

Last edited by MartinN; 12-23-2003 at 02:31 PM.
 
Old 12-23-2003, 02:34 PM   #3
Rubix
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I can't tell really. To provide more description, when I boot from the WindowsXP CD, it brings up a blue window where it shows that it's loading various things at the bottom of the screen. Before it reaches the end of loading whatever it's loading, a blue screen comes up with white courier font giving me the error msg. I described.

I was able to install a crippled version of Windows 98se, but certain things wouldn't work right, and when I tried to load the windowsXP CD from windows 98, I got the same blue error screen.
 
Old 12-23-2003, 02:35 PM   #4
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Try to use your win98 boot disk with fdisk and create a partition. Then try to install xp. You can delete that partition in the xp install. You could see if mandrake will reinstall (or at least format the drive for you) and then install xp over it. When you install WinXP you can delete partitions from the xp install program. It is generally better to do it that way.

Last edited by benjithegreat98; 12-23-2003 at 02:36 PM.
 
Old 12-23-2003, 05:42 PM   #5
Rubix
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the response, but I've already tried both of those options with no luck.
 
Old 12-23-2003, 05:47 PM   #6
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
so, when you boot off the win98 disk and run fdisk, what are the partiions described as?

Netizen
 
Old 12-23-2003, 05:52 PM   #7
Rubix
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Original Poster
Rep: Reputation: 0
if i've gone in and previously deleted all existing partions using the mandrake linux cd(s), it says "no existing partitions".

i wasn't able to remove the linux-created partitions using the win98 disk...it listed 2 partitions, and when I went to delete the primary dos partition, i got a msg saying can't delete that partition while logical drive exists. when i went to delete "logical drive" or whatever it was, I got a msg saying that type of drive didn't exist. what's even more odd is how fdisk only saw 2 partitions while when deleting the partitions from the linux cd, it saw 3.

also, after I installed Linux, I kept getting an alert upon boot from the "Trend Chipaway Virus" protector that a virus was possibly trying to take over my system...could this be an indicator that Linux somehow screwed with my BIOS or boot or something non-harddrive related?

Last edited by Rubix; 12-23-2003 at 05:57 PM.
 
Old 12-23-2003, 06:18 PM   #8
goofyheadedpunk
Member
 
Registered: Aug 2003
Distribution: Arch Linux
Posts: 140

Rep: Reputation: 15
so you wiped it clean, then created a new partition with fdisk? or just wiped it and tried to install? it's a bit unclear. with the linux partition program, make sure there are no partitions that dos couldn't recognize. in fact it would be best if you made sure there were none. and then with fdisk, create the partitions, but don't format. xp should be able to handle that.

sorry if i'm just confused and telling you stuff that you already know. anyway, hope it helped.
 
Old 12-23-2003, 06:37 PM   #9
Rubix
LQ Newbie
 
Registered: Dec 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry for being confusing...I deleted any existing partitions with the linux partition tool and then created a new partition using fdisk. On my most recent attempt to fix the problem, I deleted any partitions, used the harddisk utility to write zeros across the drive, and then tried to boot from the windowsXP CD...running into the same errors I had before. however, I didn't create any partitions with fdisk after writing zeros, I just tried to boot from the XP CD.
 
Old 12-24-2003, 12:36 AM   #10
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
Does your Western Digital disk have drive confidence testing on it? I believe that it does, or at least something like it. Run some extended tests on the drive with that disk, if you haven't already, and see what that turns up.
 
Old 12-24-2003, 01:24 AM   #11
C Scott
LQ Newbie
 
Registered: Dec 2003
Location: Nashville, TN
Distribution: Mandrake 9.2 Enterprise Download
Posts: 12

Rep: Reputation: 0
Try inserting your XP CD, and when it tries to boot, immediately hit F8 or F10, and go to Restore or Last Know Good. I have XP Pro so I don't know whether XP Home has it or not. Sounds like you really screwed up your hard disk by wiping it with 000s? Just delete and add partitions.

If nothing else works, call you hard drive manufacturer for help. It's really not a linux problem, and linux did not cause it. You did by doing the wrong thing.
 
Old 12-24-2003, 08:59 AM   #12
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
This may be way back in your process, but in Fdisk, you would need to display/delete non-dos partitions. Trying to delete a dos partition in fdisk on a drive with only linux partitions wont work since there isnt one. Been ages since I used fdisk, I think the non-dos option is 3 or 4 on the menu.

Although, if you wrote zeros to the drive, suonds as if you need to create a partition and format in fdisk and give it a try.

Netizen

Last edited by Netizen; 12-24-2003 at 09:02 AM.
 
Old 12-25-2003, 01:33 AM   #13
smcoptyltd
Member
 
Registered: Nov 2003
Posts: 41

Rep: Reputation: 15
I've got a small brilliant program called killhd.com.

It was written by some unknown guy and it acts like a virus. He writes something at boot sector of hdd and when I do that, it does not matter what OS was on it, Linux, Windows or MAC. It's all gone in 1 sec and hdd behaves like a new one. Now you can fdisk or whatever you want.

I use it all the time for 6 years. Never has failed me.

Send me email and will email it to you.

just make bootable 1.44 and copy that program on floppy.

Boot from 1.44 and type killhd.

That's it.

I have fixed some serious problems with that on boot sector of many hard drives.

Program has 4096 bits and compressed has only 222!

smcoptyltd@hotmail.com

Peace...
 
Old 12-25-2003, 06:27 PM   #14
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 31
There is also a utility called delpart.exe, you can get it from the MS website. It works really well, all it does is delete all the partitions in your hd. Make a win98 boot disk and copy delpart.exe to it and run it from there.

I installed XP Pro a little while ago just to see what it was like (I thought it was awful and deleted it all), but it stole about 8GB of my HD with a hidden partition of "partition information" that both MS and Linux fdisk couldn't see to delete. The delpart.exe utlility got rid of it fine.

Really you are taking a step in the wrong direction going back to XP though. :P
 
Old 12-25-2003, 08:09 PM   #15
smcoptyltd
Member
 
Registered: Nov 2003
Posts: 41

Rep: Reputation: 15
This little util don't care about any OS. Just kills boot sector and...
is not made my M$.

So... their tricks are not working here.



Last edited by smcoptyltd; 12-25-2003 at 08:10 PM.
 
  


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
Removing Linux and Installing WindowsXP faster80 General 10 09-10-2005 08:29 PM
unable to reinstall Win after installing Linux vimut Linux - Newbie 2 11-17-2004 03:20 AM
Messed up when installing linux, erased win Me...Need to reinstall is it possible?re wolfyheart Linux - Newbie 6 10-23-2001 12:23 PM
Messed up when installing linux, erased win Me...Need to reinstall is it possible?re wolfyheart Linux - General 4 10-20-2001 01:59 PM
Need to reinstall Windoze 98SE on dual boot with linux mandrake 8 athon_solo Linux - Software 2 10-19-2001 09:31 PM


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