I'm installing Mint 13 (64 bit) on a new system from USB and keep getting told that "the 'grub-efi' package failed to install into /target/".
I've googled about but most advice seems to be for dual booting, which I'm not doing.






kvorg wrote:Incidentally, at least the 64-bit Mint 14 RC1 version installer also fails with EFI install. However, the problem is only missing Grub-EFI package. You can mount the target, bindmount /proc, /sys and /dev, chroot into the target and then install the package with apt-get.
The easiest way to then deploy grub and EFI boot was simply to upgrade the kernel.
Cheers,
-kvorg

powerhouse wrote:It's a pity it doesn't have UEFI support out of the box, at least that is what I understand from your post.
UEFI is becoming more and more popular from the hardware side. It also has a number of advantages (it should have since MBR is stone age). It is also really important for Linux to grab UEFI because Microsoft is going to hijack it for "security" and other reasons.
One way Microsoft intents to use UEFI is to have mobile device manufacturers to lock down their devices for Microsoft. In other words, you buy a mobile device with MS Windows or whatever on it, and it will be locked down so that you cannot install Linux (or anything else).

kvorg wrote:Incidentally, at least the 64-bit Mint 14 RC1 version installer also fails with EFI install. However, the problem is only missing Grub-EFI package. You can mount the target, bindmount /proc, /sys and /dev, chroot into the target and then install the package with apt-get.
The easiest way to then deploy grub and EFI boot was simply to upgrade the kernel.
Cheers,
-kvorg

srs5694 wrote:...UEFI is becoming more and more popular from the hardware side. It also has a number of advantages (it should have since MBR is stone age). It is also really important for Linux to grab UEFI because Microsoft is going to hijack it for "security" and other reasons.
I presume you're referring to Secure Boot. There was a big public storm about this about a year ago, but it turns out to be not nearly as much of a threat as was once believed. See Matthew Garrett's blog post about Shim, which is the tool that Red Hat/Fedora is developing (apparently with significant input from SUSE) to get those distributions booted. The Shim approach essentially changes the Secure Boot "track" from one that's tightly controlled by Microsoft to one that's much friendlier to open source. It would have been better for the UEFI spec to create it that way to begin with, but Shim looks like a workable solution. Right now Shim isn't yet completely functional, though, so some workarounds may be necessary. Disabling Secure Boot is pretty simple on x86/x86-64 PCs, if you're used to adjusting firmware options. Creating your own keys is also possible, but is too awkward for anything but experts at this point.One way Microsoft intents to use UEFI is to have mobile device manufacturers to lock down their devices for Microsoft. In other words, you buy a mobile device with MS Windows or whatever on it, and it will be locked down so that you cannot install Linux (or anything else).
ARM devices have the disadvantage that Microsoft's Windows 8 certification requirements specify that Secure Boot can not be disabled on ARM, whereas the same document says that users must have the ability to disable it on x86/x86-64. (Of course, ARM devices that don't ship with Windows 8 can ignore Microsoft's requirements.) That said, the same approach that Red Hat is using on x86/x86-64 should work on ARM -- namely, signing Shim with Microsoft's key through the signing service that Verisign administers. Matthew Garrett says that Red Hat/Fedora won't be doing so itself, but some other interested party could certainly do so. OTOH, this does mean that your ability to boot Linux will be held hostage to Microsoft's willingness to continue supporting key signing by third parties. Personally, I hope to never buy any Secure Boot device on which the feature can't be disabled, just in case future developments block Shim or similar tools.

tsh wrote:kvorg wrote:Incidentally, at least the 64-bit Mint 14 RC1 version installer also fails with EFI install. However, the problem is only missing Grub-EFI package. You can mount the target, bindmount /proc, /sys and /dev, chroot into the target and then install the package with apt-get.
The easiest way to then deploy grub and EFI boot was simply to upgrade the kernel.
Cheers,
-kvorg
Any chance of a sligntly more explicit set of instructions for those of us who are not intimatly familiar with the installer? I can fork out my partition names etc fine, chroot is known, bindmount is new...
Would prefer to get this right now since it is a new build, but the quickest workaround seems to be either enable legacy mode, or install ubuntu 12.10 first and rely on it's bootloader (succeeded there, but forgot the whole unity disaster).

powerhouse wrote:Unlike with x86 hardware, the Windows 8 certification requirements essentially mean that someone who buys an ARM-based device will be stuck with Microsoft.

srs5694 wrote:powerhouse wrote:Unlike with x86 hardware, the Windows 8 certification requirements essentially mean that someone who buys an ARM-based device will be stuck with Microsoft.
Not entirely. First, any ARM-based device that doesn't ship with Windows 8 will be unaffected by Microsoft's certification requirements. For that matter, if the manufacturer was willing to forego slapping a Windows 8 logo on the device could ignore those requirements, too.
Second, as I wrote in my previous post, it's easy enough for a Linux distribution vendor to get around the Secure Boot issue by having their own boot loader signed. AFAIK, even an individual could do this, although it would cost $99 (for the right to sign as many binaries as you wanted). I don't know of any distributions that are planning to officially support Secure Boot on ARM, but I suspect it's just a matter of time before such support materializes from somebody. Even somebody other than a distribution's vendor could do it -- you or I could obtain a key, use it to sign a boot loader for whatever distribution we want (or a generic boot loader), and distribute it.

Users browsing this forum: No registered users and 21 guests