Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have Windows 7 Pro installed in my system. Now i want to dual boot my computer with Ubuntu 12.0. How can I install Ubuntu alongside Windows 7?

For that, I think I need one more primary partition but when I run the ubuntu installation disk, I don't know where I need to install it. The disk names in ubuntu are confusing.

If I can install with wubi, how do I do? It has only two options and does not have any option to install ubuntu alongside windows.

share|improve this question
up vote 1 down vote accepted


I would avoid WUBI personally, it works pretty well and does the work for you to install Ubuntu; however, it also puts Ubuntu in the Longhorn loader (Windows Boot Loader). It makes sharing files across is a bit more difficult as well.

Wikipedia: Wubi (Ubuntu installer)

Limitations Compared with a regular installation, a Wubi installation faces some limitations. Hibernation is not supported and the filesystem is more vulnerable to hard reboots1. Also, if the Windows drive is unmounted uncleanly (Windows crash, power failure, etc.), Ubuntu will not be able to mount the Windows drive and boot until Windows has successfully booted and shut down. If the Windows system cannot be booted after the crash, the user also cannot boot Ubuntu. Performance related to hard-disk access is also slightly slower, more so if the disk image file is fragmented, on a Wubi install compared to a normal one.1

Shrink the Windows Partition

I am assuming you have enough space to do this and that you have Administrator rights, if not - you may need to look into another option. To begin, if you have more than 1 HDD, I would suggest unplugging the ones you do not want Ubuntu on while the computer is off BEFORE INSTALL. That is simply to avoid the Bootloader getting installed on another drive and potentially being overwritten or corrupted if you fundamentally change the drive.

  1. Click Start
  2. Right click on My Computer
  3. Select Manage
  4. Click Storage --> Disk Management
  5. Right Click on the drive and click Shrink Volume (My example is C:) Manage/Shrink
  6. Determine your size (As you decrease the slider box, the one with the pointer goes up and is the New Partition's size) New Partition Size
  7. Then put in the Ubuntu disc and during install be sure to select the correct one, it'll be formatted blankly unless you do it while still in windows.

One Partition or Many?

That depends, do you want SWAP space? The general consensus is yes - especially if you have low amounts of RAM. You shouldn't need more than 4096, but Linux can support logical partitions (not just primary).

The second common one is a separate HOME partition. As a newb to Linux - I doubt this will matter to you much - so I would probably forgo it. But that is just me.

The third common one is a separate SRV partition - but that is for servers. The idea there is to keep it separate so even with vulnerabilities - the root drive is distinctly separate.

Good luck!

share|improve this answer

If you have unpartitioned space on the disk then you can just create a partition from the Ubuntu installer. Or you could use diskpart in windows.

If you do not have unpartitioned space (e.g. the windows partitions are the complete size of your full disk) then you first need to make some free space. You can do that by deleting unused partitions (if any a present) or by shrinking one of the existing partitions.

The easiest way for you to do that might be via computer management -> disk management -> right click -> Shrink volume.

See also: Claim space for a partition from another partition nearby? (not a duplicate, but close).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .