Results 1 to 10 of 24

Thread: UEFI 12.04_AMD64 - Win7 dual boot problems

Threaded View

  1. #1
    Join Date
    May 2006
    Xubuntu 16.04 Xenial Xerus

    UEFI dual boot trouble: Win7x64 - Ubuntu 12.04 LTS amd64

    I'm trying to create a dual boot system. I bought new hardware with Win7 64bit (a UEFI capable BIOS but with a System Reserved boot partition) pre-installed. I repartitioned my drive (with gparted) and did a fresh install of Ubuntu desktop 12.04 amd64 LTS with the live CD.

    During installation I selected to install Grub into the MBR of sda (the alternative options sda1-sda9 made no sense to me). Now my computer still boots straigt into Windows. I've been reading up on UEFI-GTP for a day, but things are getting more fuzzy than clear. I'm new to UEFI and GPT, is there a simple and safe solution to make this dual boot work?

    I attached bootinfo-script results (ignore thumbdrive sdd) and grub entries from the install syslog file to this question. Any help would be much appreciated.

    Here's a quick overview of sda:
    (parted) print 
    Model: ATA WDC WD10EADX-22T (scsi)
    Disk /dev/sda: 1000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number  Start   End     Size    Type      File system     Flags
     1      1049kB  16.1GB  16.1GB  primary   ntfs            diag
     2      16.1GB  16.2GB  105MB   primary   ntfs            boot
     3      16.2GB  177GB   161GB   primary   ntfs
     4      177GB   1000GB  823GB   extended
     5      177GB   182GB   5046MB  logical   ntfs
     6      182GB   189GB   6443MB  logical   linux-swap(v1)
     7      189GB   242GB   53.7GB  logical   ext4
     8      242GB   247GB   5046MB  logical   ext4
     9      248GB   1000GB  753GB   logical   ntfs
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    Partition  Boot  Start Sector    End Sector  # of Sectors  Id System
    /dev/sda1               2,048    31,459,327    31,457,280  27 Hidden NTFS (Recovery Environment)  [OEM recovery partition]
    /dev/sda2    *     31,459,328    31,664,127       204,800   7 NTFS / exFAT / HPFS                 [Appearantly the Win7x64 boot loader partition]
    /dev/sda3          31,664,128   346,236,927   314,572,800   7 NTFS / exFAT / HPFS                 [Win7x64 installation/system partition]
    /dev/sda4         346,236,928 1,953,523,711 1,607,286,784   5 Extended                            [Container for logical partitions]
    /dev/sda5         346,238,976   356,093,951     9,854,976   7 NTFS / exFAT / HPFS                 [Data partition]
    /dev/sda6         356,096,000   368,680,959    12,584,960  82 Linux swap / Solaris                [Linux swap partition]
    /dev/sda7         368,683,008   473,540,607   104,857,600  83 Linux                               [Ubuntu 12.04 root partition]
    /dev/sda8         473,542,656   483,397,631     9,854,976  83 Linux                               [Linux /home partition]
    /dev/sda9         483,399,680 1,953,523,711 1,470,124,032   7 NTFS / exFAT / HPFS                 [Data partition]
    I did some further digging and what happened here?
    # gdisk /dev/sda
    GPT fdisk (gdisk) version 0.8.1
    Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present
    Found invalid GPT and valid MBR; converting MBR to GPT format.
    you don't want to convert your MBR partitions to GPT format!
    Could this be the result of grub from the live CD trying to install itself in the MBR of sda?
    Should / can I fix this?

    Here's the solution.
    Attached Files Attached Files
    Last edited by martinr; June 16th, 2012 at 09:19 AM. Reason: Added link to solution
    To fail to prepare is to prepare to fail.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts