I just spent most of the morning installing Ubuntu Linux 11.10 to dual-boot with Windows XP, which came on the computer I am using. For the future, I wanted to record some basic information about how to replicate this task. If it is helpful to some poor lost soul trying to do the same thing, all the better!
The hard drive that came with the computer already existed in two partitions, so I decided to leave Windows with the 100GB partition, while using the 38GB partition for my Linux installation. (My wife will probably be storing lots of photos on the computer, and she is only interested in using Windows.)
First, I booted up the computer using the Ubuntu boot-up CD I burned from the .iso file I got from the Ubuntu Download page. Instead of clicking "Install Ubuntu," I clicked the "Try Ubuntu" button. That way, I could use the GParted Partitioning tool to create the necessary partitions before I began installing Ubuntu.
Next, I opened up GParted, and I was able to see the two main partitions. I had to change the smaller partition (the one I wanted to use for Ubuntu) from a primary partition to an extended partition. To understand these concepts, I got a lot of help from this tutorial. Here were the steps I needed to take:
At that point, I was finally ready to install Ubuntu on the computer. I selected the dual boot option, and then I clicked to enter the advanced partition settings to tell the computer how to utilize what I had just done to prepare the disk. Here is how I made this work:
That's it, and everything works!