Re: grub2-install fails

2015-08-30 Thread Chris Murphy
On Sun, Aug 30, 2015 at 4:15 PM, Gordon Messmer wrote: > On 08/30/2015 05:27 AM, Tom H wrote: >> >> Crippling an upstream tool is beyond anything other distros patch. > > > It's not crippled. The efi modules are packaged separately. If you know > that you want to run grub2-install, then you need

Re: grub2-install fails

2015-08-30 Thread Gordon Messmer
On 08/30/2015 05:27 AM, Tom H wrote: Crippling an upstream tool is beyond anything other distros patch. It's not crippled. The efi modules are packaged separately. If you know that you want to run grub2-install, then you need to install the "grub2-efi-modules" package. When you run grub2-i

Re: grub2-install fails

2015-08-30 Thread Chris Murphy
On Sun, Aug 30, 2015 at 6:27 AM, Tom H wrote: > On Sat, Aug 29, 2015 at 4:41 PM, Gordon Messmer > wrote: >> On 08/29/2015 01:03 PM, Tom H wrote: >>> >>> https://fedoraproject.org/wiki/GRUB_2 >>> >>> I hadn't read that page. I stand corrected. >>> >>> How nice that Fedora diverges from upstream. >

Re: grub2-install fails- now SHIM

2015-08-30 Thread Paul Cartwright
On 08/30/2015 01:35 PM, Chris Murphy wrote: > I've already hinted at this, because those entries are either wrong or > suboptimal. Each distro has its own /etc/default/grub which contains > its own unique GRUB_CMDLINE_LINUX= which really only applies to that > distro. The Ubuntu GRUB menu entries f

Re: grub2-install fails- now SHIM

2015-08-30 Thread Chris Murphy
On Sun, Aug 30, 2015 at 4:19 AM, Paul Cartwright wrote: > On 08/29/2015 11:12 PM, Chris Murphy wrote: >>> > grub2-mkconfig will add entries for other operating systems it can find. >>> > That will be done based on the output of the os-prober tool. >> This is why one of my first modifications post-

Re: grub2-install fails

2015-08-30 Thread Tom H
On Sat, Aug 29, 2015 at 4:41 PM, Gordon Messmer wrote: > On 08/29/2015 01:03 PM, Tom H wrote: >> >> https://fedoraproject.org/wiki/GRUB_2 >> >> I hadn't read that page. I stand corrected. >> >> How nice that Fedora diverges from upstream. > > It does, considerably: > http://pkgs.fedoraproject.org/

Re: grub2-install fails- now SHIM

2015-08-30 Thread Paul Cartwright
On 08/29/2015 11:12 PM, Chris Murphy wrote: >> > grub2-mkconfig will add entries for other operating systems it can find. >> > That will be done based on the output of the os-prober tool. > This is why one of my first modifications post-install is to > /etc/default/grub to add > > GRUB_DISABLE_OS_P

Re: grub2-install fails- now SHIM

2015-08-29 Thread Chris Murphy
On Sat, Aug 29, 2015 at 1:48 PM, Paul Cartwright wrote: > grub2-mkconfig will add entries for other operating systems it can find. > That will be done based on the output of the os-prober tool. This is why one of my first modifications post-install is to /etc/default/grub to add GRUB_DISABLE_OS

Re: grub2-install fails

2015-08-29 Thread Paul Cartwright
On 08/29/2015 04:31 PM, Gordon Messmer wrote: >>> > >>> >https://fedoraproject.org/wiki/GRUB_2 >> so grub2-efi installs it, but how do you modify/maintain it?? > > You don't. If you modify the grub2 binary, the signature is invalid > and the system won't boot (under Secure Boot). There is almost

Re: grub2-install fails

2015-08-29 Thread Gordon Messmer
On 08/29/2015 01:03 PM, Tom H wrote: the grub2-install command >creates a custom grubx64.efi, deletes the original installed one, and looks >for grub.cfg in /boot/grub2/." >https://fedoraproject.org/wiki/GRUB_2 I hadn't read that page. I stand corrected. How nice that Fedora diverges from upstr

Re: grub2-install fails

2015-08-29 Thread Gordon Messmer
On 08/29/2015 12:51 PM, Paul Cartwright wrote: Not according to the documentation, which indicates that: >"grub2-install shouldn't be used on EFI systems. The grub2-efi package >installs a prebaked grubx64.efi on the EFI System partition, which >looks for grub.cfg on the ESP in/EFI/fedora/ where

Re: grub2-install fails

2015-08-29 Thread Tom H
On Sat, Aug 29, 2015 at 2:59 PM, Gordon Messmer wrote: > On 08/29/2015 03:20 AM, Tom H wrote: >> >> grub2-install works on non-SB systems. >> And there's no reason that it shouldn't work on SB systems. Aren't the >> grub and shim executables simply copied from "/usr/something"? So they >> should b

Re: grub2-install fails

2015-08-29 Thread Paul Cartwright
On 08/29/2015 02:59 PM, Gordon Messmer wrote: >> grub2-install works on non-SB systems. >> And there's no reason that it shouldn't work on SB systems. Aren't the >> grub and shim executables simply copied from "/usr/something"? So they >> should be signed. > that was not my writing, someone else se

Re: grub2-install fails- now SHIM

2015-08-29 Thread Paul Cartwright
On 08/29/2015 03:00 PM, Gordon Messmer wrote: it would really be nice if there was some HOW-TO or documentation on all this new UEFI/shim packages... There is. https://fedoraproject.or

Re: grub2-install fails- now SHIM

2015-08-29 Thread Gordon Messmer
On 08/29/2015 04:15 AM, Paul Cartwright wrote: it would really be nice if there was some HOW-TO or documentation on all this new UEFI/shim packages... There is. https://fedoraproject.org/wiki/GRUB_2 -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription optio

Re: grub2-install fails

2015-08-29 Thread Gordon Messmer
On 08/29/2015 03:20 AM, Tom H wrote: grub2-install works on non-SB systems. And there's no reason that it shouldn't work on SB systems. Aren't the grub and shim executables simply copied from "/usr/something"? So they should be signed. Not according to the documentation, which indicates that: "

Re: grub2-install fails- now SHIM

2015-08-29 Thread Paul Cartwright
On 08/29/2015 02:17 AM, Chris Murphy wrote: >> > https://fedoraproject.org/wiki/GRUB_2 >> > >> > yum install grub2-efi grub2-efi-modules shim > grub2-efi-modules is not necessary unless you plan on going off the > rails with GRUB modules that aren't baked into the signed Fedora GRUB > EFI OS Loader

Re: grub2-install fails

2015-08-29 Thread Paul Cartwright
On 08/29/2015 06:20 AM, Tom H wrote: >> > grub2-install does not apply on UEFI systems at all, it should not be >> > used. Instead you reinstall shim and grub2-efi packages. > grub2-install works on non-SB systems. SB-systems? > > And there's no reason that it shouldn't work on SB systems. Aren't t

Re: grub2-install fails

2015-08-29 Thread Tom H
On Fri, Aug 28, 2015 at 12:02 PM, Chris Murphy wrote: > On Wed, Aug 26, 2015 at 10:33 AM, Paul Cartwright > wrote: >> >> I installed my new drive, and everything was fine. I added another OS, >> and now I can't do the grub2-install anymore. What am I missing?? >> >> # grub2-install /dev/sda >> gr

Re: grub2-install fails- now SHIM

2015-08-28 Thread Chris Murphy
On Fri, Aug 28, 2015 at 11:06 AM, Paul Cartwright wrote: > On 08/28/2015 12:02 PM, Chris Murphy wrote: >> grub2-install does not apply on UEFI systems at all, it should not be >> used. Instead you reinstall shim and grub2-efi packages. >> > ok, I wasn't aware of this shim package, but I see how th

Re: grub2-install fails- now SHIM

2015-08-28 Thread Paul Cartwright
On 08/28/2015 12:02 PM, Chris Murphy wrote: > grub2-install does not apply on UEFI systems at all, it should not be > used. Instead you reinstall shim and grub2-efi packages. > ok, I wasn't aware of this shim package, but I see how that works now... https://fedoraproject.org/wiki/GRUB_2 yum insta

Re: grub2-install fails-SOLVED, I think..

2015-08-28 Thread Paul Cartwright
On 08/28/2015 12:02 PM, Chris Murphy wrote: > grub2-install does not apply on UEFI systems at all, it should not be > used. Instead you reinstall shim and grub2-efi packages. > thanks, I got some other replies that mentioned efibootmgr, and that did the trick. my default grub was ubuntu, but I want

Re: grub2-install fails

2015-08-28 Thread Chris Murphy
On Wed, Aug 26, 2015 at 10:33 AM, Paul Cartwright wrote: > I installed my new drive, and everything was fine. I added another OS, > and now I can't do the grub2-install anymore. What am I missing?? > > # grub2-install /dev/sda > grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exi

grub2-install fails

2015-08-26 Thread Paul Cartwright
I installed my new drive, and everything was fine. I added another OS, and now I can't do the grub2-install anymore. What am I missing?? # grub2-install /dev/sda grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory. boot is mounted: /de