Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-16-2004, 11:27 PM   #1
LQ Newbie
Registered: Nov 2004
Location: Hanoi
Posts: 2

Rep: Reputation: 0
unable to reinstall Win after installing Linux

Hi everybody, did anyone have the same problems?
After installing Linux RH 9 dual boot with win2k on 40GB hard disk, I can't boot into Windows. Only somthing like: "...(hd0,0)..." on the screen.

I tried to reinstall Win2k but I couldn't finish the install process. I couldn't jump into Win at the first time restart. I did reformat MBR (fdisk /mbr) to clear LILO from it but still can't install Win, only mes:"missing operating system" at the first time boot.

I used partition magic and found alot of errors on the hard disk, some thing wrong with LBA. Partition Magic can't format harddisk (error mes:"bad MBR").

Fdisk can detect only 6GB from 40GB hard disk.
What happened to my hard disk? Why the Win2k install process didn't rewrite MBR?

can someone plz help me.

thanks alot.

Old 11-16-2004, 11:50 PM   #2
LQ Newbie
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
fdisk /mbr should not be used with Windows 2000. Boot with the Windows 2000 disk and select R to go to the recovery console. To restore the mbr from the command line type the command:

If you can't remove the linux partitions with Windows 2000 then boot with the RH9 disk.

When you get to the command prompt type the command:
ls /mnt

You should see a directory something lilke sysimage there

Switch the root / to that path by typing:
chroot /mnt/sysimage

Run fdisk on the first drive by typing:
fdisk /dev/hda

Fdisk commands:
m - list menu
p - list partitions
d - delete partitions
w- write new partition information

You should be able to delete all the partitions on the drive this way and start with a blank drive. Make sure you write the changes to the drive when you are done.

NOTE: I am giving this information from memory so it may not be 100% accurate. You should be able to figure out any missing details. If you have any more questions please asks.

If all this seems intimidating then you can always download a utility from the hard drive manufacturer's web site and do a "low level format" which writes all zeros to the drive. There will be nothing left on the drive then.
Old 11-17-2004, 03:20 AM   #3
LQ Newbie
Registered: Nov 2004
Location: Hanoi
Posts: 2

Original Poster
Rep: Reputation: 0
thanks egkenny alot! I fixed it by fdisk on FC2. It is totally useful.

You are right, fdisk /mbr didn't work in this situation.


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
How to reinstall win over 2 linux distros anindyanuri Linux - Software 3 06-28-2005 12:07 AM
Unable to access my Linux+Samba from MS-Win guarriman Linux - General 3 01-03-2005 12:05 PM
Unable to access hotmail on win machine with linux server wonderboy1999 Mandriva 4 06-26-2004 09:26 PM
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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration