PDA

View Full Version : [ubuntu] Installer doesnt detects windows 7 (EFI)



Lancro
April 28th, 2012, 11:25 PM
This is my partition table...

1.- EFI System partition 300 MB
2.- A partition called DELLUTILITY with 40MB fat32
3.- A partition called OS with Windows 7 and data file (This is where ubuntu should detect windows 7 and installs)
4.- A partition called RECOVERY with 750 MB

I want to install ubuntu alongside windows 7, I need an easy explanation, can anyone help me?.

Thanks.

darkod
April 28th, 2012, 11:28 PM
Boot into live mode with the cd and in terminal post the output of:
sudo fdisk -l (small L)
sudo parted /dev/sda print

Lancro
April 28th, 2012, 11:40 PM
http://paste.org/48608

There you are, and thanks.

darkod
April 28th, 2012, 11:51 PM
I can't see anything wrong. Your win7 takes almost all of the hdd. You will have to open windows Disk Management first and shrink the partition for as much space as you want.

Then you have to be careful with EFI because there was a bug in ubuntu that was overwriting windows efi files on the EFI system partition. I don't think it's solved yet.

Just in case, copy the files from /dev/sda1 and keep them safe. Maybe you will need to copy them back if ubuntu deletes them.

Investigate dual booting with EFI because there are some issues. I don't use EFI and don't have all the details.

Look at post #10 here:
http://ubuntuforums.org/showthread.php?t=1967058

oldfred has more resources and links about EFI.

Lancro
April 28th, 2012, 11:57 PM
Ok, I dont understand the link instrutions, I only want to dual boot, didnt know it was this hard, will wait for other answers or give up in installing ubuntu.

Thanks.

darkod
April 28th, 2012, 11:59 PM
The combination of efi + gpt is a bit complicated for dual boot right now. And that is exactly the combination you have.

Lancro
April 29th, 2012, 11:18 PM
Ok, I have created 2 partitions, one for / and another for swap, and I have instaled ubuntu on it, now I boot into ubuntu, but grub doesnt seem to detect my windows 7 partition, how can I do to configure grub to detect it?.

Thanks.

oldfred
April 30th, 2012, 05:21 AM
With UEFI boot you primarily choose what to boot from the efi menu. It should be giving you the options of systems installed in the efi partition to boot.
You should have something like this which another user posted:

find /boot/efi -name "*efi"
/boot/efi
/boot/efi/EFI/ubuntu/grubx64.efi
/boot/efi/EFI/BOOT/bootx64.efi
/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
/boot/efi/EFI/Microsoft/Boot/bootmgr.efi
/boot/efi/EFI/Microsoft/Boot/memtest.efi

Dual boot UEFI & windows UEFI post 76
http://ubuntuforums.org/showthread.php?t=1719851&page=8
http://ubuntuforums.org/showthread.php?t=1746194


Do you have something like this, that another user posted, except you need to add Windows from /efi/Microsoft:

Enter your UEFI menu, select "Boot maintenance manager", then "Boot options", then "Add boot option", then "NO VOLUME LABEL,....Primary,Slave...1, GPT,..", then browse the /EFI/ubuntu/ folder via the UEFI boot menu, and select the grubx64.efi . Give it the name you want (eg "Precise"), then "Commit Changes and exit", then Enter.


Another way is to modify 40_custom.
http://askubuntu.com/questions/125191/another-windows-7-entry-missing-from-grub2-question