How to dual boot Linux and Windows XP

Jack Wallen
Dec 15, 2008
Updated • Jul 8, 2014
Linux
|
9

Unlike Windows Vista, Windows XP does not have a built in tool to resize a partition. Because of this you have to make use of another means. One of my favorite tools for this task is the GParted Live CD. What the GParted Live CD does is boot into a very simple Linux desktop that contains the GParted tool to allow yo to resize your XP partition.

Before I get started I want to issue a warning. I have never had a problem using GParted Live CD, but that doesn't mean the system is immune to problems. Problems can happen. To that end make sure you back up your XP data and even create a restore CD. This way, just in case GParted Live wreaks havoc on your data, you can restore it easily.

With that warning out of the way, let's take a look at how GParted Live works. The screen shots you are about to see are from a VMWare installation on a Linux installation. I created a Fat32 partition in order to show you how simple GParted Live is to use.

Step One

The first thing you need to do is to defragment your XP drive. This will make sure your data is where it needs to be as well as keeping your data from the end of your drive. Once your drive is fully defragmented you are ready for step two. Of course, before step two you will need to download and burn the iso image onto CD to use.

Step Two

Put the GParted Live CD into your cd drive and reboot your machine. Getting GParted Live is simple to start. You will be asked a few questions about your keyboard, your language, and your graphics. As for the graphics, the default entry should work fine.

Once you are booted into GParted Live you will find yourself in what might be a familiar desktop. GParted Live is based on Fluxbox and is even more minimal than the standard Fluxbox.

Full sized Fat32 partition
Full sized Fat32 partition

Step Three

Select the partition you want to resize and click the "Resize/Move" button. When you click that a new window will appear asking how much you want the partition to be resized.

Set the amount to resize
Set the amount to resize

You want to make sure that you are resized the space FOLLOWING the XP partition. Once you have entered the amount you want to resize the space FOLLOWING the parition hit enter and then click the Resize/Move button.

Step Four

The next step is to click the Apply button. Once you click this button the resizing will take place. Depending upon the size you have chosen to free up, this process might take some time.

Click Apply
Click Apply

Once the resizing has taken place you will notice the partition names will change.

A Resized partition
A Resized partition

That's it. click the Exit button (the red square at the top left) to shutdown GParted Live. Take the GParted Live CD out of the CD drive and let your machine reboot. Make sure XP will boot properly before you continue. Once you are sure XP will boot properly, reboot with your Linux distribution CD in the drive and install Linux.

You can follow my Illustrated Guide to Installing Ubuntu Linux for a simple Linux install how to. Another article to read, that will get you up to speed on dual booting, is my How To Dual Boot Windows Vista and Linux.

Final Thoughts

Dual booting XP and Linux doesn't have to be difficult. Using GParted Live CD will make this task far simpler than you thought it could be. But do remember, BACK UP THAT DATA!

Advertisement

Previous Post: «
Next Post: «

Comments

  1. BrianJM said on August 9, 2012 at 10:13 pm
    Reply

    Title ~ How to dual boot Linux and Windows XP.

    Part of this tale must be missing because I don’t see where it shows how to dual boot

  2. sc0tt said on November 24, 2010 at 6:43 am
    Reply

    Ext4

  3. Anonymous said on December 7, 2009 at 9:20 am
    Reply

    fedgferfe

  4. Nic Moon said on December 16, 2008 at 4:39 pm
    Reply

    Or, if you have no idea what he just said Ubuntu can do it automatically. Not me, just thought I’d put it out there.

    You need Windows installed first though.

  5. Thinker said on December 15, 2008 at 10:08 pm
    Reply

    Good to know, there is such live CD :)

  6. jack said on December 15, 2008 at 3:20 pm
    Reply

    There are ways to do this WhACKO. After you’ve installed Windows, use your Linux install CD/DVD to boot into Linux. Mount your Linux partition (you’ll have to mount them all and you’ll probably need to run dmesg to find out exactly where they are) and cd to your /boot directory on the hard drive. Edit your GRUB/LILO config file to include the new Windows partition. Now re-write GRUB/LILO to your MBR (most likely that command will be grub-install /dev/hda). When you reboot, you should be able to choose Windows or Linux.

  7. WhACKO said on December 15, 2008 at 11:12 am
    Reply

    Cool, always wanted to try GParted, one thing though, say I want to install Windows XP on a machine already installed with Linux, will that mess up the boot sector??

    I know installing Linux after Windows works, but I’m not sure if the other way works without using a system boot utility?

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.