Win7 installing Ubuntu 12.04 does not recognize the partition

Source: Internet
Author: User

There is a Win7 on the computer, because to develop in the Ubuntu environment, so to install an Ubuntu.

In the Win7, by compressing the volume, freed up the space of 150G.

When I installed Ubuntu, I was prompted to say there is no operating system on my computer.

Select the partition where you see only the entire hard disk device, not the partition on the hard disk.

Find some information on the Internet, through the order:

sudo parted/dev/sda

Enter print when you are in


This may be caused by a program that does not understand the GPT partition table. Or you deleted the GPT table and now use the MSDOS partition table. Is this a GPT partition table?

I typed a Yes, or I don't see any partition information:

Model:ata HGST hts725050a7 (SCSI)
Sector size (logical/physical): 512b/4096b
Partition table: GPT

Number start: End size file system Name flag

Follow the online post prompts to enter live, and then enter the following command:

sudo dd if=/dev/zero of=/dev/sda bs=1 count=8 seek=512

If you install Ubuntu again, you'll see the partition.

In the process of looking for information, there is another reason that could cause this behavior, which is that the last partition is out of disk range, causing Ubuntu to not recognize the partition information.

can be resolved by modifying the partition table.

For any specific reason, after the problem has occurred, use sudo parted/dev/sda print to view it.

Win7 installing Ubuntu 12.04 does not recognize the partition

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.