LinuxQuestions.org
Visit Jeremy's Blog.
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-03-2014, 07:45 AM   #1
Gwynny
LQ Newbie
 
Registered: Jun 2014
Posts: 7

Rep: Reputation: Disabled
Can I replace Windows XP on dual boot system (win7) with Linux?


I'm using a powerful PC which is dual-booted Widows XP with Windows7. I no longer can use XP since some upgrades were carried out and I wouldn't want to now anyway, so I am wondering if I can just install Linux either Mint or Ubuntu over the top of the old windows XP? Is this likely to go smoothly or cause me problems?
 
Old 07-03-2014, 07:50 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
you never know if you dont try... installing linux is pretty easy. i recommend running a live-usb of your favorite distro to ensure your wireless card, graphics adapter, printer, ... work as expected then run the install-to-harddrive or whatever icon on the desktop.
 
Old 07-03-2014, 07:57 AM   #3
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
There should be no major problem with that plan. Some things to be careful of:

The Linux system should be installed creating new partitions in unpartitioned space, not reusing the XP partition(s). That means you need to first delete the XP partition(s). I assume before that you copied any files you needed from the XP partition(s) to elsewhere.

If you use a Linux partitioning tool (typically available before install after booting the Linux install CD) to delete the XP partition(s), they will have very different ID's and appearance than you are used to seeing in Windows. Make sure you understand what you see well enough to delete the right partition(s). Alternately, before booting the Linux installer, use the partition manager in Windows 7 to delete the XP partition(s) and not create any new partitions. (A common beginner mistake is to use the Windows disk manager to create empty partitions for a Linux install. Never do that. You must either use a Linux partitioning tool to create Linux partitions or let the Linux installer do that for you.)

Once there is unpartitioned space make sure you understand and select the choice in the Linux installer to install into that unpartitioned space and not use the whole drive.

Currently you are using the Windows 7 multi boot capability to choose between Windows 7 and XP. If you accept default choices when installing Linux, it will set up a Linux package called Grub as the multi boot capability to choose between Linux and Windows 7. If for some reason you prefer to continue to use the Windows 7 multi boot capability to choose between W7 and Linux, that is possible but would require more research to get the details right.

Last edited by johnsfine; 07-03-2014 at 08:07 AM.
 
Old 07-03-2014, 02:46 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You shouldn't have any problems except that your windows boot entry still has 2 entries so you will have to remove the winsxp entry or when you boot to wins 7 there may be the option to boot a non-existant winsxp.
 
Old 07-03-2014, 03:31 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,996

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
A number of issues can arise. If you are worried then just use a virtual machine under windows 7. You could even use the space in the xp area for the virtual hard drive(s).
 
Old 07-03-2014, 05:10 PM   #6
jross
Member
 
Registered: Apr 2014
Distribution: Xubuntu 14.04
Posts: 164

Rep: Reputation: Disabled
I seem to remember reading that the Windows partition has to be first. Would it make a difference if he had XP and Windows 7 in that order and then tried to install linux where the XP was?

To original poster: You should list your pc specs for best help on what linux distro (and version) would be realistic to work well on your machine (you mentioned ubuntu and mint, but those each have a few versions that you will need to pick from and some of that decision depends on how old your pc is)

Last edited by jross; 07-03-2014 at 05:17 PM.
 
Old 07-03-2014, 06:43 PM   #7
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Quote:
Originally Posted by jross View Post
I seem to remember reading that the Windows partition has to be first.
I think you misunderstood something you read.

Quote:
Would it make a difference if he had XP and Windows 7 in that order and then tried to install linux where the XP was?
Should be no problem.
 
Old 07-03-2014, 08:39 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,996

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
If one installed Windows 7 then the newer loader bcd would be in place.

It should be pretty easy to delete the xp partition and install grub but on some disk's you may have to force /boot to bottom of drive. Can always move and change sizes of partitions with apps. Gparted and maybe Windows can do.
 
Old 07-03-2014, 09:06 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,139

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
That depends - you might actually find the bcd in the XP partition as it has the boot flag, and the Windoze loader always uses that.
In the past subsequent Windoze installs always updated the prior (already installed) systems boot code.

Best solution is to boot a Linux liveCD and go here, do as it says, and post the RESULTS.txt so we have saome real info on the boot enironment.
 
Old 07-03-2014, 09:12 PM   #10
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i remember having problems with windows being mad that dreve c: wasnt = to /dev/sda so it refused to boot (unless things changed with windows-vista/windows-7/windows-8/... i think windows has to be the first partition on the first hard drive).

also windows will erase grub from the mbr if installed 2nd (most linux distro installers are courteous enough to ask where to put the boot loader). its usually easier to install windows first then install linux.
 
  


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
UEIF Dual Boot Win7 & CentOS only boots Win7 wigglytoes Linux - General 3 12-30-2013 05:53 AM
Attempting to backup win7 system on dual boot hard drive kayakman Linux - Software 13 12-20-2013 02:30 PM
Dual OS installed. Win7 and Mint. Not boot option. Windows loads. filipm Linux - Newbie 11 12-06-2013 11:00 AM
replace ubuntu with different distro in win7/buntu dual boot Thorin.storm Linux - Software 2 11-26-2013 01:58 PM
Problems with creating LVM in dual boot (CentOS/Win7) system jeff_schaffzin Linux - Newbie 4 07-28-2011 04:48 PM

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

All times are GMT -5. The time now is 05:17 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