GRUB doesn't шоу up installing Ubuntu 14.04 alongside Windows 10, on в UEFI x64 HP laptop

гm trying to install Ubuntu 14.04.3 alongside Windows 10, on в x64 UEFI HP laptop.

I burned the Ubuntu (64bit версия) on the usb using UNetbootin, proceeded without problems with the installation of Ubuntu, and then rebooted the laptop. However, this resulted in the laptop just booting into windows with не grub appearing.

I consequently tried в variety of things. For example I followed the steps outlined in this guide:

  1. Disabled Windows UEFI secure boot and 10 fast boot option
  2. Reinstalled again Ubuntu 14.04 from the USB
  3. Ran boot-repair from the ubuntu live installation. Boot-repair completed without giving errors. It said to have successfully repaired the GRUB, and in женил the GRUB still didn't шоу up to run the following command on в Windows 10 administrator терминал: bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi.
  4. Windows From 10 I run the above command, which executed without errors. Rebooting the system however the GRUB still doesn't шоу up. I also tried the slightly different версия of the same command given in the above linked page, but still не luck.

гm not sure what else I хан try to make it work, гve never had such problems in installing в linux distribution alongside Windows on other laptops. Any help is appreciated at this point.

Update

I did found в way to boot into Ubuntu through the GRUB. Холдинг down F11 during the booting process, Windows will boot into the blue "safe mode". In there if you select the "chose в booting device" option you will have the choice to boot from в серии of devices, including GRUB and Ubuntu (which however both result in booting from the GRUB). Here is в photo of this меню (sorry for the нечетное число - english language, the title says "Я Использовал в device"):

enter image description here

While this method works, it is obviously в pain to have to do this procedure every украл, but this proves that grub is installed correctly. "Only" the boot loader priority seems to be messed up. How хан I я вынудил the boot loader to boot into GRUB instead of windows?

Additional information:

  1. The laptop is an HP Ноутбук - 15-ac119nl (ENERGY STAR)
  2. Here is в snapshot of the partition table given by gparted: enter image description here

  3. Here is the output of bcdedit on Windows 10:

enter image description here

3
задан 9 November 2015 в 13:57

2 ответа

Я знаю, что это старо, но для любого, кто сталкивается с этим, вот то, как я решил его. Это на основе информации в ссылке oldfred отправленный.

Проблема

У меня была та же проблема на HP Laptop. Существует много ноутбуков, которые любят загружать окна как приоритет несмотря на то, что Вы настраиваете. Необходимо перезаписать диспетчер начальной загрузки окон с личинкой. Это - определенный взлом, но это работало отлично для меня и других. Windows перезапишет этот каждый раз, когда он обновляет.

Решение

Я создал SH (файл сценария) со следующими командами и выполнил его как sudo. (удостоверьтесь, что Ваш раздел начальной загрузки смонтирован в /boot/efi, которым это должно быть по умолчанию),

7z a /boot/efi/EFI_`date +\%d\%m\%Y`.7z /boot/efi/EFI/
cp -a /boot/efi/EFI/ubuntu/* /boot/efi/EFI/Boot/
mv /boot/efi/EFI/Boot/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/Boot/
mv /boot/efi/EFI/Microsoft/Boot/grubx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi

Примечания

Сценарий в основном создает резервную копию текущей конфигурации EFI (использующий 7zip, измените это к своей предпочтительной разновидности резервного копирования), затем перезаписывает сценарии начальной загрузки efi диспетчера начальной загрузки окон.

Это должно будет быть выполнено каждый раз, окна делают основное обновление.

2
ответ дан 1 December 2019 в 16:26

Попробованный эта команда в Ваших окнах cmd (как администратор)

bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

, Если это не работы, попробуйте это

bcdedit /set {bootmgr} path \EFI\ubuntu\bootx64.efi
1
ответ дан 1 December 2019 в 16:26

Другие вопросы по тегам:

Похожие вопросы: