LinuxQuestions.org
Register a domain and help support LQ
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 08-26-2009, 12:09 PM   #1
hunnykhan3
LQ Newbie
 
Registered: Aug 2009
Location: Islamabad,pakistan
Distribution: red hat linux 5
Posts: 23

Rep: Reputation: 15
i want to install xp without deleting red hat linux 5


i had xp installed in my pc along with red hat linux 5,i wanted to merge two partitions on xp but mistakenly corrupted data,so my xp isn't working now.i want to reinstall xp without deleting linux...linux is not allowing xp cd to boot.what should i do???
 
Old 08-26-2009, 12:36 PM   #2
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,074

Rep: Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777
Try a virtual installation; install Sun VirtualBox http://www.virtualbox.org/ (easy and works just fine) or VMware Server http://www.vmware.com (a little less easy, also works just fine). You install the software in Linux, then install Windows in the virtual machine (you can install multiple guest operating systems in either VirtualBox or VWware Server).
[EDIT]
If you have been dual-booting your system with lilo or grub, you should know that, if you do a complete re-installation of XP using the Microsoft installation media, it will overwrite your master boot record -- you will most likely need to boot Linux with a "boot disk" or CD-ROM so that you can reinstall lilo or grub. It will appear that Linux is "gone" before you do that.

This is another good reason to install VirtualBox or VMware then install Microsoft in a virtual machine -- once you've got XP installed (and have gotten the thousand or so updates for it done), you can take a "snapshot" of the system; when XP fills its diapers, you can simply restore the snapshot and you're back in business in a few minutes instead of a few hours. Note that virtual machines are not emulators; you install a complete operating system in the virtual machine and, for all practical purposes, it looks, feels and runs as if it were the only system on the box (and you can install more than one virtual machine if you'd like).

Hope this helps some.

Last edited by tronayne; 08-27-2009 at 06:42 AM.
 
Old 08-26-2009, 12:43 PM   #3
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,952

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
What happens when you try to install? Error message? This usually happens because windows doesn't recognize non-windows code in mbr. Your xp install CD should have a Recovery option, have you tried the fixmbr and fixboot commands from it? There are numerous posts here at LQ explaining how to do this.
 
Old 08-26-2009, 12:49 PM   #4
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,087

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
Quote:
Originally Posted by hunnykhan3 View Post
i had xp installed in my pc along with red hat linux 5,i wanted to merge two partitions on xp but mistakenly corrupted data,so my xp isn't working now.i want to reinstall xp without deleting linux...linux is not allowing xp cd to boot.what should i do???
it doesnt seem right that linux is stopping the windows-xp cd from running at boot. seems like more of a bios issue (go to bios setup and make sure that cd rom is enabled as a bootable device).
 
Old 08-26-2009, 01:15 PM   #5
hunnykhan3
LQ Newbie
 
Registered: Aug 2009
Location: Islamabad,pakistan
Distribution: red hat linux 5
Posts: 23

Original Poster
Rep: Reputation: 15
i would try virtualization first and would let you peole know

i would try virtualization first and would let you peole know!!
 
Old 08-28-2009, 08:28 AM   #6
hunnykhan3
LQ Newbie
 
Registered: Aug 2009
Location: Islamabad,pakistan
Distribution: red hat linux 5
Posts: 23

Original Poster
Rep: Reputation: 15
i installed SUN VIRTUALBOX but i couldn't understand it..i actually want to use windows xp also...i have other drives that are inaccessable from linux like NTFS plus i have to run many softwares on windows


while rebooting my system when i insert a bootable windows xp Cd it starts for a while but stops..and i have to reboot again..and can only use linux..
i asked someone about that he said that u have to delete linux to install XP but i think its Foolish....
 
Old 08-28-2009, 08:30 AM   #7
hunnykhan3
LQ Newbie
 
Registered: Aug 2009
Location: Islamabad,pakistan
Distribution: red hat linux 5
Posts: 23

Original Poster
Rep: Reputation: 15
i have enabled boot FROM BIOS..and boot priority is set to CD then HDD etc...
it boots for a while only!
 
Old 08-28-2009, 08:37 AM   #8
hunnykhan3
LQ Newbie
 
Registered: Aug 2009
Location: Islamabad,pakistan
Distribution: red hat linux 5
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tronayne View Post
Try a virtual installation; install Sun VirtualBox http://www.virtualbox.org/ (easy and works just fine) or VMware Server http://www.vmware.com (a little less easy, also works just fine). You install the software in Linux, then install Windows in the virtual machine (you can install multiple guest operating systems in either VirtualBox or VWware Server).
[EDIT]
If you have been dual-booting your system with lilo or grub, you should know that, if you do a complete re-installation of XP using the Microsoft installation media, it will overwrite your master boot record -- you will most likely need to boot Linux with a "boot disk" or CD-ROM so that you can reinstall lilo or grub. It will appear that Linux is "gone" before you do that.

This is another good reason to install VirtualBox or VMware then install Microsoft in a virtual machine -- once you've got XP installed (and have gotten the thousand or so updates for it done), you can take a "snapshot" of the system; when XP fills its diapers, you can simply restore the snapshot and you're back in business in a few minutes instead of a few hours. Note that virtual machines are not emulators; you install a complete operating system in the virtual machine and, for all practical purposes, it looks, feels and runs as if it were the only system on the box (and you can install more than one virtual machine if you'd like).

Hope this helps some.
should i run that software then insert windows XP cd??what to do??
 
Old 08-28-2009, 08:55 AM   #9
ritam_bkp
Member
 
Registered: Sep 2008
Location: Calcutta,India
Distribution: Fedora 11, OpenSUSE 11.0
Posts: 116

Rep: Reputation: 17
Cool

Quote:
Originally Posted by hunnykhan3 View Post
while rebooting my system when i insert a bootable windows xp Cd it starts for a while but stops..and i have to reboot again..and can only use linux..
i asked someone about that he said that u have to delete linux to install XP but i think its Foolish....
I had the same problem. Actually,sometimes windows xp installation stops responding when there is linux(in my case fedora) previously installed in the system(maybe its a trick of microsoft to discourage people of linux).
Then i did a tricky stuff. I disconnected the HardDisk bus and started installation(Hence The XP installer detected no other OS on the system), then after it had crossed the non-responding stage ..i connected the HDD BUS at its place..
yuppie..all went just fine

i hope this works for u..gd luck

Last edited by ritam_bkp; 08-28-2009 at 08:56 AM.
 
Old 08-28-2009, 09:03 AM   #10
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,348

Rep: Reputation: 184Reputation: 184
when you install xp select the partiton to install to. Xp installation will rewrite your mbr will have to reinstall grub to mbr after xp is installed. Can use either you linux installation disk or if you have a floppy drive make a grub boot disk before reinstalling windows, and after windows is installed boot your linux installation from your linux cd or from the floppy boot disk and then reinstall grub to your mbr from your linux partition. to make a boot floppy make a /boot/grub directory on the floppy, copy the *.stage flies from the subdirecty of /lib/grub and a menu.lst to the boot/grub directory on the floppy. run grub and and issue the following commands
Code:
root (fd0)
setup (fd0)

Last edited by colorpurple21859; 08-29-2009 at 11:43 AM.
 
Old 08-29-2009, 09:43 AM   #11
hunnykhan3
LQ Newbie
 
Registered: Aug 2009
Location: Islamabad,pakistan
Distribution: red hat linux 5
Posts: 23

Original Poster
Rep: Reputation: 15
problem solved ..by removing the bus of hard disk at the time of booting xp CD!
 
Old 08-29-2009, 11:07 AM   #12
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,087

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
i shouldve figured that out since the same thing happened to me a while ago:
http://www.linuxquestions.org/questi...0/#post2976633
 
Old 08-29-2009, 12:47 PM   #13
hunnykhan3
LQ Newbie
 
Registered: Aug 2009
Location: Islamabad,pakistan
Distribution: red hat linux 5
Posts: 23

Original Poster
Rep: Reputation: 15
another problem now

Now i cant get to linux again...it takes me straight to the windows...with no options or no countdown!
 
Old 08-29-2009, 09:28 PM   #14
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,087

Rep: Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634Reputation: 634
maybe boot with a live-usb and re-install grub ?
 
Old 08-30-2009, 08:19 PM   #15
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,287

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
Boot from the Linux installtion DVD/CD, type in

linux rescue

at the initial text prompt, then you'll be able to re-install grub.
Remember to add an entry for XP. There's loads of threads here about this.
 
  


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
During Red Hat Linux 9 install: error "No devices found to install Red Hat Linux" rbradtx Linux - Newbie 11 06-25-2010 04:55 PM
Red Hat Linux 9 install: error "No devices found to install ... gunneszz Red Hat 1 03-10-2008 04:52 AM
Deleting games from red hat 8 mustang05 Linux - Software 3 06-17-2006 05:25 PM
red hat deleting a file 0007 Linux - Software 1 01-29-2005 08:35 AM
Deleting Java 1.4.2 from Red Hat 8 mustang05 Linux - Software 1 05-20-2004 10:22 PM


All times are GMT -5. The time now is 09:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration