LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-17-2015, 07:04 AM   #1
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

Rep: Reputation: Disabled
Is there a simple way to remove XP and then install window 7 in a dual boot system ?


Hi guys,

For my dual boot system, I first installed window XP followed by Linux fedora 19 and the system has been booting and working fine without
problem.

Now, I would like to remove window XP and install Window 7,
so, I need to remove the partition window XP is on, and then
do a fresh window 7 install. Is there is simple and easy way
of doing this ?

I have window XP, a window 7 and a linux fedora installation disk.

Thanks.

User 247
 
Old 04-17-2015, 07:12 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
If XP is in an NTFS partition and has the boot flag, just whack the Win7 CD and boot it. Should install as normal, then just fix up grub to boot both again.
I might be inclined to update Fedora to 21 first.

If XP is in a [V]FAT partition (is that even supported ?), format it as NTFS then proceed as above.
 
Old 04-17-2015, 07:28 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
1) zero out the first few megabytes of windows XP partition. Be very careful and backup important files/data beforehand.

2) Keep a grub cd boot disc.

3) Install Windows 7 to previous XP partition

4) Boot Fedora linux with grub cd boot disc

5) Reinstall grub and make sure Windows 7 entry is there to boot Windows 7
 
Old 04-17-2015, 12:45 PM   #4
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thanks for your prompt help guys.

So, here is what I will do.

1.) back up my data files in my linux partition.
2.) make a grub CD boot disk.
3.) install window 7 to the NTFS partition.
4.) After installing window 7, reboot with grub boot disk.
5.) Reinstalling grub.
6.) reboot and the Linux boot menu should come on, and I should
be able to select and boot into the desired OS.

Will post if encounter any problem.

Thanks..
 
Old 04-17-2015, 02:06 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
1.) back up my data files in my linux partition.
I'm not sure if I'm reading the above correctly but if you are intending to back up data TO the Linux partition I would suggest backing up to an external medium. If you mean just backing up data FROM the Linux partition and you don't have anything on the windows partition, that would be good.

Quote:
2.) make a grub CD boot disk.
You indicated above you have the Fedora installation medium. You have Grub on it and can reinstall Grub from it and don't need to create a separate Grub boot CD. Of course, you can if you want.
 
Old 04-17-2015, 02:30 PM   #6
User247
Member
 
Registered: Mar 2013
Location: Canada
Distribution: fedoera 27 (was fedora 19)
Posts: 37

Original Poster
Rep: Reputation: Disabled
Hi,

Yes.

1.) I meant back up data files to an external drive or USB.

For grub. Any pointers in how to access grub files in the installation CD ?

Thanks and regards.
 
Old 04-17-2015, 02:52 PM   #7
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
keep in mind that fedora 19 is DOA ( dead on arrival)
it when End Of LIFE 6 months ago
as in you are MISSING!!!! all of the last 6 months of SECURITY UPDATES AND FIXED -- NOT GOOD !!!!
fedora 20 is ABOUT to go "End Of Life " very soon


so install Fedora 21 ASAP!!!!!
 
Old 04-17-2015, 05:15 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Boot Fedora, open a terminal as root and run: grub2-install /dev/sda

That's if your Fedora is on sda and you have only that one drive and it is not UEFI. More info at the Fedora project link below:

grub2-install /dev/sda

https://fedoraproject.org/wiki/GRUB_2

Last edited by yancek; 04-17-2015 at 05:16 PM. Reason: link
 
  


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
how to safely remove linux partition from a dual boot system? parv Linux - Newbie 7 05-01-2012 09:59 AM
I am using window xp ,installed on my system . Now i want to make it dual boot with ashu_9575 Linux - Newbie 4 05-04-2010 03:11 PM
window reboots after login in dual boot system divyashree Linux - Newbie 11 11-13-2009 08:13 AM
Remove Fedora/Grub from Dual Boot System jcrapps Linux - Newbie 4 02-17-2006 04:04 PM

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

All times are GMT -5. The time now is 04:17 PM.

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