This is a new user’s guide for installing Ubuntu 13.10 on a computer that has another OS already installed on the hard disk drive (HDD).

You would think that because Ubiquity, Ubuntu’s graphical installation is a point-and-click application, that users will not have any problem using it. But that does not seem to be the case. What’s easy for one person might not necessarily be for another.

I’ve been thinking about writing this for a while, but didn’t think there will be a real need for it until I saw this forum post, which I’ve quoted below:

When I went to install 13.10 I chose the option to remove windows and replace with Ubuntu. I had two partitions when I chose this. One with files I wanted to keep and the other being the windows 7 partition. When I chose to remove windows I assumed it would be placed on my C drive and not my other one. But what actually ended up happening was all my partitions merged into one deleting everything. Now I only have Ubuntu on my drive. I need help retrieving my files please!

Unfortunately for that guy, he lost his C drive and, with it, all his files. Not good. I don’t like Windows, but I don’t want anybody to lose data while installing any Linux distribution.

So, without further ado, here’s a step-by-step guide for installing Ubuntu 13.10 on your computer. For most users, that computer will likely be running either Windows 7 or 8, so I’ve used a test computer that’s running Windows 8 Pro for this tutorial.

Unlike Microsoft’s Windows or Apple’s Mac OS X, Ubuntu (13.10) and the vast majority of Linux distributions are free to download and use. A few will request a goodwill donation before you download, but you can still download without donating anything. Ubuntu is one of those. Yes, I know, Mac OS X Mavericks is free, but there’s a difference between OS X-free and Linux-free. That’s the subject of a separate article, so I won’t discuss it further. For now, let’s stay on topic. If you have not done so already, download a copy of Ubuntu 13.10 from here. And if you can, donate something, no matter how small. Ubuntu is produced by a commercial entity called Canonical. Employees have to be paid.

Ok, after downloading Ubuntu, the next task is to transfer it to a USB stick or burn it to a DVD. It’s almost 900 MB in size, so it won’t fit on a CD. The recommended method is to transfer it to a USB Stick. If you need help with that, see Install Ubuntu 13.10 using a USB key from Window or another Linux distribution. Once that’s done, insert the USB stick in a free USB port, or the DVD in the computer’s optical drive. Be sure to set the computer to boot from external media, then reboot the computer.

1. After the computer has booted, you will be presented with the choices shown in the screen shot below. Ubuntu 13.10’s installation image is a Live image, which means you can run it on your computer without installing it. It’s the easiest way to test-drive the OS. So If you’ve never used Ubuntu before, choose the Try Ubuntu option, otherwise, choose Install Ubuntu. I recommended the first option because if you start the installer from the Live desktop and something goes wrong, you can just quit the installer and restart it, without having to reboot the computer.
Ubuntu 13.10 Live DVD Live CD Linux

2. If you chose the first option, the computer will boot into the Live desktop. To launch the installer and begin the installation process, click on the second icon on the Dock (counting from the top). The installer should accurately detect your language and present it in the first step. If not choose your language from the list and click Continue.
Ubuntu 13.10 installation guide Unity desktop

3. This step just gives you information on what’s needed for the installation to complete successfully and a few options to enable. With Install this third-party software, the installer will install important utilities that you will need on a running system, so it’s best to enable it. Continue.
Ubuntu 13.10 install requirements

4. This is where you need to pay special attention, if you don’t want to lose your data. The installer has detected another operating system on the target HDD and has offered you several options. There’s nothing complicated about the options, but if you need help understanding what they mean, the rest of this article will explain each in detail. If you intend to install Ubuntu on the same HDD that you have the other OS on, retaining the other OS (and you data) in the process, Install Ubuntu alongside Windows 8 is the option to choose.
Ubuntu 13.10 Partition methods

5. This screen shot show what the installer does to the other OS if you choose to install Ubuntu alongside it; it will create room for Ubuntu from the unused space left on the partition. In this case, where Windows is the other OS, that means your C drive. But it will do that only if there is enough space to install Ubuntu. With this option, data on your C drive will remain intact and after installation, you will be able to boot into Windows, log in and access your files. You will also be able to boot into Ubuntu, log in and access the newly installed system. This is called dual-booting. This automated method is not the best way to go about dual-booting Windows and a Linux distribution, but it gives you an idea of how it is accomplished.
Ubuntu 13.10 Partition installation guide dual-boot

This screen shot shows how Windows sees the partitions. The first two in the list are the default partitions created by the Ubuntu installer.
Windows 7 Partition manager

6. The other option to consider is Replace Windows 8 with Ubuntu. Note that the other OS can be any other version of Windows or even another Linux distribution. If you look carefully, you will see a line of text just below that selection that warns that selecting it will cause all your data to be deleted. Select this option only if you do not want to keep the other OS. AND after backing up your data. This option will not just delete your files, it will delete all the partitions of the other OS, and if that other OS is Windows, that means your C drive and everything on it. After installation, you will not be able to recover anything, so be careful with this option. Actually, there are tools you can use to recover the partitions and your data, but why would you want to go through the trouble. Just back up your data. To paraphrase a popular saying in the investment community, nobody ever lost data by backing it up.

With this option come two features – disk encryption and LVM. If you enable Encrypt the new Ubuntu installation for security, the entire HDD, minus the boot partition, will be encrypted. After installation, the system will boot only after you enter the correct encryption passphrase. The other option, LVM (Linux Logical Volume Manager), is a disk management feature that makes it easy to dynamically allocate disk space on the system. See this article for more on the subject.
Ubuntu 13.10 replace Windows 7 8

When disk encryption is enabled, you will be required to specify a passphrase. You will have to enter the passphrase you specify here every time the computer boots up. If you fail to enter the correct passphrase, the computer will not boot. For better security, the passphrase should not be the same as your login password.
Ubuntu 13.10 disk Encryption passphrase

This image shows the screen you will be see at every system reboot or bootup. As stated earlier, the computer will not boot if you fail to enter the correct passphrase.
Ubuntu 13.10 disk Encryption passphrase

After six unsuccessful tries, the system will drop you to this screen. Good luck trying to figure out what to do. If you encrypt a disk. don’t lose the passphrase.
Ubuntu 13.10 Encryption passphrase failure

7. The last disk method to consider is Something else. This option lets you create partitions manually. Manual disk partitioning in Linux is not a very difficult task, but you do need to know what you are doing. If you’ve never partitioned an HDD in Linux, Guide to disks and disk partitions is a recommended read.
Ubuntu 13.10 Install Something else

This is the next step after selecting “Something else” and clicking Continue from the previous step. This is the installer’s Advanced Partitioning Tool’s window. It shows all the HDDs detected by the installer and the partitions under them. The Windows 8 partitions you see in this screen shot are those created from a test installation of that operating system. If you have a store-bought Windows 7 or 8 machine, there will be more partitions that what you see here. If you are new to our world, note that there’s no C drive in Linux. In this screen shot, /dev/sda2 is what Windows calls the C drive. Creating partitions using this tool entails resizing the Windows partitions to create enough disk space for Ubuntu. To do that, simple select the target Windows partition and click on the + button. We’ll go though the process of creating custom sets of partitions in another article.
Ubuntu 13.10 advanced Partition guide

This is a photo of the Advanced Partitioning Tool’s window from a store-bought Windows 8 laptop. It’s not a good-quality picture, but if you look carefully, you will see that there are more Windows partitions than the one from the image above.
Windows 8 uefi Partitions

If you are reding this paragraph, you should now be able to use one of the installer’s automated disk partitioning options without wiping your Windows partitions.