Make sure you've fully turn off your Intel Rapid Start and Secure Boot,and try it from BIOS,and i assume you have a Pre-Installed 64-bit Windows 8 with UEFI since it is pre-installed so you also need 64-bit *Buntu,but for make sure try Ubuntu first
and for the full help you can try this
Installing Ubuntu Alongside a Pre-Installed Windows with UEFI
You're lucky as you have UEFI. (I seriously never thought I'd ever say that lol). Ubuntu supports SecureBoot/UEFI.
Install Ubuntu as normal. It should detect the UEFI configuration.
Once it's done, boot into your BIOS configuration and change the boot order. Move Windows further up and move Ubuntu down. The UEFI system will automatically boot into Windows instead of using GRUB2.
For you to boot into Ubuntu, simply enter the BIOS settings again and use the Boot Override
menu. It can also be called Select boot device...
or similar.
This works because UEFI uses boot files instead of a MBR. There can be multiple bootloaders on a single drive.
A standard EFI boot partition has the following (simplified) file scheme:
EFI
|
|--> UBUNTU
| |
| |--> grub2.efi
|
|
|--> Windows
|
|--> win32.efi
The EFI bootloader is (by default) trying to do this:
1. Check for the UBUNTU folder, and try to boot from the `grub2.efi` file.
2. Check for the Windows folder, and try to boot from the `win32.efi` file.
You can change the order so it looks for Windows first. Once the boot succeeds, it will not continue trying to use bootable EFI files. If you set Windows first (and it works), Windows will boot without GRUB ever being seen. You can then manually override this by using the Select Boot File...
option/key/decoder ring/sacrifice/UEFI setting.
Consult the documentation that came with your computer for the proper settings, keycombination, and/or the right mixture of blood. I do not know these off-hand.
Best Answer
I strongly suspect that you have not installed Ubuntu in BIOS mode. The reason I say this is that you report that your "select boot device" boot menu has an option called "ubuntu." If you were booting Ubuntu in BIOS (aka CSM or legacy) mode, this wouldn't be the case; the option would say "boot from HD" or some such generic description, since the firmware would have no way of identifying the BIOS-mode OS as being Ubuntu. In an EFI-mode boot, though, this information is stored in NVRAM, and so is available to the EFI's boot manager.
To be sure of this, boot Ubuntu and look for a directory called
/sys/firmware/efi
. If it's present, you've installed and booted Ubuntu in EFI mode. If it's absent, you've probably booted in BIOS mode, although there are ways to make that directory disappear from an EFI-mode boot, so I can't be positive of that.If I'm right, then something is preventing GRUB from turning up as the default boot loader. Chances are this is because of a bug in HP's firmware; I've heard of other HP computers that have the same problem. There are quite a few possible workarounds. I recommend you try these two, in order:
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
. If this works, GRUB will come up the next time you boot. (Note that you should type{bootmgr}
in exactly that way; I'm not trying to denote a variable with the curly braces.)If neither of these approaches works, post back, along with the output of
sudo efibootmgr -v
anddf -h /boot/efi
. This extra information will enable me to make additional suggestions.