bugGNU GRUB - Bugs: bug #37280, GRUB EFI 2.00 doesn't start with...


You are not allowed to post comments on this tracker with your current authentication level.

bug #37280: GRUB EFI 2.00 doesn't start with "error: couldn't terminate EFI services"

Submitted by:  Giovanni Mascellani <giomasce>
Submitted on:  Thu 06 Sep 2012 08:38:56 AM UTC  
Votes:  5  
Category:  Booting Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release: 
Release:  other Reproducibility:  Intermittent
Planned Release:  None

Mon 08 Apr 2013 07:05:20 PM UTC, comment #3:

Fixed now. If it still persists feel free to reopen.

Vladimir Serbinenko <phcoder>
Project Administrator
Sat 08 Sep 2012 09:10:31 AM UTC, comment #2:

No luck with the trunk branch in bzr, same syntomps as before.

Giovanni Mascellani <giomasce>
Sat 08 Sep 2012 06:44:01 AM UTC, comment #1:

Could you try bzr?

Vladimir Serbinenko <phcoder>
Project Administrator
Thu 06 Sep 2012 08:38:56 AM UTC, original submission:


I'm having problems with GRUB EFI on my new laptop, which is an Asus N56VZ-S4033V with Aptio version 2.14.1219 (it also advertises itself as version 204, don't know which number is more significant). I'm using Debian GNU/Linux sid (unstable) on it.

I compiled grub-2.00 with this command:

./configure --with-platform=efi --target=x86_64 --program-prefix="" --prefix="/opt/grub"
make install

Then I installed it with:

/opt/grub/sbin/grub-install --directory=/opt/grub/lib/grub/x86_64-efi/ --efi-directory=/mnt/efi
/opt/grub/sbin/grub-mkconfig > /mnt/efi/EFI/grub/grub.cfg

(the system EFI partition is mounted in /mnt/efi).

When I boot GRUB, the menu is displayed properly, but I can't boot Linux. Specifically, that what happens: if I boot the first entry in the GRUB menu ("GNU/Linux", created by grub-mkconfig, see configuration attached), sometimes (somewhat like once in ten attempts, but I have no precise statistics) it works perfectly, Linux boots and works as expected. In the other cases, after writing some lines I can't read (but see below), the GRUB menu gets displayed again nearly immediately. If I choose again the same entry, Linux apparently starts, but stops at the initramfs stage, complaining that it doesn't find /etc/fstab and cannot find init.

The same kernel and initrd work always, for example, when served via PXE by another computer (at the moment, this is the only way I have to reliably boot my computer).

To better understand what's going on, I try, instead of just pressing Enter to boot the first option, to edit it with E and, without actually touching anything, booting it with F10. This way I can see what it writes.

The first time it writes:

Caricamento Linux 3.2.0-3-amd64...
Caricamento ramdisk iniziale...
error: couldn't terminate EFI services.

Press any key to continue...

Than I press I key and I'm back to the edit screen for the first entry. I go with F10 again and this time Linux boots, but with the initramfs problem I wrote above.

Giovanni Mascellani <giomasce>


Attached Files
file #26484:  grub.cfg added by giomasce (6KiB - application/octet-stream - GRUB configuration)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by obri (Voted in favor of this item)
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by giomasce (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 5 encouragements so far.

    Only logged-in users can vote.




    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-08 phcoder StatusNone => Fixed
        Open/ClosedOpen => Closed
    2012-12-08 obri Carbon-Copy- => Added obri
    2012-09-06 giomasce Attached File- => Added grub.cfg, #26484

    Back to the top

    Powered by Savane 3.3