This section provides the procedure required to set up a dual-boot system with Ubuntu and Windows XP.
-
From within Windows, run the Windows defragmentation tool on the
C drive
. This can be accessed by going to → , typing defrag in the box provided and then pressing . -
Defragmentation may take a very long time, up to several hours. Once it has finished, insert your Ubuntu Desktop CD into your disc drive and reboot your PC.
-
Follow the instructions given in the Chapter 4, Installing Ubuntu section until the installer shows the screen titled Prepare disk space.
-
Choose Manually edit partition table. The disk partitioning tool will start, showing a list of the partitions currently set up on the computer.
-
Select the partition which contains Windows. You may be able to identify it from its size or label. Once you are sure that you have identified the correct partition, press Enter.
-
On the screen which appears, select Size: and press Enter.
-
On the message which is shown, press Enter.
and then press -
Type in a new size in Gigabytes (GB) for your partition. It is recommended that you reduce the size of the partition by at least 10 GB in order to provide enough space for Ubuntu on the hard disk.
-
Press Enter to apply the changes. This may take some time to complete.
-
In the free space which has now been made, create a swap partition of around 500 MB. See the section called “Partitioning your disks” for more information on this.
-
Also, create a partition for your Ubuntu installation, of at least 10 GB.
-
Select Finish partitioning and write changes to disk to permanently apply your changes. This operation may take a while, and cannot be reversed.
-
Finish installing Ubuntu according to the instructions on-screen or the Chapter 4, Installing Ubuntu section.
-
On rebooting your computer after installation, you should be presented with a list of operating systems to boot. Ubuntu should have automatically detected your Windows installation and added an option to boot it on this screen. You can select it using the arrow keys on the keyboard, and can start it by pressing Enter.