-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Notebooks Archive
- Probook 6560b always boots Windows 10 64bit

Create an account on the HP Community to personalize your profile and ask a question

01-20-2016 01:05 PM
I attempted to install Linux alongside Windows 10 64bit on my HP Probook 6560b. When I install Linux I also install GRUB, to help make switching Operating Systems a bit easier. To ensure GRUB boots first, I've changed the boot order to have GRUB boot first, and windows second.
Unfortunately my HP Probook 6560b still boots the windows bootloader, regardless of whatever boot order I specify. The path of that bootloader is \EFI\Microsoft\Boot\bootmgfw.efi.
I've attempted to overwrite the windows bootloader with GRUB. That works for some time, but what I'm assuming to be windows overwrites it with its own bootloader upon doing a system update.
I updated my firmware yesterday to 68SCE v.61. The issue persisted.
Additionally, my HP Probook 6460b also has this issue.
Is there a newer version of firmware I can run the bootloader I've specified in the firmware settings?
Thanks,
Dave
01-20-2016 01:25 PM
Have you run bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi in Command Prompt (admin)?
Fix Grub Not Showing For Windows 10 Linux Dual Boot
Please backup any important data before you running command.
01-20-2016 02:48 PM
I have run that command. There was no error message printed, and windows seemed to think it worked ok (and bcdedit /enum firmware printed out what appeared to be the correct order).
But, the machine still went right into windows.
I'm curious as to why only two of my HP Probooks boot straight into windows. Is there a specific way to identify which machines will suffer from this issue?
01-20-2016 03:45 PM
01-20-2016 04:10 PM
It looks like that link talks about changing the boot order, which doesn't work as expected. The machine will always boot the windows bootloader first, regardless of any action I take to change the boot order.
01-20-2016 04:50 PM
Please answer following questions.
1. Version of GRUB
2. The name of Linux OS and version
3. You are aware both OS needs to installed under same boot order (either UEFI or legacy)
4. Windows 10 64-bit is fresh install or from upgrade
I will try to replicate system environment and get back to you by tomorrow.
01-20-2016 05:10 PM
Here is a link for how can I dual-boot Windows and Ubuntu on a UEFI HP notebook.
Confirmed Windows will overwrite/replace GRUB everytime the computer restarts. This Ubuntu link provide workaround please go through the thread.
http://ubuntuforums.org/showthread.php?t=2294337
01-21-2016 09:14 AM
Found the solution in Ubuntu forum. You have to modified UEFI boot sector to avoid Windows overwrited boot sector. PLEASE BACKUP ALL DATA AND EFI PARTITION.
Sony, HP, and many laptop vendors are hard-coded to only boot Windows.
There are several work-a-rounds that suggest you move the grub grubx64.efi or shim64.efi file on top of the Windows /EFI/windows/bootmbfw.efi. However this isn't recommended because Windows Update will restore bootmfw.efi and you'll be back to only Booting windows.
Instead, I suggest renaming bootx64.efi and boot hard drive or use rEFInd.
Make sure you backup the entire EFI partition before making changes.
You have several options available:
A: Move the grub files bootx64.efi or shim64.efi (for secure boot) on top of /EFI/BOOT/BOOTX64.EFI
a1: Rename /efi/boot/bootx64.efi, copy shim or grub into /efi/boot and name it bootx64.efi Then boot harddrive entry.
From live installer mount the efi partition on hard drive, lines with # are comments only: Mount efi partition. check which partition is FAT32 with boot flag. Often sda1 or sda2 but varies.
sudo mount /dev/sda1 /mnt
only if not already existing,
sudo mkdir /mnt/EFI/Boot sudo cp /mnt/EFI/ubuntu/* /mnt/EFI/Boot
If new folder created, the bootx64.efi will not exist, skip this command
sudo mv /mnt/EFI/Boot/bootx64.efi /mnt/EFI/Boot/bootx64.efi.backup
make grub be hard drive boot entry in UEFI. If not existing, may have to update UEFI also with efibootmgr.
sudo mv /mnt/EFI/Boot/grubx64.efi /mnt/EFI/Boot/bootx64.efi
a2:(this is the same as what Boot-Repair used to do in B:. Not now recommended: Rename /efi/Microsoft/Boot/bootmgfw.efi and copy grub or shim into /efi/Microsoft/Boot and name it bootmgfw.efi Then boot Windows entry to boot to grub menu. You have to manually add a grub menu entry to boot renamed Windows efi file. Grub2's os-prober entry boots bootmgfw.efi entry which is now just grub, so it will not work.
Users who manually moved efi files around see post #6
http://ubuntuforums.org/showthread.php?t=2101840
http://ubuntuforums.org/showthread.php?t=2219452
http://ubuntuforums.org/showthread.php?t=2221498&p=13012109#post13012109
B: If you ran Boot-Repairs fix for "buggy UEFI" with an older copy best to undo it. And then make the change above to use bootx64.efi To undo & to rename files to their original names, you just need to tick the "Restore EFI backups" option of Boot-Repair.
Any rename either manually or with Boot-Repair will need to be redone after a Windows update as it will restore Windows files.
C: Edit Windows BCD, one Alternative to Boot-Repairs rename to make shim have Windows name. Some systems work better to register grub/shim from inside Windows - for those that keep resetting Windows as default
Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
https://coderwall.com/p/vfyqkg
😧 If Description has to be Windows then change UEFI description.
sudo efibootmgr -c -L "Windows Boot Manager" -l "\EFI\ubuntu\shimx64.efi"
New Windows entry - assumes default sda1 add -p 2 if sda2:
sudo efibootmgr -c -L "Windows Boot Manager" -l "\EFI\Microsoft\Boot\bootmgfw.efi"
E: Some install rEFInd which seems to be another workaround and has nice boot icons.
http://www.rodsbooks.com/refind/index.html
http://www.rodsbooks.com/refind/secureboot.html
PPA available to make it easy to install in Ubuntu:
http://www.rodsbooks.com/refind/getting.html
http://askubuntu.com/questions/486752/dual-boot-win-8-ubuntu-loads-only-win/486789#486789
01-21-2016 02:35 PM
I tried this guy: http://askubuntu.com/questions/666631/how-can-i-dual-boot-windows-10-and-ubuntu-on-a-uefi-hp-noteboo...
I ran into issues trying to repair GRUB. Regardless, I think it's going to suffer from the same issues I'm suffering from, which is that the firmware will always boot the windows bootloader, and windows overwrites its bootloader on an update.
I tried this guy as well: http://ubuntuforums.org/showthread.php?t=2294337
The solutin was to turn off fast boot for this one. I probably should have mentioned this previously, but I've already been doing that (since modifying the EFI partition and rebooting into windows causes some weird read/write issues, since windows doesn't understand why those files changed when it comes back from hibernation).
01-21-2016 02:51 PM
Have you try this?
Sony, HP, and many laptop vendors are hard-coded to only boot Windows.
There are several work-a-rounds that suggest you move the grub grubx64.efi or shim64.efi file on top of the Windows /EFI/windows/bootmbfw.efi. However this isn't recommended because Windows Update will restore bootmfw.efi and you'll be back to only Booting windows.
Instead, I suggest renaming bootx64.efi and boot hard drive or use rEFInd.
Make sure you backup the entire EFI partition before making changes.
You have several options available:
A: Move the grub files bootx64.efi or shim64.efi (for secure boot) on top of /EFI/BOOT/BOOTX64.EFI
a1: Rename /efi/boot/bootx64.efi, copy shim or grub into /efi/boot and name it bootx64.efi Then boot harddrive entry.
From live installer mount the efi partition on hard drive, lines with # are comments only: Mount efi partition. check which partition is FAT32 with boot flag. Often sda1 or sda2 but varies.
sudo mount /dev/sda1 /mnt
only if not already existing,
sudo mkdir /mnt/EFI/Boot sudo cp /mnt/EFI/ubuntu/* /mnt/EFI/Boot
If new folder created, the bootx64.efi will not exist, skip this command
sudo mv /mnt/EFI/Boot/bootx64.efi /mnt/EFI/Boot/bootx64.efi.backup
make grub be hard drive boot entry in UEFI. If not existing, may have to update UEFI also with efibootmgr.
sudo mv /mnt/EFI/Boot/grubx64.efi /mnt/EFI/Boot/bootx64.efi
a2:(this is the same as what Boot-Repair used to do in B:. Not now recommended: Rename /efi/Microsoft/Boot/bootmgfw.efi and copy grub or shim into /efi/Microsoft/Boot and name it bootmgfw.efi Then boot Windows entry to boot to grub menu. You have to manually add a grub menu entry to boot renamed Windows efi file. Grub2's os-prober entry boots bootmgfw.efi entry which is now just grub, so it will not work.
Users who manually moved efi files around see post #6
http://ubuntuforums.org/showthread.php?t=2101840
http://ubuntuforums.org/showthread.php?t=2219452
http://ubuntuforums.org/showthread.php?t=2221498&p=13012109#post13012109
B: If you ran Boot-Repairs fix for "buggy UEFI" with an older copy best to undo it. And then make the change above to use bootx64.efi To undo & to rename files to their original names, you just need to tick the "Restore EFI backups" option of Boot-Repair.
Any rename either manually or with Boot-Repair will need to be redone after a Windows update as it will restore Windows files.
C: Edit Windows BCD, one Alternative to Boot-Repairs rename to make shim have Windows name. Some systems work better to register grub/shim from inside Windows - for those that keep resetting Windows as default
Grub not showing on startup for Windows 8.1 Ubuntu 13.10 Dual boot
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
https://coderwall.com/p/vfyqkg
😧 If Description has to be Windows then change UEFI description.
sudo efibootmgr -c -L "Windows Boot Manager" -l "\EFI\ubuntu\shimx64.efi"
New Windows entry - assumes default sda1 add -p 2 if sda2:
sudo efibootmgr -c -L "Windows Boot Manager" -l "\EFI\Microsoft\Boot\bootmgfw.efi"
E: Some install rEFInd which seems to be another workaround and has nice boot icons.
http://www.rodsbooks.com/refind/index.html
http://www.rodsbooks.com/refind/secureboot.html
PPA available to make it easy to install in Ubuntu:
http://www.rodsbooks.com/refind/getting.html
http://askubuntu.com/questions/486752/dual-boot-win-8-ubuntu-loads-only-win/486789#486789
