I have Linux Mint 13 (Ubuntu 12.04) installed on my PC with a UEFI motherboard and want to double boot with Windows 7. When partitioning the disk (1 TB), I left 250 GB of unallocated space for Windows. I set the disk to a GPT partition table. Before formatting I was asked to make an extra partition without any filesystem to install grub2 for a GPT partition table. I did so. The installation is functional.
When trying to install Windows, its partitioning software recognises the disk and all of its partitions. It also recognises the unallocated space. It's even possible to use the unallocated space and prepare the partitions for Windows. Anyway it won't let me install it saying it's not possible because my disk has a GPT partition table. Apparently the installation DVD can boot either on BIOS mode or UEFI mode, and the latter is needed to install the OS on a GPT disk. I have read that my UEFI BIOS should let me choose to start the DVD in either mode but it doesn't. The DVD has a boot file that's possible to reach via the UEFI shell. In that shell I see the block devices connected to the motherboard and I am able to mount the DVD, but when I try the commands 'ls' or 'cd' it says there's no directory to list.
I would like to know if the partition I made for it has some influence in the inability to boot the Windows DVD in UEFI mode. Since this happens before grub2 starts, I mostly think it's something to do with me, the UEFI settings and the UEFI shell, but I would like to rule out this possibility.
My motherboard is an MSI with the Z77 chipset connected to an Ivy Bridge processor on socket 1155. The hard disk and the DVD drive are connected both to a SATA3 port. The DVD is of the UDF format. This is the output of the command 'parted -l':
I would like to know if someone is spotting what's causing the problem, or if someone knows better about UEFI settings and double booting.
Model: ATA WDC WD10EZEX-00R (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 268GB 268GB 2000kB bios_grub
2 268GB 269GB 268MB ext2
3 269GB 290GB 21,0GB ext3
4 290GB 292GB 2097MB linux-swap(v1)
5 292GB 1000GB 708GB ext3
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
Thank you very much in advance.