1

I have a 1TB drive and installed Windows 7 on a 128GB partition.

When I now try to install Ubuntu 11.04 it does not recognize the Windows partition but offers the complete 1TB drive to install Ubuntu on instead. It displays:

enter image description here

However, in the Ubuntu Disk Utility the Windows partitions are recognized.

enter image description here

What do I need to do in order for Ubuntu to recognize the Windows 7 partition and install Ubuntu as a dual boot?

Response to comments

The following commands were executed and the results are shown below:

fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk 
doesn't support GPT. Use GNU Parted.

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x34a38165

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13       16318   130969600    7  HPFS/NTFS

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x14a714a6

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       60801   488384001   83  Linux

parted -l

Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0
has been opened read-only.
Error: /dev/sr0: unrecognised disk label                                  
4
  • That is very strange. Can you provide more details? The installer does recognize NTFS and I haven't come across any problems with it. Sep 18, 2011 at 13:33
  • Can you post the output of these two commands (list of partitions)? sudo fdisk -l and sudo parted -l
    – arrange
    Sep 18, 2011 at 13:52
  • @arrange See question edit...
    – Woltan
    Sep 18, 2011 at 15:12
  • Installer should be able to read a GPT partition table, so it looks like there is an error/inconsistency there. fixpart could fix it, but I don't have any experience with it myself... rodsbooks.com/fixparts
    – arrange
    Sep 18, 2011 at 15:29

1 Answer 1

3

I can proudly announce that I now have a working Windows 7 and Ubuntu 11.04 running.

fixparts actually did the trick:

Download fixparts and run it with

sudo fixparts /dev/sda

fixparts then wants to know if it should Erase GPT data which I desperately did, and apparently repaired the partitions.

Ubuntu was then able to find the windows partition and installation worked like a charm.

Thx to arrange for the hint!

You must log in to answer this question.

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