This is an installation guide for Ubuntu 10.10 Maverick Meerkat targeted at people who want to dual boot with Windows 7 (would work for any version of Windows) and Ubuntu 10.04. I have chosen the most basic setup with Windows 7 already installed and occupying the entire hard drive. An alternate setup could be, that you have a second hard drive which you want to install Ubuntu on. If you already have Ubuntu installed and want to install Windows, read this post  (although it is for Ubuntu Lucid, the concept should be identical). People who don’t want to partition their hard drives can use Ubuntu 10.10 by virtualizing them from inside Windows by either using Virtual Box or VMware Player (both free softwares). This approach, described here  for Ubuntu 9.10  (its identical for 10.10), works very well if you are not planning on using Ubuntu extensively and also if you have a multi-core CPU (dual, quad etc) which supports virtualization, because then, you won’t feel any lag or delay while running two operating systems simultaneously. If you are going to install Ubuntu on a second hard drive you can skip Step 0, and go directly to Ubuntu installation process. You would not need to resize your Windows partition either. But, you must install the Grub on second hard drive! More on this later in the post.
Since we are going to resize the partition on your windows disk, it is strongly recommended that you backup all your data on windows machine, while chances of any problems arising are minimal, it is better to be safe than sorry. After backing up all data, run disk cleanup and disk defragmentation (for older Windows) from the Accessories > System Tools Menu. This is strongly recommended if you have an old Windows installation, as this facilitates smooth and fast partitioning.
You can resize your existing Windows partition using two approaches, either using Windows partition manager or by using the Gparted software on Ubuntu Live CD. It is probably safer to use the first approach as you are using native Windows tools, while dealing with NTFS file system. The procedure to resize the partition is described here . If you prefer approach 2, you can go ahead with it, I have been using Gparted for last 4-5 years without ever having any problems. I’ll discuss it in a moment.
Put the Ubuntu Lucid Lynx installation disk, iso for which can be download from www.ubuntu.com , in your CD/DVD drive and reboot (make sure your DVD/CD Drive is the first boot device or at least ahead of your hard drive in boot order). Alternatively you can use your USB drive to transfer the Iso image and make it bootable by using Unetbootin as described here . Ubuntu should start to boot from CD. Hit any key to reveal this screen
You would see something like this
Right click and choose to Resize/Move the partition. Now grad the slider to the desired partition size, you should keep at least 10 GB space for Ubuntu to function properly, (if you are low on space then go for 8 GB, anything lower and you might run into disk space issues in your Ubuntu install).
Once again, on reboot, your computer should start to boot using Ubuntu Live CD or USB drive. This time choose the Install Ubuntu option.
On the next screen, the live CD installer allows you to connect to your wireless connection, if you have wired connection with DHCP enabled, it would detect it automatically. If you were able to connect to the network, tick the boxes for Download updates while installing and Install this third party software (to enable support for mp3, flash etc. by default).
Now we would create two partitions for Ubuntu installation: (1) “/” or root partition, where all files would be store (it is like your C:/ drive on windows) (2) SWAP partition, which is used when your RAM gets full, make sure that you make SWAP size greater than your physical RAM size, this machine has 2 GB RAM so I would create a 3 GB SWAP partition.
To create partitions, select free space and then hit the Add button. First create the root “/” partition, using settings similar to the one shown below (I have kept 3 GB for SWAP, and I am using all remaining free space for my Ubuntu installation).
And you have Ubuntu 10.10 Maverick Meerkat dual booting in harmony with Windows 7.
For perfect desktop post install guide, see this .
For installing Compiz and emerald, see this .
To change default boot order and to make Windows as auto boot choice, see this .