Несмотря на то, что я читал несколько блогов 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 или где угодно.
/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.
/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.)
/
mount point./home
mount point.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.
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.
Похоже, это система EFI, поэтому, пожалуйста, загрузите ubuntu usb в режиме EFI. При установке Ubuntu, пожалуйста, установите загрузчик в раздел EFI.
Обычно это второй раздел на установочном диске Windows в формате fat32, и если раздел EFI создается Windows, он должен иметь имя тома «Диспетчер загрузки Windows».