================================================== ===============Last Update: 6-Jan-2011
Dual Booting Guide – Windows XP & Ubuntu 10.04 From A -Z
I'd like to show my appreciation to this great community. I'm so thankful for all kind of help and support. Special thank also goes to this forum and everyone who works hard to keep it active and alive. Without this forum, I wouldn't be here and without seeing the light after +10 years of darkness, I wouldn't use Ubuntu specifically and Linux generally.
Thank you for everything
Part 1 - Installation
[1-1] Scenario 1: Dual Booting System from Scratch on The Same HDD.
[1-2] Scenario 2: Dual Booting System from Scratch, Each OS on its own HDD.
[1-3] Scenario 3: Dual Booting System - Windows XP is already installed and uses the entire HDD.
[1-4] Scenario 4: Dual Booting System - Ubuntu 10.04 is already installed, uses the entire disk and there is only ONE HDD.
[1-5] Scenario 5: Dual Booting System - Ubuntu 10.04 is already installed, uses the entire disk and there is TWO HDD.
[1-6] Scenario 6: Dual Booting System - Windows XP is already installed and Install Ubuntu 10.04 on USB Drive.
Part 2 - Installation Problems & Troubleshooting
[2-1] Installation Problems/Problems During Installation
[2-2] Problems After Installation
Part 3 - Un-installation/Removing Ubuntu/Windows
[3-1] Un-installation/Removing of Ubuntu and keeping Windows.
[3-2] Un-installation/Removing of Windows and keeping Ubuntu.
Part 1 - Installation
Definitely, this is one of the most important topics on daily basis. Who doesn’t Dual-Boot Ubuntu with Windows? Most of the users including me are still Dual-Booting (Ubuntu & Windows) – if not Multi-Booting – regardless what’s the reason behind that.
I see daily perhaps 10 threads or more with the same title. All posters are having Dual-Booting Problems because in most cases they did not follow the right procedure and they end up with problems.
A- This guide should also work with Windows Vista and Windows 7 with some differences especially the screenshots (images). The main concept should be the same. In case of major differences, I'll make sure to highlight that.
B- You need to refer to your Motherboard's Manual. My BIOS Settings could be different from your BIOS Settings. The concept is the same but there might be some minor changes.
C- I tried to include all the images I have but I'm ONLY allowed to post 8 images. That's why you'll find links to these images. Had to update the guide after I wrote it.
Aim of this Guide
To save everyone’s time and to make it easier for Windows Users who are willing to try/use Ubuntu or those new Ubuntu’s users who just installed Ubuntu, this thread has been created.
I’ll do my best to make it as simple as possible so everyone could understand it. Even if you know nothing about computers, you should be fine with this guide. However, I assume you have basic understanding about computers.
I believe this thread will clear any confusion especially if users will follow each step as it’s and read this guide very carefully.
About this Guide
This guide has been written by myself and I’ve never taken any single word from any other website, guide, post or whatever source you could think about. This guide has been written based on a real experience and the most recent experiment of installing Windows and Ubuntu on a PC. However, I thought I could write this guide without including any website’s link but I’d like to give the reader more than one choice. After all, this guide will be used by others and they have to find all or most of what they’re looking for.
My plan is to discuss all the possible scenarios and cover everything about Dual-Booting. Please note that this is not a thread to list some common problems and offer some solutions. This thread is a very simple guide that I believe if you’ll follow, you’ll not have any issue. Of course nothing is prefect and I may forget something here or there but that shouldn’t be a problem because I can update the thread on daily basis and my friends here will inform me if I need to add/remove something. After all, I’m not alone and I’m just like you, a user who Dual-Boot.
I believe that an image could worth 1000 words if not more. Thus, I’ll do this my way which I believe it’s very informative and include an image with each step. That image will help you a lot to understand what’s going on and what I’m talking about.
A Guide for Dual-Booting Windows and Ubuntu could found be here:
However, as I mentioned, I’m trying to create a very simple guide.
Hardware Used (click):
CPU: Pentium 4 @3.00GHz
*RAM: 448MB DDR PC400
*HDD: Samsung 20GB
Graphics Card: ATI (Built-in)
Windows XP Disk (CD)
Ubuntu LiveCD or LiveUSB
*I decided to use the minimal hardware requirements. I’m using my Test-PC.
Please check these links for more information about the minimum system requirements to run Ubuntu.
Scenario 1: Dual Booting System from Scratch on The Same HDD
Installation of Windows XP and Ubuntu 10.04 on a brand new HDD or a wiped HDD. This section will explain in details all the steps needed to prepare the HDD, Install XP, make sure the machine is up and running with Windows XP and then install Ubuntu 10.04 on the same HDD and while Windows XP is already installed. This section should cover everything needed to create a Dual Booting System with both XP and Ubuntu installed on the same HDD.
First of all, you need a plan. In a better word, you should know what you want and how to achieve that.
Our plan here is simple:
a) Install Windows XP on a Brand New HDD or Wiped HDD.
b) Make sure XP is up and running
c) Install Ubuntu 10.04.
IMHO, the most important step is preparing the HDD. Yes, partitioning the HDD is very important. It's much better to start partitioning your HDD, then, start installing.
Part I: Installing Windows XP
1) If your HDD is already installed, then please go to step 3.
2) If your HDD is new and you have no idea how to install it in your machine, then google is your friend. However, Please check this guide. Make sure that your BIOS is able to recognize the new HDD.
3) Make sure to check your BIOS Settings.
The image above explains itself.
Please, make sure that your CD-Drive is your first Device to boot from all the way. That should be your default settings. If not, set it this way. Whether you're installing new OS or not, it's recommended to set the CD-Drive as the first device to boot from.
4) There are two options that you should be aware of. There is Boot Priority Device and there is Hard Disk Boot Priority.
Boot Priority Device > List all the Drivers you have (HDD, CD-Drive, etc).
Hard Disk Boot Priority > If you have more than one HDD or if you're booting from HDD and/or USB, then you need to check this option and change the priorities according to your needs.
This image will help you to understand:
In this case, there's only one HDD drive installed. In case there is more than one HDD or there's a USB Drive, you'll see more entries.
In this part and as long as we do have only one HDD, then you should see something like the above image. Unless you have an USB Drive, you'll see two entries.
5) As per Step 3, your CD-Drive should be the first device to boot from. Insert your Windows XP Disc and start Windows Installation.
6) The HDD I have used in this guide is not new, it's a wiped HDD. You should see something like this:
Now, before we carry on to the next step, please remember that we're planning to create a Dual-Boot System so there's another OS to be installed. Make sure NOT to allocate the whole space of your HDD to Windows.
7) This guide assumes that you'll use 10GB of the HDD (which is 20GB) and allocate it to Windows.
Again, don't allocate the whole space to Windows.
8 ) After that, you should see something like this:
If that's what you see, then you're good to go.
9) Whether it's new or wiped HDD, use the third option:
10) The rest of steps are the regular steps you need to follow to install XP. Nothing special at all. If you don't know how to install Windows XP, please use google.
Once XP is up and running, then it's a sign that you finished Part I. Congratulation.
Part II: Preparations to Install Ubuntu 10.04
1) Please click here.
2) Do not proceed unless you check the integrity of your downloaded iso for Ubuntu. This is how.
You also need this.
3) As discussed previously, your CD-Drive must be the first device to boot from. This is just a reminder
*In case you are planning to use LiveUSB to install Ubuntu, then please make sure your USB Device should be the "first" device to boot from then your HDD should comes as the second one. Refer to Step 3 and Step 4 in Part I. Same screenshot but with another entry for your USB Device.
Note that: some motherboards do not support that option to boot from USB Devices. Then you have to options:
a) Use LiveCD
4) Insert Ubuntu's LiveCD or USB and press any key. You should get this screen:
Choose: Try Ubuntu without Installation.
5) Now, sometimes, you may face some problems with the LiveCD and you may not reach the point when you can see the GUI Desktop. There are many reasons for that. Either it's your Graphics Card, CD is corrupted, you have low hardware specifications or it could be something else.
That's another story I might be able to discuss later on.
6) Once you see the Desktop, please run GParted.
Note that: Starting from Ubuntu 10.04, after installation, GParted will not be installed by default with Ubuntu, you may want to install it manually later on.
7) Once you start GParted, it should look like this:
Before we carry on, please make sure to read this carefully.
8 ) Please, refer back to the previous step. Step 7
Yes, do yourself a favor and read it all. Trust me, you'll thank me for this
9) I'm going to list all the steps you need to do as images. These images worth more than 1,000,000 words
*Please "click" on each step so that you can access the image.
Select the "unallocated space" - Right Click - and choose "New".
Please, make sure not to do anything to the first partition which is "/dev/sda1" as this is the Windows Partition.
The whole remaining space will be allocated to the Extended Partition. If you still don't know what does "Extended Partition mean, please refer back to step 7.
Please make sure to double check what you've done before clicking on "Apply".
GParted should look like that after you're done.
Part III: Installing Ubuntu 10.04
1) Please click here and have a look at the official installation guide. No need to say it's a must read as well.
What I'm trying to highlight in this guide, could save your time and everyone's else time. Everyone can install Ubuntu but not anyone could do that without mistakes. This guide, will make sure you'll do it without any mistake if you follow the steps correctly.
2) Unfortunately, the Graphical Installation Guide does not show/mention the Manual/Advanced Option which is (IMHO) is the most important part of the installation process. Thus, you need to choose this option as per the below image:
3) As you may know so far, Linux uses different naming-scheme than Windows. There's no C drive and stuff like that.
Having the said, in this guide, I'm trying to install Ubuntu in partition sda5 and use sda6 (home) and sda7 (swap) as well. Yes, the best partitioning scheme is to have 3 partitions: root, home and swap.
Root and swap are must. Home partition is not but recommended.
4) You need to click on each partition to set the mounting point.
> Creating the first mounting point which is "/".
> Creating the second mounting point which is "/home".
> And this is the final step. Click "Forward" but as usual, make sure everything is correct.
5) As long as you have installed Windows XP first, you'll see something like this:
Since you just installed XP and there's no documents to import, then just click "Forward" and that's all.
6) Now, here comes the most important part of any Ubuntu Installation, period.
You need to pay so much attention to this step. However, at this point, if you will proceed with the default option, you're still safe but it's much better to check it. Why? you need to be familiar with that option.
Step 8 as per the image above is the last step of the installation process.
Once you reach here, click "Advanced".
You'll see another window "Advanced Options".
As you can see above, these are the advanced options you got.
This step should determine which Boot Loader will take the control to boot your machine.
Long story short, the best option is to use GRUB2 as your main boot loader.
GRUB2 is the best boot loader I've ever seen. In order to give GRUB2 (Ubuntu's boot loader) the full control over the booting process, you need to choose to install it on the MBR of your HDD as per the image above.
sda > means GRUB2 will be installed in the MBR.
sda1> means GRUB2 will be installed in Windows Partition. The same partition (C in Windows) that you used to install Windows on.
sda5 > means you'll install GRUB2 in Ubuntu's root partition.
sda6 > means you'll install GRUB2 in Ubuntu's home partition.
The only option you "have" to take is to install the boot loader (GRUB2) in the MBR which is sda.
Unless you have another reason that could prevent you from doing so. Yes, there are another boot loaders but this guide will not discuss that.
Click "Install" once you're done.
*Later on once we go further with this guide, we'll need this step a lot. Please, make sure to understand it.
7) Make a cup of tea or perhaps a cup of coffee and wait until the installation is done. It will take forever I'm kidding, you'll be amazed how fast the installation is.
However, if you're connecting to the internet, the installation process will take more time. During the installation, some files/packages will be downloaded from the internet, thus it might take a bit longer.
8 ) Once the installation is done, a restart is required but hey, don't worry, Ubuntu (Linux) is not like Windows, "Restart" process is not a common task that you need to do every 5 mins
Before the machine will reboot, you need to take out the installation media whether it's LiveCD or LiveUSB.
Press Enter and wait ...
9) After restarting, you should get something like this:
10) You are DONE.
Congratulation, you have installed your first Dual-Booting System "successfully"