LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-01-2010, 11:59 PM   #1
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Rep: Reputation: 30
Installing WindowXP after linux


Dear All,

I am facing a problem,i am already having fedora 9 installed system.After some days, i have installed WindowsXp onto that.But now,my system is not able to boot in Linux,it is directly showing me WindowsXP booting.When i am upgrading my bootloader through installation CD,WinXP stops booting. I am able to watch the contents of HDD using rescue mode in linux.Please help me in booting my system properly in Linux.

Regards,
Ravi Chobey
 
Old 03-02-2010, 12:46 AM   #2
tapan_chugh
LQ Newbie
 
Registered: Dec 2007
Distribution: Ubuntu 9.10 , Fedora 12
Posts: 26

Rep: Reputation: 15
Ravi,

You should have installed Windows XP before installing fedora. Windows XP does not look for other operating systems. Now you can do two things -

1) Reinstall fedora- It will be the best option since it is simple. The installler will automatically take care of everything.

2) Updating grub - It is a complex task. if you have reinstalled the bootloader, you need to edit the grub configuration file. You need to know on which partition your windows XP is installed. Then edit /boot/grub.conf as root and add the following lines to it
Now you need to know how your partition is known to the grub for eg /dev/sda1 is hd0,0 /dev/sda2 is hd0,1 etc.Open a terminal and as root type
Code:
cat /boot/grub/device.map
You will get a value corrosponding to your windows partition.
Now open /boot/grub/grub.conf and add the following lines to it.
Code:
title Windows XP
rootnoverify(the windows xp partition)
chainloader +1
Now reboot and select Windows XP at the grub.
 
Old 03-02-2010, 02:03 AM   #3
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Original Poster
Rep: Reputation: 30
Thumbs up

Tapan,Thanks for reply.

What about my data which is already there on hardware,will it be safe,after following this procedure?

Ravi
 
Old 03-02-2010, 05:47 AM   #4
tapan_chugh
LQ Newbie
 
Registered: Dec 2007
Distribution: Ubuntu 9.10 , Fedora 12
Posts: 26

Rep: Reputation: 15
Ravi,

If you use the second method there will not be any data loss. However as always it is recommended to create a backup.
 
1 members found this post helpful.
  


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
How toremotely access a solaris machine from windowXP mjunaidy Solaris / OpenSolaris 7 08-31-2005 12:25 PM
Using WindowXP install Linux Ricky_Hew Linux - Newbie 1 09-27-2004 11:40 PM
running Linux inside windowXP using vmware cpu General 8 08-19-2004 10:10 AM
Vmware, mandrake10, windowxp cyborg_jt Linux - Software 1 07-15-2004 05:40 AM
Installing Fedora as a dual-boot to a WindowXP system; can't partition HD E.T.Smith Linux - Newbie 3 02-06-2004 10:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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