URL:
  <http://savannah.gnu.org/bugs/?41533>

                 Summary: grub-install returns 0 even with Fatal errors
                 Project: GNU GRUB
            Submitted by: nekoexmachina
            Submitted on: Sun 09 Feb 2014 08:32:18 PM GMT
                Category: Installation
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: [email protected]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 2.00
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

To reproduce:
umount /sys
run grub-install

What happens:
~ # grub-install --target=x86_64-efi --efi-directory=/boot /dev/sda
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI
variables.
Try 'modprobe efivars' as root.
Fatal: Couldn't open either sysfs or procfs directories for accessing EFI
variables.
Try 'modprobe efivars' as root.
Installation finished. No error reported.
~ # echo $?
0


What should: If "Fatal" & installation is not finished, Grub should not tell
that it is. Also it should not return 0 in such cases.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41533>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to