- Joined
- Feb 18, 2017
- Messages
- 25
- Motherboard
- ASRock Z490 Phantom Gaming-ITX/TB3
- CPU
- i7-10700
- Graphics
- Intel HD 630
- Mobile Phone
Just installed Linux Mint 18.1 with Sierra on separate SSD drives and wanted to share my experience. Sierra was already installed and working before I attempted to install Mint.
First, the Mint install would never complete. It would give an error after copying all the files and setting up the system that would say "The grub-efi-amd64-signed package failed to install into /target/..." and my install would be horked at that point. I was following the directions and telling the install to install the bootloader to /dev/sda1 (EFI partition).
When inspecting the EFI partition after the failed install, it did in fact create an EFI/ubuntu folder and it copied a couple files into that folder.
After several attempts trying various solutions I found via Google, I finally had to run the mint installer with the no bootloader option (ubiquity --no-bootloader gtk_ui) and the install completed.
Then I installed and ran the boot-repair program while running on the mint live cd. Using the advanced options, I used boot-repair to successfully complete the grub installation. The side effect of this (and I think it would have been the same if grub had been installed by the installer), is that it puts Ubuntu/Mint as the primary bootloader so I wasn't getting Clover anymore, but only the grub menu.
Upon inspection of the EFI partition, I found that in the EFI/BOOT folder, it had backed up the BOOTX64.efi file and put the grub version it it's place. The backed up clover version was called bkbootx64.efi (or something like that). I restored the clover BOOTX64.efi and got clover booting again. I think I also had to change the boot order in the BIOS as it had put "ubuntu" as the first boot device.
After that, clover was coming up normally and then after making the changes described in this guide for adding linux to the clover config.plist OS scan variables, Linux was available in the clover boot menu.
As a side note, it appears the grub installation also creates a EFI/Microsoft folder and places it's EFI bootloader there as well. If you aren't installing Windows, then this folder is unnecessary and you can delete it post installation. It does no harm, but just clutters up the boot options in the BIOS and clover sees it as a Windows install it can boot.
I would definitely recommend zipping up at least your EFI/BOOT folder if not the entire EFI folder prior to installing the second OS in case you need to restore it.
First, the Mint install would never complete. It would give an error after copying all the files and setting up the system that would say "The grub-efi-amd64-signed package failed to install into /target/..." and my install would be horked at that point. I was following the directions and telling the install to install the bootloader to /dev/sda1 (EFI partition).
When inspecting the EFI partition after the failed install, it did in fact create an EFI/ubuntu folder and it copied a couple files into that folder.
After several attempts trying various solutions I found via Google, I finally had to run the mint installer with the no bootloader option (ubiquity --no-bootloader gtk_ui) and the install completed.
Then I installed and ran the boot-repair program while running on the mint live cd. Using the advanced options, I used boot-repair to successfully complete the grub installation. The side effect of this (and I think it would have been the same if grub had been installed by the installer), is that it puts Ubuntu/Mint as the primary bootloader so I wasn't getting Clover anymore, but only the grub menu.
Upon inspection of the EFI partition, I found that in the EFI/BOOT folder, it had backed up the BOOTX64.efi file and put the grub version it it's place. The backed up clover version was called bkbootx64.efi (or something like that). I restored the clover BOOTX64.efi and got clover booting again. I think I also had to change the boot order in the BIOS as it had put "ubuntu" as the first boot device.
After that, clover was coming up normally and then after making the changes described in this guide for adding linux to the clover config.plist OS scan variables, Linux was available in the clover boot menu.
As a side note, it appears the grub installation also creates a EFI/Microsoft folder and places it's EFI bootloader there as well. If you aren't installing Windows, then this folder is unnecessary and you can delete it post installation. It does no harm, but just clutters up the boot options in the BIOS and clover sees it as a Windows install it can boot.
I would definitely recommend zipping up at least your EFI/BOOT folder if not the entire EFI folder prior to installing the second OS in case you need to restore it.