LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-16-2011, 10:12 AM   #1
summit
Member
 
Registered: Nov 2010
Posts: 59

Rep: Reputation: 0
install xp without removing linux


Hi experts

I am using Scientific Linux and windows xp. But my windows xp get corrupted. I tried to repair it with bootable cd but nothing happened.


How can I install XP without removing/disturbing Linux ???

Any suggestion???

with regards,
Summit
 
Old 07-16-2011, 10:21 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Yes, you can. Just make sure you know which partition holds the existing installation of WinXP.
The installation of Windows will override the MBR, which means that you'll lose Grub. That is not a big problem, as you can easily restore it later on using either a Live CD or the Scientific Linux installation DVD.
 
Old 07-16-2011, 10:22 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Just install Windows on the partition that it's currently used by Windows. The install will however overwrite the MBR and therefore wipe the current bootloader from it. So before installing, make sure you know how to restore the bootloader (probably grub).

And make a backup of any important documents in case something goes wrong.
 
Old 07-16-2011, 10:23 AM   #4
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 615

Rep: Reputation: 98
Look here: http://apcmag.com/how_to_dual_boot_l...lled_first.htm
 
Old 07-16-2011, 02:02 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
buried deep inside the xp install cd ( hidden )is a check box ( that for YOUR convenience is already checked for you ) has the install cd USE THE WHOLE DRIVE
the DEFAULT setting is to REMOVE any and ALL other operating systems

so uncheck that already checked hidden check box .
 
Old 07-16-2011, 02:13 PM   #6
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 218

Rep: Reputation: 46
Quote:
Originally Posted by arochester View Post
Especially look at the page on getting your grub bootloader back. When you reinstall Windows it will wipe grub out of the MBR and you will need to know how to put it back. I don't know Scientific Linux; so you might want to see if there is some documentation on that particular flavor of linux and restoring the bootloader. Umm, a quick look at their site shows it is of the RedHat variety and not Ubuntu type. It looks like it does use grub and I see that it has live cd.

Some live cds allow you to add boot parameters when booting the disk. This means you can state the root you want to use giving you the opportunity to state the partition where your linux is installed and thereby the kernel from the cd will boot to the partition that is installed. This is a way to get to your installed linux when grub has been overwritten. Once you are booted on that partition, you can run grub install as root. This will put it back into the MBR. If your drive is /dev/sda you would run 'grub-install /dev/sda' for example.

You need to find out what your options are for getting grub reinstalled before you reinstall Windows. Try out your live cd to see what you can do with it.
 
Old 07-17-2011, 02:57 AM   #7
Arcane
Member
 
Registered: May 2006
Location: Latvia, Europe
Distribution: random
Posts: 310

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Quote:
Originally Posted by sycamorex View Post
{...}you'll lose Grub. That is not a big problem, as you can easily restore it later{...}
Just make sure you use same Grub version to avoid trouble.
Quote:
Originally Posted by John VV View Post
{...}the DEFAULT setting is to REMOVE any and ALL other operating systems{...}
Since when? Windows by default allows choose on which partition it will be installed not remove everything in partition menu and has no check box to be unchecked. There is XP install simulator btw on internet if you seem not know. Maybe you used non-original CD..
 
Old 07-17-2011, 03:14 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If you have an i386 folder u don't need the cd.
If 32bit system open i386 folder & double click winnt32.exe it'll start installation or repair. If you're in linux when you execute it'll reboot & finish installation or repair.

Last edited by EDDY1; 07-17-2011 at 03:21 AM.
 
Old 07-17-2011, 04:13 AM   #9
summit
Member
 
Registered: Nov 2010
Posts: 59

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sycamorex View Post
Yes, you can. Just make sure you know which partition holds the existing installation of WinXP.
The installation of Windows will override the MBR, which means that you'll lose Grub. That is not a big problem, as you can easily restore it later on using either a Live CD or the Scientific Linux installation DVD.
Hello
thanks for reply.

Can you explain me the complete procedure or give me a link? What is the procedure to override the MBR and after that how can I recover the Grub?

Thanks,
regards,
Summit
 
Old 07-17-2011, 04:35 AM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
How can I install XP without removing/disturbing Linux ???
Do you have an i386 folder on your drive?
 
Old 07-17-2011, 04:52 AM   #11
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by summit View Post
Hello
thanks for reply.

Can you explain me the complete procedure or give me a link? What is the procedure to override the MBR and after that how can I recover the Grub?

Thanks,
regards,
Summit

The windows installer will automatically override MBR - you don't need to do anything about it. The procedure for recovery was described in the link provided above by one of the members. Here's another one:
http://www.sorgonet.com/linux/grubrestore/

Good Luck
 
Old 07-17-2011, 05:41 AM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is your system using grub or grub2?
 
Old 07-17-2011, 06:13 AM   #13
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by EDDY1 View Post
Is your system using grub or grub2?
If it's Scientific Linux, I'd assume the OP has grub.
 
Old 07-17-2011, 07:04 AM   #14
summit
Member
 
Registered: Nov 2010
Posts: 59

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EDDY1 View Post
Is your system using grub or grub2?
May i know how can I get check either it is grub or grub2?
 
Old 07-17-2011, 07:09 AM   #15
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by summit View Post
May i know how can I get check either it is grub or grub2?
try:
Code:
# rpm -qa grub
I just looked at their website and you should have:
grub-0.97-68.el6.x86_64.rpm
(obviously that's for a 64-bit version of SL6)

Last edited by sycamorex; 07-17-2011 at 07:11 AM.
 
  


Reply



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 Fedora Core 4 Linux to Install Windows elliotfuller Linux - Newbie 1 05-08-2005 11:53 PM
removing an old mozilla install vasanthraghavan Linux - Software 8 07-31-2004 06:26 PM
Removing gtk-gnutella, for new install Ogledbyoldmen Linux - Software 1 11-15-2003 03:52 PM
removing linux redhat 9.0 from a system to install windows xp mop_like_dog Linux - Software 3 10-09-2003 06:31 AM
Removing install files and branding Tweak Linux - Newbie 4 10-18-2002 09:49 PM

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

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