Saturday, 1 February 2014

How to dual boot Windows XP and Linux

Posted by Gary Newell  |  at  16:40 17 comments

Introduction

Windows XP is dying. If you are using Windows XP your number has been called and your time is up. It is time to move on to something else.

You are now so far outside Microsoft's thoughts that to them you barely exist. 

The truth is that your computer works well with Windows XP but it might not be capable of running Windows 7.

By moving onto Linux you will be able to use an operating system where you will always be a first class citizen and you will always be supported.

This article shows you how to install PCLinuxOS alongside Windows XP so that you can try it out and see for yourself that it isn't a daunting experience at all.

Click here to find out how to dual boot Windows Vista and Linux.

About this guide

This guide has been created over a number of different articles which have been released in the last month.

This is the final part whereby all the steps are pulled together to enable you to install Linux alongside Windows XP.

Step 1 - Create a Live Linux DVD or USB drive

You will hear the term "Live DVD" or "Live USB" a lot when you read up about the Linux world. 

A live DVD basically means that you can install Linux to the DVD and boot from that DVD into a fully working Linux system without having to install anything.

A live USB drive therefore is the same except instead of being a DVD it is a USB drive.

Your decision for creating a DVD or USB drive when installing on a machine currently running Windows XP is purely determined on whether your computer has a DVD drive or not. (and whether your DVD drive is a DVD writer or you have access to a DVD writer).

If you have the ability to create DVDs then I would recommend creating a bootable Linux DVD.

If you don't have the ability to create DVDs or the target computer doesn't have a DVD player then create a bootable Linux USB drive.

Step 2 - Backing up your current system

Whether you are installing Linux or not it is good to have a backup routine that makes sure all your valuable data is safe.

Backing up data and creating a system image using Windows XP shows you ways of backing up your files such as music, videos, photos and documents.

I always recommend following this step. If something goes wrong during the setup of Linux then you will feel better knowing that there is a way back to your current setup.

Step 3 - Preparing your disks for installing Linux

When you installed Windows XP (or if it came pre-installed) it will have taken over the whole hard drive. In order to install Linux you will need to make space for it.

This guide shows how to clean up files on your disk to make space, how to defragment your hard drive and how to shrink the disk to leave room for Linux.

Step 4 - Installing PCLinuxOS

Insert the DVD or USB drive and reboot your computer.


Your computer should boot into a live version of PCLinuxOS. Within the live version you can try out various features of PCLinuxOS before installing it onto your computer. 


The first thing you will be asked to do is choose your keyboard layout. Simply scroll down the list until you find the keyboard layout that matches.


To begin the installation click "Install PCLinuxOS". Note that you only have to single click on an icon as opposed to Windows where you double click.


The installation is actually quite straight forward. The first screen just lets you know the process has started. Click "Next" to continue.



The next screen asks you how you want to install PCLinuxOS on the disk. 

The first thing you will need to do is select the disk to install to. If you only have one drive then that will already be selected.

There are three main options available:
  • Use free space
  • Use the free space on a Microsoft Windows Partition
  • Erase and use the entire disk
Assuming that you have followed this entire tutorial then you will have created free space in section 3. Therefore you should choose the option "Use free space".


A big warning message will now appear. There will actually be no data wiped however because the installation is going to take place within the unallocated space.

Click "Next" to continue.


The installation will now start and the files will be copied to your hard drive.


The next step asks where you want to install the bootloader. The bootloader basically provides a menu when you boot up that lets you choose between Windows and PCLinuxOS (and any other operating system you may have installed).

I recommend leaving this screen alone and simply clicking "Next". 

Out of interest though, the bootloader to use option lets you choose between a graphical menu and a text menu. The boot device lets you choose the partition where the bootloader should be installed. The default option is just fine.

The "Delay before booting default image" sets the number of seconds the menu will appear before one of the system boots into the default operating system.

The following screen shows you the items that will appear on the boot menu. You can leave the default settings and click "Next".


That is it. PCLinuxOS is installed. You can now click "Finish" to end the installation. Then reboot your computer.

You will now get a menu every time you boot up with a choice to boot into Windows or PCLinuxOS. 

Choose Windows first to make sure it works and then reboot into PCLinuxOS to make sure that works.


The first time you boot into the installed version of PCLinuxOS you will be asked to select your timezone. This is simply a case of choosing the country in which you are located.


You will now be asked to choose between local time settings or UTC time. Don't worry if you get it wrong because it can be changed later.

If you want your time to always be correct click on the "Automatic time synchronisation" box and choose your country.

Click "Next" to continue.


Most of the time when running programs in Linux you will run as a standard user but sometimes you will want elevated permissions, such as when you are installing applications.

Set the "Administrator" password by entering the same password in both password boxes.

Click "Next" to continue.


Now you will be asked to create a user. Simply enter your name and a login name and choose a password for your user. It is a good idea to choose a different password than the one you chose for the administrator.

Click "Next" to continue.

To login either enter your username and password or click on the username and password.

Summary


That is it. Your computer is now able to boot between Windows XP and PCLinuxOS. 

In future articles I will show you how to set up PCLinuxOS to connect to the internet and I will introduce you to some of the applications.

I hope you found this guide useful.






















About the Author

Gary Newell started the Everyday Linux User blog in 2010 and has written reviews on dozens of different Linux based operating systems. He has also written a number of tutorials.

Get Updates

Subscribe to our e-mail newsletter to receive updates.

Share This Post

Related posts

17 comments:

  1. Nice article, Gary!

    I might point out that The PCLinuxOS Magazine produced a rather comprehensive "Windows Migration Guide" Special Edition this past September. Here is the link: http://pclosmag.com/download.php?f=WinMigSE.pdf

    It contains all sorts of information that users migrating from Windows to Linux might find useful.

    Paul Arnote
    Chief Editor
    The PCLinuxOS Magazine

    ReplyDelete
    Replies
    1. Thanks for letting me know Paul. I read your magazine every month, it is very good.

      Delete
  2. Hi Gary, yesterday I have successfully installed the PCLinuxOS on my computer with your step-by-step guidance. I just wanted to say thank you to you for providing such a thorough and clear guidelines for a layman like me, otherwise I would have no single clue how to do it by myself. There are actually tons of good websites showing how to do the same thing, but most of them were probably written for people with at least some computer knowledge. Detailed explanation with all those screen images, nothing can go wrong. I look forward to your upcoming articles and best wishes for the continued success to your website.
    Sincerely,
    Non-Geek

    ReplyDelete
    Replies
    1. Thankyou for letting me know. If there are any guides you need written let me know and I will see what I can do.

      Delete
  3. Hello!

    Just wanted to point out that the 'creating a bootable Linux DVD' link leads to the USB guide.

    ReplyDelete
    Replies
    1. Thanks for letting me know. I have updated the link.

      Delete
  4. Hi Gary, great article. Old machine I have (Dimension 2400) has a CD reader, not DVD. So, I created what I thought was a Live CD. The iso file fits on the CD ok, but during boot sequence it says it fails. In the BIOS it only offers boot sequence CD drive then C: drive. No offering of USB (says "not installed"). A bit stuck I think! Any suggestions? Baz

    ReplyDelete
    Replies
    1. Oops. I went back over the instructions and realised I missed a step. Got it installed. Brilliant. Thanks. Baz

      Delete
  5. I tried it and linux is a mega-shit. Long live Windows.

    ReplyDelete
    Replies
    1. Yes, you are right, 7 year olds can't use Linux.

      Delete
  6. I have recently installed linux mint on an old xp machine but do not have the dual boot option ?
    how can I find out if I still have xp and old files ?

    ReplyDelete
    Replies
    1. Did you follow this guide to install Linux Mint?

      Delete
  7. I've installed linux mint but can't access the internet, tho still can on windows xp (running them together). Message says firefox is already running and should be shut down first? What does this mean? I'm with a vodafone mobile connection.

    ReplyDelete
    Replies
    1. There is a network icon in the system tray next to the clock. If you click that a list of wireless networks should appear. Select the wireless network and enter the security key. Then open Firefox (the web browser) and you should be good to go.

      Delete
  8. Nice article but I want to install Linux on its own root partition but not sure how to dual boot in XP after this could you help please.

    ReplyDelete
  9. hi, could you just say why you favour a bootable DVD over a bootable USB? Aren't some USB drives pretty fast - I mean USB 3.0... for which you'd obviously need 3.0 slots on your machine, which is unlikely on an old machine. But how do USB 2.0 and DVDs compare? Or maybe it's about something other than speed... be nice to know why you make a particular recommendation.

    ReplyDelete
    Replies
    1. It is a good question and not performance related at all but based on the ease of getting started. Most older laptops and computers (especially those running Windows XP) are set to boot from CD/DVD first, then hard drive and then other drives. By creating a DVD you don't have to fiddle with boot orders and once the DVD is created you can boot into it and you are on your way. With a USB you have to create the USB drive, fiddle with the BIOS and then hope the boot works. (which it usually does).

      Delete

Feel free to comment on any of the blog posts. Please try to be constructive.

Offensive messages will be removed as will blatant adverts for misleading products and sites.

Thanks for visiting my blog

    Popular Posts

    Total Pageviews

    Subscribe

    Enter your email address:

    Delivered by FeedBurner

    Popular This Month

    What are other people buying?

    Ubuntu Buy
    Linux Mint Buy
    Puppy Buy
    Netrunner Buy
    Zorin OS Buy
    Debian Buy
    Robolinux Buy
    CentOS Buy
    Linux Lite Buy
    Manjaro Buy
    Bodhi Buy
    Kali Buy
    Simplicity Buy
    PCLinuxOS Buy
    Tails Buy
    Rocks Cluster Buy
    openSUSE Buy
    Lubuntu Buy
    Fedora Buy

    Followers

    Feedburner Followers

Blogger templates. Proudly Powered by Blogger.
back to top Google