Невозможно установить загрузчик в указанном месте при установке Ubuntu в качестве ОС с двойной загрузкой

Несмотря на то, что я читал несколько блогов Askubuntu, связанных с этой проблемой, последние 24 часа я пытался решить эту проблему.

Моя текущая ОС - Windows 10 с разделом EFI. У меня есть загрузочный USB, с которого я пытаюсь установить ubuntu 18.0.4

Спецификация ПК: 1 ТБ жесткого диска (100 ГБ незанятого пространства) 256 SSD (80 ГБ незанятого пространства) Цель: установка Ubuntu с '/' в SSD. «/ home» в разделе жесткого диска.

На экране выбора дисков в установке Ubuntu / dev / sda отображается как HDD и / dev / sdb как SSD .

Установка завершается неудачно с ..

Unable to install GRUB in /dev/sda
Executing `grub-install /dev/sda` failed.
This is a fatal error.

Эта ссылка говорит об этой же проблеме. Но я не могу открыть терминал во время установки.

Я попытался использовать опцию «Попробуйте Ubuntu», а затем приступил к установке. Здесь я получаю терминал. Но тогда ни одна из команд, упомянутых в этом Вопросе , не работает на этом терминале.

Также, если я согласен продолжить «продолжить без загрузчика», я полностью недоступен для Ubuntu после перезапуска. Там нет никаких следов этого. В настройках BIOS, Bootsequence или где угодно. enter image description here

3
задан 16 June 2020 в 11:43

2 ответа

Dedicating a /boot partition should solve the problem because GRUB will be installed there.

I've set up an example to test and demonstrate how to do this using an SSD that has a fresh installation of Windows 10 "2004", leaving free space at the end for our Ubuntu installation. There's also a HDD which has free space at the end for your /home partition.

  • Before starting the installation, use the "Disks" application in the live session to make sure your space is available. Clean up any remnant partitions that might have been created by failed installation attempts. Take care not to accidentally delete EFI or any partitions related to your Windows install (MSR, recovery, system)

  • Launch the installer and choose the "Something Else" option when you get to it.

Set up your partitions manually:

Double click your pre-existing EFI partition and make sure that "EFI System Partition" is selected.

EFI Partition Screenshot

Create your boot partition and set the /boot mount point.

(/boot is also a home for kernel modules. Unless you like to keep lots of old kernel versions, a 500MB partition should be plenty.)

boot Partition Screenshot

Create your root partition and set the / mount point.

root Partition Screenshot

Create your home partition and set the /home mount point.

home Partition Screenshot

Device for boot loader installation:

Select the physical disk where your EFI partition is located. In this example it is /dev/sda NOTE: that it is not /dev/sda1, which is the EFI partition itself.

Click "Install Now" to continue with the guided installation.


When your BIOS boots to the physical volume with your EFI partition, GRUB should load and allow you to choose either Windows or Ubuntu.

If GRUB doesn't have Windows, boot into your newly installed Ubuntu (not the live session, and run the following commands:

sudo os-prober

(to verify that Ubuntu can find Windows)

sudo update-grub

(to update/repair the GRUB menu)


This answer has been tested using Ubuntu 20.04 installation media.

0
ответ дан 19 June 2020 в 21:24

Похоже, это система EFI, поэтому, пожалуйста, загрузите ubuntu usb в режиме EFI. При установке Ubuntu, пожалуйста, установите загрузчик в раздел EFI. enter image description here Обычно это второй раздел на установочном диске Windows в формате fat32, и если раздел EFI создается Windows, он должен иметь имя тома «Диспетчер загрузки Windows».

0
ответ дан 19 June 2020 в 21:24

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

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