Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So I'm using Ubuntu live CD to install Ubuntu next to Windows 7 but it doesn't recognize partitions.

Here is sudo fdisk -l:

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x0c7a859b

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63  1250259631   625129784+   f  W95 Ext'd (LBA)
Partition 1 does not start on physical sector boundary.
/dev/sda2   *       81920     4177919     2048000    b  W95 FAT32
/dev/sda3         4177920   147535871    71678976    7  HPFS/NTFS/exFAT
/dev/sda5       147538608  1147859631   500160512    7  HPFS/NTFS/exFAT

I have one partition with Windows 7, one with its created partition (OS) and one for data.

share|improve this question
You better can verify your problem with Gparted CD. Boot with this cd, and look what is going on. Download and burn it: sourceforge.net/projects/gparted/files/gparted-live-stable –  Julien Chau Jun 9 '12 at 18:41
@JulienChau Or just run GParted from the Ubuntu live CD (select Try Ubuntu instead of Install Ubuntu, then you'll get a live CD desktop and you can run GParted). The version of GParted on the latest official GParted live CD is newer than the version of GParted on the Ubuntu live CD, but only rarely does that provide a substantial advantage. –  Eliah Kagan Jun 10 '12 at 5:11
Do I understand good: you try to install Ubuntu. And during the installation Ubuntu does not know on what partition it must he installed? You can design it yourself, indicate the ext.4 partition during the installation. Is this your problem? In what I can see from your question it seems that you do not have a ext.4 partition. Is this so? Are you installing Ubuntu in Windows (wubi.exe)? Give some more informations please. –  Julien Chau Jun 10 '12 at 18:12
add comment

2 Answers 2

I had a similar problem look at mine. I am not an expert so just look at it if you want. Someone else will give you more expertise. They helped me.Ubuntu 12.04 does not see windows already install on my computer (dual installation)

share|improve this answer
add comment

Your question does not clearly state what you mean when you say that the Ubuntu installer "doesn't recognize partitions".

My answer below suggests a work-around which may help you if your problem is that the Ubuntu installer does not detect your existing Windows installation. If this is the case then the Ubuntu installer will not display the "Installation Type" window offering a choice to install Ubuntu alongside Windows 7. My answer is based on the answer to the question: Why doesn't the installer see all of my hard drives?

  1. Boot your Ubuntu install CD and select the option to Try Ubuntu.
  2. When the Ubuntu desktop appears, open a terminal window. (You should be able to use the keyboard shortcut CtrlAlt+T to do this.)
  3. Enter and run the command os-prober. Given the output from fdisk in your question, os-prober should return /dev/sda2:Windows 7 (loader):Windows:chain.

    If this is what you get then you do not have the problem I thought you might. Please let us know and we can try something else.

    If os-prober produces output but that output is not
    /dev/sda2:Windows 7 (loader):Windows:chain
    then please add the output you did get as additional information to your question.
    The additional steps below are unlikely to help you.

  4. If there is no output at all of any kind from os-prober in step (3) above, then please run the command below in the terminal window.
    sudo dmraid -rE

  5. After the dmraid command in step (4) completes, please re-try the os-prober command. If you now get output from os-prober indicating it discovered your Windows installation, then please try re-installing Ubuntu.

    You can use the desktop icon Install Ubuntu 12.04 LTS to start the Ubuntu installer from the desktop. This time the Installation Type window should contain the option to Install Ubuntu alongside Windows 7.
share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.