尝试在现有 Windows 安装上全新安装 Ubuntu。安装结束时,出现错误弹出窗口:
Boost.Python error in job "bootloader".
Command 'grub-install --target=i386-pc --recheck --force /dev/sda' returned non-zero exit status 1. Installing for i386-pc platform. grub-install: warning: your embedding area is unusually small. core.img won't fit in it.. grub-install: error: embedding is not possible, but this is required for cross-disk install.
Traceback:
File "usr/lib/x86_64-linux-gnu/calamares/modules/bootloader/main.py", line 486, in run prepare_bootloader(fw_type)
File "usr/lib/x86_64-linux-gnu/calamares/modules/bootloader/main.py", line 458, in prepare_bootloader install_grub(efi_directory, fw_type)
File "usr/lib/x86_64-linux-gnu/calamares/modules/bootloader/main.py", line 363, in install_grub check_target_env_call([libcalamares.job.configuration["grubInstall"],
File "<string>", line 6, in <module>
答案1
由于我没有 U 盘,所以我从外部硬盘安装。设置分区时,安装对话框底部的引导加载程序设置为安装到外部硬盘。我将其更改为内部驱动器(安装 Ubuntu 的位置),然后就可以正常工作了。