LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-13-2009, 11:48 AM   #1
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 318

Rep: Reputation: 34
reinstalling winXP on a dual boot system


I have windoz on the primary active and fedora 10 on my logical partition.
Everything works fine, but the windoz has got malware ridden. So I wish to reinstall windoz.
Problem is that the windoz installation CD blanks out..... after it attempts to detect the hardwares.
Problem is with grub and the mbr, I think !
is there a way out ?
nishith
 
Old 09-13-2009, 12:33 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by nkd View Post
I have windoz on the primary active and fedora 10 on my logical partition.
Everything works fine, but the windoz has got malware ridden. So I wish to reinstall windoz.
Problem is that the windoz installation CD blanks out..... after it attempts to detect the hardwares.
Problem is with grub and the mbr, I think !
is there a way out ?
nishith
I do not think that it has something to do with grub or mbr.
But you can reinstall the windows boot loader .
Use the windows cd and go to the rescue mode the windows command fixmbr and fixboot will restore windows boot and grub is gone.
 
Old 09-13-2009, 12:38 PM   #3
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by nkd View Post
I have windoz on the primary active and fedora 10 on my logical partition.
Everything works fine, but the windoz has got malware ridden. So I wish to reinstall windoz.
Problem is that the windoz installation CD blanks out..... after it attempts to detect the hardwares.
Problem is with grub and the mbr, I think !
is there a way out ?
nishith
Hard to say what "blanks out" means exactly, but if you want to overcome this obstacle, do this:

1. Very important -- back up everything you want to keep from the Windows installation, because it's going to get erased in the next step.

2. Choose the "delete partition" option from the Windows installation procedure, then install Windows into a new, empty partition. Make sure you don't get confused about which partition is which. This will get you past the "blanks out" part.

3. After the Windows installation completes, boot from a Linux rescue disk and run grub-install:

Code:
# grub-install /dev/hda (just an example)
There are more details here:

Grub-install
 
Old 09-13-2009, 12:39 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora ,Xubuntu, others
Posts: 5,771

Rep: Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118Reputation: 1118
use your installation cd after installing windows to reinstall grub or if you have a floppy drive or can boot from usb make a grub boot disk and make sure it works before reinstalling windows so you can get back to linux to reinstall grub after windows install.
 
Old 09-13-2009, 12:41 PM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Problem is that the windoz installation CD blanks out..... after it attempts to detect the hardwares.
Could you explain more?
 
Old 09-13-2009, 06:08 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 20,061

Rep: Reputation: 3671Reputation: 3671Reputation: 3671Reputation: 3671Reputation: 3671Reputation: 3671Reputation: 3671Reputation: 3671Reputation: 3671Reputation: 3671Reputation: 3671
The XP install disk requires exactly one partition marked as bootable (or none for a blank disk). Let's see the output of "fdisk -l" (will probably need to be root on Fedora).
 
Old 09-16-2009, 12:51 PM   #7
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 318

Original Poster
Rep: Reputation: 34
thanks a ton for all your inputs...
here is the output of fdisk -l
Quote:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9d049d04

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1020 8193118+ b W95 FAT32
/dev/sda2 1021 19457 148095202+ f W95 Ext'd (LBA)
/dev/sda5 6120 6132 104391 83 Linux
/dev/sda6 6133 8044 15358108+ 83 Linux
/dev/sda7 8045 8171 1020096 82 Linux swap / Solaris
/dev/sda8 8172 13270 40957686 7 HPFS/NTFS
/dev/sda9 13875 19456 44837383+ 83 Linux
/dev/sda10 3571 3583 102400 83 Linux
/dev/sda11 1021 1147 1020064+ 82 Linux swap / Solaris
/dev/sda12 3584 6119 20370388+ 83 Linux
One more thing blanks out means...... when the installation starts after the initial blue screen, windowz displays that it is detecting the hardware and starts to load a number of .dll files , but then it halts and stops responding. I tried out the installation media on other pc's but it goes past this step an installs windoz properly. So nothing is wrong with the media.

thanks
nishith
 
Old 08-08-2011, 01:08 PM   #8
nkd
Member
 
Registered: Oct 2006
Location: india
Distribution: fedora 8, ubuntu 10.10
Posts: 318

Original Poster
Rep: Reputation: 34
You can't reinstall windows xp on a dual boot system containing linux.
Try vista or windoz 7 , it works but it will wipe out grub from mbr. So
be ready to reinstall grub2 using a live cd - preferably ubuntu.
 
Old 08-08-2011, 01:11 PM   #9
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by nkd View Post
You can't reinstall windows xp on a dual boot system containing linux.
Try vista or windoz 7 , it works but it will wipe out grub from mbr. So
be ready to reinstall grub2 using a live cd - preferably ubuntu.
of course you can, the caveat is any version of windows will overwrite the MBR, so be prepared to have to re-install grub

are you sure your windows disc inst damaged?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstalling GRUB on RH Enterprise WS 4 in dual boot system jrod2sc Linux - Newbie 12 06-25-2009 11:27 AM
reinstalling WinXP on a dual booting system (XP - FC4) snaggy Linux - Newbie 5 08-16-2006 04:54 AM
Reinstalling Mandriva on Dual-boot system PCalitrack Mandriva 11 08-07-2006 08:38 PM
reinstalling winXP on an existing dual boot system with winXP and FC4 grub not workin champion Fedora - Installation 3 02-13-2006 03:37 PM
DualBoot Fail: System Rebuild: Error upon reinstalling FC4 in Dual boot config krnlkule Linux - Newbie 1 09-06-2005 11:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:54 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
Open Source Consulting | Domain Registration