View Full Version : Ubuntu installed but cannot Boot in HP Pavilion G6

i D
January 20th, 2015, 12:42 PM

I have HP pavilion g6, AMD A8 processor. I have UEFI boot loader set to Legacy mode and Windows 8 preinstalled in the system.

Since, yesterday I have tried to install Ubuntu 14.04, but while booting I cannot see GRUB loader. It automatically boots into Windows 8 after HP Pavilion boot screen is shown.

Furthermore, in the boot options I can see my Hard disk named as Ubuntu HDD or something similar.

Can you please help me installing or rather booting Ubuntu into my System.

Thank you.

January 20th, 2015, 03:24 PM
Windows could be hibernating, have you disabled Faststartup (http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a.html)?
Did you set the UEFI bootloader to 'Legacy mode'? Is Windows8 installed in 'Legacy or UEFI mode'?

January 20th, 2015, 06:01 PM
If Windows 8 was pre-installed when you bought the machine my bet is that it is using UEFI. As you have now installed Ubuntu in legacy BIOS mode, you will not get the system to work a dual boot as you want it.

See the instructions for using Boot-Repair in my signature, follow them to get the report and then post its pastebin link back here. At this stage do not accept the offer to repair boot as that may not be the best option.

HP and some others will not let you set anything other than Windows as default in UEFI menu. But there are work arounds.
Thanks to forum member oldfred for this info.

UEFI still lets you boot devices and the /efi/Boot folder has bootx64.efi which is the hard drive boot entry. If you rename that and make it be grubx64.efi then booting hard drive boots grub menu.

Other work arounds.

Script that automates the rename. Not tested but looks like it should work.

script to auto create bootx64.efi as grub

If Windows 8 really is also installed in legacy mode, just ignore me, though you may learn something useful about UEFI by looking at those links.

January 7th, 2016, 02:55 PM
I have a similar situation on an HP Pavilion, except I chose to erase the hard drive during the initial question of the 14.04 install wizard. Should/can I use the script method to solve this? What other utilities do I need to implement a workaround?

Thanks in advance

January 7th, 2016, 04:06 PM
I filed a bug report with Yann at Boot-Repair to have it automate the copy files so HP, Sony & many others will work. And he already has done that.
And Boot-Repair can convert a BIOS/CSM/Legacy boot to UEFI boot by uninstalling grub-pc(BIOS) and installing grub-efi-amd64(UEFI).

But be sure to always boot in UEFI boot mode.
From Boot-Repair choose the full uninstall/reinstall of grub when booted in UEFI mode.
And select "Use the standard EFI file". That should then be the "hard drive" or a "fallback" boot entry in UEFI.