LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 08:04 AM   #1
User247
LQ Newbie
 
Registered: Mar 2013
Posts: 29

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, 08:12 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,839

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
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, 08: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, 01:45 PM   #4
User247
LQ Newbie
 
Registered: Mar 2013
Posts: 29

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, 03:06 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,871

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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, 03:30 PM   #6
User247
LQ Newbie
 
Registered: Mar 2013
Posts: 29

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, 03:52 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,822

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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, 06:15 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,871

Rep: Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249Reputation: 1249
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 06:16 PM. Reason: link
 
  


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 to safely remove linux partition from a dual boot system? parv Linux - Newbie 7 05-01-2012 10: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 04:11 PM
window reboots after login in dual boot system divyashree Linux - Newbie 11 11-13-2009 09:13 AM
Remove Fedora/Grub from Dual Boot System jcrapps Linux - Newbie 4 02-17-2006 05:04 PM


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