Originally posted by Monica
					
						
						
							
							
							
							
								
								
								
								
									View Post
								
							
						
					
				
				
			
		Continuing...here's the portion of your /boot/grub/grub.cfg that's supposed to allow you to boot Windows 8:
Code:
	
	### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (loader) (a /dev/sda4)' --class windows --class os $menuentry_id_option 'osprober-chain-1E64807664805287' {
	insmod part_gpt
	insmod ntfs
	set root='hd0,gpt4'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt4 --hint-efi=hd0,gpt4 --hint-baremetal=ahci0,gpt4  1E64807664805287
	else
	  search --no-floppy --fs-uuid --set=root 1E64807664805287
	fi
	drivemap -s (hd0) ${root}
	chainloader +1
}
menuentry 'Windows Recovery Environment (loader) (a /dev/sda5)' --class windows --class os $menuentry_id_option 'osprober-chain-84F8D25EF8D24DD4' {
	insmod part_gpt
	insmod ntfs
	set root='hd0,gpt5'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5  84F8D25EF8D24DD4
	else
	  search --no-floppy --fs-uuid --set=root 84F8D25EF8D24DD4
	fi
	drivemap -s (hd0) ${root}
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###
And here's the mysterious "system setup"!
Code:
	
	### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
	fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
But we still need to fix your GRUB so that it boots Windows. Boot back into Kubuntu and open a console window. Then type:
Code:
	
	sudo nano /etc/grub.d/40_custom
Code:
	
	menuentry "Windows 8 (alternate boot method)" {
  search --set=root --file /EFI/Microsoft/Boot/bootmgfw.efi
  chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
Now type:
Code:
	
	sudo update-grub






Comment