[Bug 1050940] Re: Ubiquity fails creating a correct Windows dualboot on EFI computers (grub-pc <-> grub-efi)

Steve Langasek steve.langasek at canonical.com
Fri Feb 6 09:07:57 UTC 2015


Erick, it would be helpful if you would attach relevant debug
information as attachments in launchpad, rather than linking to
pastebins.

Your "boot info summary" shows the following menu entry:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-30D8-159A' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  30D8-159A
	else
	  search --no-floppy --fs-uuid --set=root 30D8-159A
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

The boot entry /after/ the boot repair seems to be identical:

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-30D8-159A' {
	insmod part_gpt
	insmod fat
	set root='hd0,gpt2'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  30D8-159A
	else
	  search --no-floppy --fs-uuid --set=root 30D8-159A
	fi
	chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}

So how exactly did the boot fail for you before running the boot repair?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1050940

Title:
  Ubiquity fails creating a correct Windows dualboot on EFI computers
  (grub-pc <-> grub-efi)

Status in ubiquity package in Ubuntu:
  Triaged

Bug description:
  Currently, Ubiquity sometimes fails creating a correct Windows dualboot when:
  - either it installs Ubuntu in EFI mode when Windows is installed in Legacy mode ( examples: Bug #908109 , Bug #959446 , Bug #956412
  http://ubuntuforums.org/showthread.php?p=12238420#post12238420 )
  - or it installs Ubuntu in Legacy (not-EFI) mode when Windows is installed in EFI mode. ( example: http://ubuntuforums.org/showpost.php?p=12246811&postcount=6 )

  In order to create a correct dualboot, Ubiquity should always install
  Ubuntu in the same mode as Windows.

  This could be done by choosing between grub-efi and grub-pc based on
  the presence of an existing ESP when performing a side-by-side
  install, instead of whether the cd is booted in efi mode or not.

  *************** WORKAROUND: using Boot-Repair to convert Ubuntu in the same mode as Windows.
  See https://help.ubuntu.com/community/UEFI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1050940/+subscriptions



More information about the foundations-bugs mailing list