Partitions are not identified when ubuntu12.04 is installed in win7

Source: Internet
Author: User

Partitions are not identified when ubuntu12.04 is installed in win7

There was originally a Windows 7 7 on the computer. To develop it in the ubuntu environment, we had to install ubuntu.

In win7, the compressed volume makes room for 150 GB of space.

When installing ubuntu, I am prompted that there is no operating system on my computer.

Select a partition. Only the entire hard disk device is displayed, and the partition on the hard disk is invisible.

I found some information online and run the following command:

Sudo parted/dev/sda

Enter print

Tip:

It may be caused by a program that does not understand the GPT partition table. Or you have deleted the GPT table and now use the msdos partition table. Is this a GPT partition table?
Yes/No?

I entered Yes, but I still cannot see any partition information:

Model: ata hgst HTS725050A7 (scsi)
Disk/dev/sda: 500 GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Digit start: End size file system Name flag

Enter live as prompted by the online post, and then enter the following command:

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

After installing ubuntu, you can see the partition.

Another reason may be that the last partition is out of the disk range, and ubuntu cannot identify the partition information.

You can modify the partition table.

For specific reasons, you can view the cause by using sudo parted/dev/sda print.

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: info-contact@alibabacloud.com 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.