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 10-19-2003, 02:09 PM   #1
ZenXIII
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Unhappy Linux Working ... Windows says corrupted Hard Drive


Hi all, this is my first post here (and as probably 90% of first posts go, its a tech support question).
A week ago i took the step and removed windows from my computer to install Redhat 9.
I liked it...tooled around a bit, couldnt get my videocard to work (thats another thread altogether )...tried mandrake instead, still couldn't get my videocard to work (or my sound, for that matter), stuck with mandrake b/c it was there...(and my redhat disk 2 is failing on reinstalling some packages).
Now i'm trying to install winXP onto my OTHER hard drive (for a dual-boot machine)... and just cannot get it to work.
I get a corrupted MBR/hard disk "STOP error"...which is odd, b/c one harddrive is brand new, and the other works fine with linux and had windoze on it a week ago.
Does anyone have any guidance (or good links) for a relatively descript walkthrough as to how to get a system with:
2 hard drives ((primary)maxtor 7200 rpm 40 gig for windows // (slave)western digital 5400 rpm 40 gig for linux)
a CDRom drive
NO floppy drive
And:
disks to install Mandrake 8.1(?) WinXP (or 98)
The system has Linux on it now ... and all the info i find is for installing assuming you have Windows already.
ANY way to get it to work is fine...i'm not opposed to formatting everything (all i have is backed up).
I'll flip my jumpers around and move these 2 hdds between master/slave...all i want is windows on maxtor, and linux on western digital.
Any help would be most genuinely appreciated!
 
Old 10-19-2003, 02:54 PM   #2
banderson
Member
 
Registered: Oct 2003
Location: Salt Lake City, UT
Distribution: RedHat 9
Posts: 35

Rep: Reputation: 15
Since you not opposed to formatting, do that. Install Windows XP first, then Mandrake. You can't put Windows on after Linux because Windows will format the MBR. It really should be that straight forward. I have a the same setup with two hard drives, except I run RedHat 9.
 
Old 10-19-2003, 02:58 PM   #3
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
I'm no help for Linux I'm afraid, but unless there really is something wrong with your hard-drive you can get it to work. What exactly you want to do will depend on what kind of boot management that you want. I've recently added WinXP to a Win2k on my primary HD and added a Linux partition to a secondary HD. You can just have Linux boot from a floppy until you figure out how to organize your boot manager, or you can just install LILO into the MBR on the primary HD and let it run both. The only problem is that if Windows becomes dependent on LILO. Shouldn't be a problem, but boot management can get hairy, especially when you start trying to change things later...

I don't get from your message whether you installed Linux on the drive that had Windows on it. If so, it could be that Windows is simply not recognizing the file system on the drive. You simply have to delete the partitions and then reformat them. I recommend first making sure that you have a bootable floppy for your current Linux (if you want to keep it) and making the HD with Windows your primary HD. Simply remove your slave HD for the time being. Then boot with the Windows setup CD, and see if it will let you delete partitions. If it doesn't (and your HD is really not kaputt), then you can delete the partitions with fdisk. A great place to start and probably finish with fdisk (and a few other computer issues that you will find links for) is

http://fdisk.radified.com/

Simply delete all partitions on that drive, being careful to follow the instructions at that site, and then reboot with the Windows installation CD. After Windows is installed (think about your partitioning in advance) you should have a fresh MBR. Have a look at http://www.blackviper.com/Articles/O...tallxppro1.htm for some neat WinXP tips. (It helps you install and also shut off a lot of unnecessary "services" for home use. There is also a version for XP Home.)

After you are satisfied, you can then power down, reattach your second hard drive and try booting Linux from the floppy. After that, you can work with installing LILO (or any other boot manager you prefer) on the primary HD's MBR--it can give you a nice graphical boot screen for all your Windows and Linux OSes. Be sure to work out all the booting kinks worked out before you invest much time getting everything configured, and do be sure to back up! Even with great tools like LILO, multi-booting is tricky and often delicate work.

Hope I didn't forget anything....

Cheers,
Mike
 
Old 10-19-2003, 03:02 PM   #4
EyesOnly
Member
 
Registered: Aug 2003
Location: The Netherlands
Distribution: SlackWare
Posts: 202

Rep: Reputation: 30
The easiest way is to remove the linux disk, and install windows on the remaining disk. This way it will be installed as if there was no linux, so it is completely independent of the linux disk.

Also make sure that linux also works without the windows disk (e.g. you haven't acidently installed lilo on the windows disk. It looks like this is the case for you. you say the windows disk is master, and the linux disk is slave. If this was also the case when installing linux, then the bootloader is now on the primary(windows) disk, while the system is on the second(linux) disk. You can reinstall the linux bootloader on the right disk without having to reinstall linux)

If both harddisks with the system work apart from eachother, you can put them both back, and then install a bootloader. You could use the linux boot loader(lilo or grub).

I use Xosl(www.xosl.org , the website seems to be down at the moment..) You might wanna check it out. you can install it on a small partition, but also on your own windows partition. It is a very nice graphical bootmanager.

My setup is as follows, it might make things a bit clearer:
hardisk1(bootdisk) contains a very small partition for XOSL, and a large partition whit windows.
harddisk2 contains the linux system, including his own bootloader(lilo).


looks like there have been already several answers to your question while i was typing. hope mine is still usefull...
 
Old 10-19-2003, 06:13 PM   #5
ZenXIII
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the comments!
I'm going to try out the advice given, and hopefully, get my system up!
I'll try to post the results later.
Thanks again!
 
Old 10-19-2003, 11:12 PM   #6
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,876

Rep: Reputation: 88
I am to late then, to say, if you suspect a physical problem with your drive, use the manufacturers utility to check the disk. If that passes a reinstall should be the worst you need to do.
 
Old 10-20-2003, 01:45 PM   #7
ZenXIII
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Well, i got it to work.
But...i'm still not sure what was up with XP.
I tried to do an FDisk on HDA from linux (which was on HDB)...XP wouldn't recognize drive and gave me BSOD...Decided to disconnect the linux HD (but not until after i had formatted, lol) and just work with my winxp drive.
Used my boot utility that came with harddrive...said everything was fine. Formatted to ntfs, xp reported BSOD (corrupted drive).
Filled drive with 0s (maybe there was something still resembling something XP hated on there) and deleted all partitions.
Formatted to NTFS ... BSOD.
Formatted to FAT32 ... BSOD.
Decided since i was at FAT32 i'd see if 98 would install.
98 took on the first try!
Once 98 was in, installed XP from there, converted to NTFS, and got XP up.
Installed all the updates for XP.
Plugged back in HDB, threw in the mandrake disk.
Everything else went smooth.
Got a lilo dual booting machine and everything is going good.
(Seems like a damn lot of work for Final Fantasy XI ... which is the ONLY reason i reinstalled windows...heh.)
Thanks for all the help guys!
 
Old 10-20-2003, 01:52 PM   #8
EyesOnly
Member
 
Registered: Aug 2003
Location: The Netherlands
Distribution: SlackWare
Posts: 202

Rep: Reputation: 30
another proof that windows is just weird.
I have several harddisks here, which just doens't work whit windows(tryed both 98 and 2000). Still they work without any problem whit linux.

just weird..

but hey, its working now.
 
Old 10-21-2003, 01:43 AM   #9
michapma
Member
 
Registered: Oct 2003
Location: Zürich
Distribution: Debian
Posts: 537

Rep: Reputation: 39
Congratulations... you still might want to check out blackviper.com for some hints on how to tweak your computer (read: shut off unnecessary Windows services) for gameplay.

Have fun,
Mike
 
  


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
Hard drive corrupted? Help! watha Linux - General 4 11-11-2005 11:28 PM
HELP: Fedora corrupted my Windows hard disc/installation roddy Linux - Software 1 09-17-2004 07:28 PM
USB hard drive looks corrupted wirawan0 Linux - Hardware 0 04-20-2004 11:47 AM
Running Windows Games In Linux From Windows Hard Drive Darkstar274 Linux - Games 2 12-25-2003 11:19 PM
urgent .. is my hard drive corrupted? doublefailure Linux - Hardware 4 09-15-2002 08:37 PM


All times are GMT -5. The time now is 11:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration