How to install Ubuntu : The Ubuntu Installation Guide

The Ubuntu installation guide: last updated September 2009
Table of contents
- Install from CD
- Install with Wubi
- Install in EXT3 Partition
- Install from USB
When it comes to installing Ubuntu, there are so many useful snippets of information on blogs and guides all over the internet. If you Google “How to install Ubuntu”, you’ll see what I mean.
For an Ubuntu beginner or curious Windows intermediate user however, there’s no single, simple source of information when it comes to trying out your first Ubuntu installation. One thing I have noticed is that there’s a lot of technical jargon and sometimes unnecessary terminal commands in lengthy forum posts, but no simple “how to” guides, which I think might put some people off! A shame, when you think about how easy Ubuntu is to install, use and tweak to look really cool!
This post will talk you through your first Ubuntu installation, hopefully teaching you everything you need to know to give Ubuntu a try without breaking or removing your existing Windows installation. The end result will be a “vanilla” Ubuntu Installation running simultaneously with your Windows installation using either the GRUB bootloader, or WUBI, depending on how far you’d like to go on your first Ubuntu experience.
I hope my guide makes installing Ubuntu an enjoyable, simple experience. By the end of the guide you should have a dual boot Windows / Ubuntu machine that happily plays music, video, and acts as a perfectly usable home office computer with Openoffice 3.0. For the really adventurous you could even run Windows XP inside Virtualbox, which is linked to later on in the guide. The Ubuntu OS is unique and seriously cool, so, enjoy the trip.

If you’re planning on installing the latest version of Ubuntu (Jaunty Jackalope 9.04) you can install Ubuntu straight from the CD inside Windows or from a USB stick and the install process can takes care of formatting your hard drive partition for you. You might not yet have a spare partition to do this, so I’ve covered shrinking your existing Windows partition to make space for Ubuntu here.
How to install Ubuntu from CD
1) Download the Ubuntu ISO from http://www.ubuntu.com/getubuntu/download and save to your desktop
2) Burn the ISO image to a blank CD using Roxio CD creator or similar:

3) Run the CD from “My Computer” – the CD should ask permission to run at which point you’ll see this option screen:

Install Ubuntu with Wubi
4) If you’d like to install Ubuntu using Wubi, select “install inside Windows” and follow the instructions. Installing with WUBI is ideal for a first taste of Ubuntu as you can remove from add/remove programs in Windows later on. This install process is really easy but you don’t get the same performance as if Ubuntu had a separate partition running on its EXT3 file system. The following screens are all based on the Wubi installer process, so you can follow the rest of the instructions below.
If you’d like to install Ubuntu separately to Windows, then skip to point 7) below.
Here’s what you see next:

If you’ve got the space on your hard drive, go for 30gb or more for the installation size.
5) Now configure your installation using the simple settings options. You can specify the location of the Ubuntu installation on your Windows partition, the size of the Ubuntu installation, the Ubuntu flavour (Ubuntu, Kubuntu, Xubuntu, etc), your preferred language, and a username and password for the Ubuntu system.
When you click install, you’ll see this screen:

As soon as the files have finished downloading, you’ll see this:

6) That’s it! Click reboot now, and select “Ubuntu” on the startup screen. You now have a fully functional dual boot Windows / Ubuntu machine.
Install Ubuntu on a single (EXT3) partition (separately to Windows)
7) Click “Demo and full installation” and your computer will restart and boot into Ubuntu.
It’s worth saying at this point that you’re about to install Ubuntu on an entirely separate drive partition. That means, you need to make sure you have enough space on your computers hard drive to accomodate the new setup. Keir Thomas found that a partition less than 4gb would lead Ubuntu to crash during install in his first look at Ubuntu 9.04 over at Lifehacker.
Here’s a guide on how to resize or shrink your Windows Vista partition. Follow those instructions before you reboot into the live version of Ubuntu and you’ll have a really easy time during the following steps. Maybe you’d like to install from a USB? Let’s have a quick look at the process of installing from a USB before we continue:
Here’s how to install Ubuntu on a USB drive from Windows Vista:
Format your USB stick with a FAT32 partition from Windows. You can get to the format dialogue by opening My Computer and right mouse clicking the removable drive icon. Click “Format” and follow the settings in the image below. You need a minimum 2gb USB stick.
9) Download UnetBootin. UNetbootin allows for the installation of various Linux/Ubuntu distributions to a partition or USB drive, so it’s no different from a standard install, only it doesn’t need a CD. The coolest thing about the application is that it’s a “portable” app. You don’t need to install it into Windows meaning UNetbootin will run on your Windows PC without “admin” privileges.
The new version of Ubuntu isn’t in the Distribution list supplied with UNetbootin yet, so use the downloaded Ubuntu ISO from earlier on. Add the ISO using the “Diskimage”, make sure your USB drive is selected below and click OK.
The ISO transfers to the USB pretty quickly, so soon after you click OK you’ll see this screen:

10) That’s it – when the installation process is complete, restart your computer and make sure it’s set up to boot from USB. On my HP Laptop, pressing F9 on the boot screen shows a boot order menu. Selecting “USB Hard Drive” follows a black screen, an Ubuntu logo, and finally, your new Ubuntu desktop appears.
Completing your Ubuntu installation, step by step
Installing Ubuntu is so easy that it requires very little effort past this point. If you’ve managed to repartition your hard drive and restart your computer you’ll sail through the next few steps:
11) Click “install” on the live desktop (top left)

12) Choose your language in the welcome screen
13) Choose your location
14) Choose your keyboard layout
15) Set up your disk partition. This is probably the most “technical” part of the installation. When I shrunk my Windows Vista drive volume, I never formatted the new partition, which means the “use the largest continuous free space” option works nicely:
16) Choose your username and password:

17) Migrate your Windows documents and settings

18) You’re now ready to install your new Ubuntu installation

19) When the installation has finished, restart your computer (you’ll be instructed to remove your cd rom or USB drive). You’re now ready to begin using Ubuntu!
Useful tips and resources for Ubuntu
Over the months, I’ve compiled a number of useful tips and hints to get you started in using your new operating system. Here’s a few that people have found most useful:
When you first login you’ll notice the system beep is a little annoying. Here’s how to turn it off. Having problems setting up your wireless network? Use this guide to set it up. Want to run Office 2007 or Windows XP from inside Ubuntu? Use this guide to install Virtualbox. Want to have that amazing 3d cube desktop? You’ll need to install Compiz. Want to make your installation look absolutely amazing? Check this post for a beautifully minimalist Ubuntu desktop powered by Conky. Finally, why not try installing boxee inside Ubuntu to watch a lot of great, free TV!
Ubuntu is a brilliantly simple, easy to use, free and powerful operating system. I hope this guide helps you get on your way. Any feedback? Leave comments below.
Want to learn a lot more? Here are some highly recommended Ubuntu books:







{ 57 comments… read them below or add one }
I love it. Very very good article.
Kudos!
was so excited bout this because i was really thinking of trying out ubuntu since my notebook with vista was getting a bit annoying..but the problem after i installed wubi ubuntu was my wireless network adapter(Atheros) was not functioning..is there something of a workaround for this?i really like what i saw in ubuntu..but i need to connect via wi-fi to be able to really appreciate it! thanks and very nice post..informative!
Thanks for dropping by jenko and thanks for the kind feedback!
By the way, for atheros drivers in Ubuntu, i’d talk to these guys
Hi everyone, just to let you know I’ve updated the first part of the installation guide to accomodate Intrepid Ibex 8.10. Be careful if you’ve got a Nvidia card though, I’d wait a few more weeks as there’s a problem with X.org compatibility…
I have installed Ubuntu 8.10 and am having a nvidia geForce4 488 graphic card. I want to install the driver for this card but when I open HardwareDriver dialog, I did not see my card so i can’t enable it. Anyone can help on this? Thanks very much.
@limcheling There were early problems with the nvidia drivers, you should be able to get the latest update packages via update manager – if you need to know how to activate the Nvidia restricted drivers first then check this link out : http://seogadget.co.uk/how-to-install-a-nvidia-display-driver-in-ubuntu/ after you’ve followed these steps the system should give you instructions on how to download the latest patches (requires restart)
I am a novice to Ubuntu 9.04. I installed it using WUBI inside my laptop for dual boot. On first reboot after I select Ubuntu, I get a screen which shows “loading please wait…” on top followed by a big string saying big box versio—- followed by type help to see commands available in shell. This is followed by (ramdirfs) in a new line followed by a blinking cursor and it seems to wait for an instruction from me. I do not know where to go from here. I did not use a CD instead I put both WUBI and the iso image on my desktop. Can you please help.
@Aunpam – try restarting, booting into Windows, doing a proper shut down and then reboot into Ubuntu. That usually works.
@Abhilash I’d suggest you try installing from the USB drive
hey when i try to install ubuntu onto my computer from my usb drive it says there is a missing operating system. what can that be
Hey Evan. That almost certainly sounds like your PC / Laptop is trying to boot from the hard drive not your usb stick. On my HP laptop I have to hold down F9 to “select boot device”.
If that doesn’t sound familiar I’d recommend you try reformatting your USB and putting the ISO back on with UnetBootin.
Hope that helps,
The very best introduction to installing Ubuntu I’ve ever seen – brilliant! Thank you!
Hi..!! thnx for the tutorial. I have a problem i downloaded ubuntu i installed it. I rebooted my pc i selected ubuntu but then a black screen comes up. wat’s going wrong ?
I installed the older (5.10) version of ubuntu from a cd…the installation went fine. My problem now is that I need instruction on HOW to CONNECT to the INTERNET – to get ONLINE and be able to surf and connect to my webmail etc. So HOW do I go about connecting my ‘SpeedTouch’ usb broadband modem?
I`ve looked everywhere on the new installation screens, but can find nothing to assist me with this task…so can anyone please help?
tnx! i have your guide printed and i’ll be using it as my guide. i’ll come bck soon after i finish installing the 9.04 v
i need help on partion of disks
when i install ubuntu the partion shows whole hard disk of 320gb
i need help from you to install ubuntu
can u install it on only one user?
Thanks!!!
Thank you for your guide
It is really useful and I got an Ubuntu/Vista machine
Cheers
well the second option is not desplayed for me i
hey i need ur help coz the second option from picNo. 15 is not displayed so i could not install ubuntu … plzzzzzzzzz help
hey! i have a problem installing ubuntu with wubi, when i run it, it downloads the files properly, but when it gets to the part "installing virtual disks" it takes a few hours, so i think something wrong. do you know what that can be?
hey i have the Ubuntu CD and i installed it in C in windows vista and when i restarted my PC a black screen appears i choose Ubuntu then another black screen appears and it was written ” loading… please wait”
after this nothing happens i waited for about 30 min and it remains any help plz email me @ samirdouaihy@gmail.com
Thank you so much for this article.
You have articulated everything in perfect way.
thank you somuch for this article
this is the great post of linux ubuntu “how to install” info ever i’ve found so far! wow! keep up the good work nice guy, i’ll spread this link all through out coz a lot of users from windows like this so much..
Richard, thanks very much for this. It’s what helped me go on and try Ubuntu 9.04 on my 10-year old Dell XP laptop.
I wonder how many Windows users didn’t realise that you can’t use standard Windows drag & drop to burn the downloaded Ubuntu .iso file to CD – that you have to use Roxio or (like me) Burn4Free to create an ISO CD (duh!)? The Ubuntu website is a little sparse on the installation details!
With your help I had it up and running with no intervention other than giving it a partition size. Now I can play!
Do you think it (or a variant) would bring my old Windows 95 Thinkpad 560E from 1997 back to life?
Thanks again….
Thanks for the kind words! To answer your question, I think it’s worth giving it a go. Try this post on Lifehacker [Install a minimalist Ubuntu Desktop] and see what happens!
You’re article is very informative and easy to understand. Thank you very much for sharing your knowledge.
Can I access any files from my XP partition from Ubuntu?
Hi Matt – try this post at Ubuntu Geek. Hope that helps!
I have loaded Ubuntu on my Amd machine and so far hate it. I cant download anything without an error box coming up saying it cant load it. I want to switch to my off board video card and it won’t do that either. I have no sound, and it does not read either my floppy drive or my dvd drive. I was hoping this article would help but I have done the install like it said and nothing! I am getting tired of searching the web on how to do this. I am about ready to re-install my windows xp.
cheri
@Cheri
So sorry to hear this Cheri! While teh guide is designed to get you as far as an installed copy of Ubuntu, I’m afraid it’s not able to cover all of the different processes for various drivers for video / sound / network cards.
What sort of errors are you getting on download? The process of installing new software in Ubuntu is different to that of Windows. Try Synaptic Package Manager (refered to in this article for different applications to install.
It sounds like you have a lot of driver installation problems. If you can tell me what hardware you have for your soundcard and video adapter, I’ll point you in the right direction for the driver installs.
on board I have a Geforce 8200. Off board I have a GeForce 9800 GTX/9800 GTX+ the latter is what I want to use but Ubuntu does not recognise it. I cant get that to work either. says the server is not installed. I would love to tell you the error message but it comes up in that archive manager and it is a bunch of stuff I don’t under stand.
I’ve gotten everything ready to go with the flashdrive but then, I restart, setup boot sequence to D: which is where my flashdrive is, and then it always boots up windows. I tried to change some settings in bios whick I probably shouldnt have, and now the computer wont start either OS. It gets stuck on Verifying DMI Pool Data. I tried resetting the default settings in bios but I dont know Blah!!! I know more about computers than the average person but when it comes to the bios and all that stuff havent really messed around with. A little nudge in the right direction would be appreciated.
It’s not usually until Windows has booted the the USB drive would be assigned a drive letter.
You need to get into the bios settings and set the ‘USB device’ as the primary boot device. Try that and let us know what happens.
And, it sounds like you might want to reset the bios to default settings too
I reset all the bios settings I could and the same thing is happening. The only thing that I find on booting a certain device is the boot sequence which I think is different but there is nothing else. These are my options for the boot sequence:
A,C,SCSI
C,A,SCSI
A,CDrom,C
c,cd,a
cd,a,c
cd,c,a
d,a,scsi
e,a,scsi
f,a,scsi
u66,a,c
scsi,c,a
c only
ls/zip,c
is it possible that the computer is too old cause its about 7-8 yrs old. maybe thats part of the problem
I figured out I had to use the performance settings in bios to load windows. I just still need to figure out how to load ubuntu
I am trying to install the latest version I downloaded from the website to my PC it only has an 80GB SATA but when I boot straight from the disk to install over windows the HDD does not come up as an option to be used. I am thinking of just taking 10GB off in windows to start off then formatting the windows partition to a linux format once I have installed
Hi James, I’d still recommend you started a clean installation – perhaps with a dual partition. You could always try these instructions on how to resize your partition or use gparted (google it). I think if you have a completely new partition, and you check your boot device order, you should be fine.
Hi there, was wondering. If i installed ubuntu through the guide, can i install it on the whole HDD (like one of the options). If i did this, would it completely remove windows from the computer? (I have XP installed)??
or, if i formatted the whole HDD first so it has nothing on it, then turned on the computer with the removable USB then installed it to the HDD would everything that previously installed would be gone?
sorry if this is confusing, in other words. I want to format my HDD and get rid of windows 100% and install ubuntu 100%
thanks
I have the disks for ubuntu but since people have so many problems with it im not sure anymoree :S
Thanx 4 such a nice guide
so lets say i have a laptop with to hdd’s and both are ntfs and one is running vista and the other is basically empty with 80 gbs sitting there untouched and when i look at my hdds through partition wizard i see also two eisa partitions(the backup recovery for vista, right?)and so if i wanted to install ubuntu to that empty hdd but only wanted to use say 40 gbs, i would partition the drive and format it so it could install ubuntu right? but what about the other 40 some odd gigs left that are unallocated as a logic type of partition but i cant format this partition because of missing mbr slots? can i also delete one of the two eisa partitions? any and all help is much appreciated, thank you and have a good day.
I have an asus A7V8X with a hardware raid-0 loaded with Vista. I’ve been trying to install Ubuntu 9.1 but the installer cannot see my hard disks unless they are USB or IDE. My raid is a promise 376 and I can’t find any driver to load with my ubuntu installation. Even though I haven’t given up, it would be great if I could get some advice if the software raid is the only available option out there. I think it’s an overkill for the substitute of a linux driver for my raid.
Any advice?
Thank you! Great website.
got error 0×0000c1f5 on vista, found out i can use ubuntu to format hardisk but wifi doesn’t for i am a novice! if i go to http://madwifi.org/ do i copy drivers to cd than install them to ubuntu machine just want wifi
just tried installing on an ole p3 dell lat with 256MB ram and can’t get past
[9.960568] Kernel panic – not synching: Out of memory and no killable process es . . .
[9.960588]
can this old laptop be saved??? any suggestions???
it has xp on it and i just wanted to move to ubuntu to speed it up, i know the iso is good because i installed on another machine
thanks for the info, but can install it on 128i meory
Hi
I am going to install ubuntu on a partition today. I was wondering about the whole drivers issue. I am currently downloading the drivers for my laptop just in case i need them.
Will I need to reinstall them on ubuntu? are the windows drivers provided by the manufacturer (acer) valid? if so, does it make a difference if they are windows vista, windows 7 or xp drivers?
thanks for your help!
I just recently started trying to pursue my interest in Linux with Ubuntu and am running into a problem.
Didn’t have a CD handy to write an iso, I attempted to install Ubuntu 9.10 to my spare hard drive, a 160gb IDE drive, by booting from a flash drive and installing from there. It’s my only IDE device and it’s jumpers are set cable select, attached via the master end of the IDE cable. Was previously formatted NTFS and running WinXP. I have another HDD and a cd drive, they’re both SATA and the hard drive is running Vista.
Installation was without incident until afterwards, I formatted the entire drive EXT3, using the guided partition/install option. After installation I restarted as I was promted to do, computer restarts, begins to load. Grub loads, and then the Ubuntu logo comes up and appears to load, and then the screen goes black for a very long time (5-10 minutes). Eventually a message appears stating some problem with finding root or finding the boot device or something, and finishes by saying that my hard drive does not exist. The line it uses goes something like this: /dev/disk/somethingorother does not exist. Dropping to a shell!
From here I can input commands but I’m not familiar with most of them.
I tried reformatting and installing using an Ubuntu 8.04 CD (Hardy Heron?) that I got from a linux instructor at the local college. It’s the disc he uses and should be good but I get the same issue. I can boot and run linux from the disc without incident, Worried that my old hard drive is kicking it, can anyone help?
Forgot to mention (if this is important or not), Bios detects all my drives and when I run from the CD I can see and interact with both drives normally, though my second drive (the one I’ve been trying to install on) cannot be seen when I boot in Vista ever since I first formatted and installed Ubuntu.
Problem solved, just installed ubuntu inside windows, will check it out.
Whan I want to install Ubuntu 9.10 on my lifebook I’ve got no problems. But when the installation is buzy, I’ve got a white screen. This is a little bit scary.
How do I fix this?
Philippe
Hey, I’m a COMPLETE newbie to this and I’m just wondering about whether my laptop has the right specs to install ubuntu. I’m sick of XP and a mac is just too expensive for me atm.
I can’t get to it atm but I think it’s something like 128MB RAM, 40GB hard drive (I know, sad.) and 350mhz processor. I think it’s an IBM thinkpad from about 6 years ago lol!
I also plan to completely wipe the hard drive before installing my new OS, but I can’t get administrators privilages. what can I do?
thanks!
sorry, its 1024MB RAM and a 1600mhz processor. i’m mixed up with some other gadgets im messing around with atm