Hello la Team,
Après avoir lu de nombreux postes et Googlelisé, je n’arrive pas à résoudre mon problème de «Trying to terminate EFI services again»
(j’ai bien décoché la case Read only de l’image disk et bien saisi mes données PID, VID, MAC1 et SN)
Migration de 5.2 to 6.2
Loader Jun 1.03b (DS3615) avec ou sans le spécial extra.lzma et DSM_DDSM_23739.pat
Matériels :
— Carte mère MSI HM97M-E35 dernier bios à jour (16-02-2016)
— Processeur i5-4460 3.2 GhZ
— Carte réseau Realtek PCIe GBE Fam / driver : UEFI UNDI Dr v. 2.026 -> est-ce que ce driver est pris en charge ?
De plus je ne vois pas le serveur avec Synology assistant alors que «bilel» avec la même erreur le voit !
Merci d’avance pour votre aide.
Edited by maconly34
View previous topic :: View next topic | |||||||||||
Author | Message | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tanktalus Tux’s lil’ helper Joined: 27 Apr 2005 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
Tanktalus Tux’s lil’ helper Joined: 27 Apr 2005 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
Tanktalus Tux’s lil’ helper Joined: 27 Apr 2005 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
Tanktalus Tux’s lil’ helper Joined: 27 Apr 2005 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
ulenrich Veteran Joined: 10 Oct 2010 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
Tanktalus Tux’s lil’ helper Joined: 27 Apr 2005 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
Tanktalus Tux’s lil’ helper Joined: 27 Apr 2005 |
|
||||||||||
Back to top |
|
||||||||||
DONAHUE Watchman Joined: 09 Dec 2006 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
Logicien Veteran Joined: 16 Sep 2005 |
|
||||||||||
Back to top |
|
||||||||||
Tanktalus Tux’s lil’ helper Joined: 27 Apr 2005 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
srs5694 Guru Joined: 08 Mar 2004 |
|
||||||||||
Back to top |
|
||||||||||
vaxbrat l33t Joined: 05 Oct 2005 |
|
||||||||||
Back to top |
|
||||||||||
SirRobin2318 Apprentice Joined: 24 Apr 2004 |
|
||||||||||
Back to top |
|
||||||||||
|
You cannot post new topics in this forum |
Hello, forum users!
I’ve recently tried to install Arch on Asus VivoTab Smart ME400C (UEFI without CSM, 32-bit Bay Trail (if I remember correctly)), and it won’t even boot the installation USB without some modifications.
But even these modifications, such as adding Grub2 as $USB/boot/EFI/bootia32.efi (standard path for 32-bit UEFI) I cannot boot Linux properly.
Each time I try to bootstrap kernel as usual, for example:
grub> linux /boot/arch/i686/vmlinuz # some kernel params taken from syslinux archiso config
grub> initrd /boot/arch/i686/archiso.img
grub> boot
This error pops up, and all suddenly stops:
Tried to terminate EFI services again
I experimented, and found that using linux16 doesn’t produce any errors. It produces literally nothing. No kernel, no disk activity, no errors. Nothing.
Attempt to load EFI shell caused black screen and nothing else. Maybe I was impatient, bu I am not sure.
Tails and Ubuntu also weren’t booting when I tried to boot them.
Tux’s lil’ helper
Joined: 27 Apr 2005
Posts: 85
Posted: Mon Mar 03, 2014 4:23 am Post subject: UEFI, Grub2, «Trying to terminate EFI services again&qu | ||||||
|
||||||
I’m attempting to get Gentoo installed on my latest machine — this’ll make the fourth or so. But the first with EFI (specifically, UEFI), all the previous ones have been BIOS.
So, after fighting with the system a few different ways, I eventually got grub2 to boot. I did this by using sysrescuecd and some help on IRC. However, I’m doing something wrong still. Because grub offers me the choice to load the kernel, and, when I select it, all I get is «Trying to terminate EFI services again.» Nothing else seems to happen. No amount of googling has seemed to help, so I’m hoping someone here will have an idea.
And …
I haven’t done anything with /dev/sda1, the EFI stuff is in /dev/sda2, which is supposed to eventually mount on /boot. Root is /dev/sda3, and /usr/portage and various other (bigger, less-frequently-accessed) things are found on /dev/sdb2. Kernel settings:
Any advice would be appreciated. I’ve been beating my head against this for a while now, just to get grub to come up. |
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Posted: Mon Mar 03, 2014 10:29 am Post subject: | ||
|
||
Not sure if it’s related, but why do you have a bios_grub partition? When booting on EFI, all of grub’s config & files should be on the EFI partition.
This is what I have:
And I mount /dev/sda1 /boot/efi on my root. |
Tux’s lil’ helper
Joined: 27 Apr 2005
Posts: 85
Posted: Mon Mar 03, 2014 2:08 pm Post subject: | |
|
|
The bios_grub partition was just because I had so many problems getting grub to install and boot — at one point grub said it didn’t have enough space or something, so I repartitioned it just in case. Maybe it’s not required, but it’s only an extra meg, so, unless it’s preventing me from continuing, I’d rather just leave it
grub2-mkconfig seems to have figured out the appropriate root partition, if I’m reading its output grub.cfg properly, I’m just not sure if I am making it that far. The grub2 on the sysrescuecd is working, so I’m pretty sure it’s just me not doing something right. |
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Posted: Mon Mar 03, 2014 2:19 pm Post subject: | ||
|
||
Did you this:
To install grub? Was /dev/sda2 mounted to /boot/efi at the time? |
Tux’s lil’ helper
Joined: 27 Apr 2005
Posts: 85
Posted: Mon Mar 03, 2014 4:23 pm Post subject: | ||
|
||
No, I used grub2-install:
I had originally put in an —efi-directory of /boot/efi, but that didn’t want to work (grub wouldn’t even come up), so I switched to this and now at least grub comes up. I’ve mounted /dev/sda2 at /boot, not /boot/efi, though I suppose I could move it down and put the rest of grub in /dev/sda3. |
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Posted: Mon Mar 03, 2014 4:31 pm Post subject: | ||
|
||
Give it a try. The only thing I can tell you is that’s what I’ve got, and it’s working. This website helped me a lot setting grub up: http://www.rodsbooks.com/linux-uefi/
|
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Posted: Mon Mar 03, 2014 4:48 pm Post subject: | ||
|
||
OK, I just did something reeeally clever:
1/ log in as root, because that’s the account I used when I installed gentoo. 2/ Ctrl-r grub2 to check what command I used to install grub. 3/ Out of habit, press enter. 4/ Panic and hit ctrl-c 5/ «I wonder if it had time to squash my grub, let’s reboot and check» … it had time to corrupt it, yeah So I can confirm that on my system, with /dev/sda1 (sda2 for you) mounted on /boot/efi, the following command installs grub correctly:
Try that instead of specifying efi & boot directories. |
Tux’s lil’ helper
Joined: 27 Apr 2005
Posts: 85
Posted: Mon Mar 03, 2014 5:30 pm Post subject: | ||
|
||
grub2-mkimage seems to just create the .efi file — to stdout. So I’d have to figure out where to put it. And I think that’s what grub2-install does The info page for grub-install (not grub2-install, I just found out) indicates this.
As to without the extra install options?
I put in the extra options which got rid of the warning here. I’m not sure if there’s a better way. Is your /boot then part of your root filesystem (/dev/sda3 in your case)? And then /boot/grub is on your ext4 filesystem? |
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Posted: Mon Mar 03, 2014 5:54 pm Post subject: | ||
|
||
That is correct (colonel O’Neil). /boot/grub, /boot/kernel-… all on the root system. And you were right about image vs install, I used install as well. |
Veteran
Joined: 10 Oct 2010
Posts: 1473
Posted: Mon Mar 03, 2014 6:25 pm Post subject: | ||||
|
||||
Efi specifications only guarantee loading from a EFI-fat partition.
|
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Posted: Mon Mar 03, 2014 6:41 pm Post subject: | ||
|
||
Yeah, for loading grub. Which installs in /dev/sda2 (on Tanktalus’ system, the fat partition). But once grub is loaded, it’ll boot your kernel from an ext partition, that’s its job.
|
Tux’s lil’ helper
Joined: 27 Apr 2005
Posts: 85
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Tux’s lil’ helper
Joined: 27 Apr 2005
Posts: 85
Posted: Tue Mar 04, 2014 1:54 pm Post subject: | ||||
|
||||
Technically, it’s /boot/grub/grub.cfg, but I get what you mean. I see a reference to grubenv — it’s effectively empty (just a bunch of #s)
Did I re-run -install and -mkconfig? Yes, since if I hadn’t, I doubt that I would have even gotten grub itself to come up with the correct choices. However, I did — it just won’t load the kernel. This could be a problem with the kernel? I don’t know, though given that the string that’s showing up is found in the grub code and not the kernel code, I would expect it’s in grub.
My build flags for grub:
|
Watchman
Joined: 09 Dec 2006
Posts: 7644
Location: Goose Creek SC
Posted: Tue Mar 04, 2014 3:32 pm Post subject: | |
|
|
Have you considered avoiding using grub2?
http://wiki.gentoo.org/wiki/EFI_stub_kernel |
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Posted: Tue Mar 04, 2014 4:37 pm Post subject: | |
|
|
Yeah, we have basically the same thing.
What I don’t get, is that you’re past the hardest part, getting into grub. From then on it should be easier… What motherboard does your system have? maybe something will come up in google? In the mean time, I checked your USE flags, I don’t have -efiemu. You could try without it. |
Veteran
Joined: 16 Sep 2005
Posts: 1506
Location: Montréal
Posted: Tue Mar 04, 2014 7:52 pm Post subject: | ||||||
|
||||||
This /etc/portage/make.conf variable can be the culprit even if it have what’s seem to be a normal value
I use only
and Grub2 work perfectly in UEFI mode on my HP Pavilion g6 Notebook PC. These are my USE flags:
The efiemu USE flag is off. So, give a try to reemerge Grub2 with this new make.conf GRUB_PLATFORMS value and USE flags and réinstall it with grub-install. It can change something.
|
Tux’s lil’ helper
Joined: 27 Apr 2005
Posts: 85
Posted: Tue Mar 04, 2014 9:47 pm Post subject: | |
|
|
gah!
Ok, I’ve done the above. Still no change — still getting «Trying to terminate EFI services again.» However I just figured something out. It *IS* booting. Darned fast, too, I might add, but that’s likely something to do with the fact that it has nothing to boot. It just isn’t displaying anything on the screen. I can ssh in just fine. Am I missing something video related? |
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Posted: Tue Mar 04, 2014 10:36 pm Post subject: | ||
|
||
well, that was fun.
Well it seems it would be a kernel issue then. The «Trying to terminate EFI services again.» does seem to be grub related though. Just to rule out a efi problem coming from the kernel, I have the following activated:
But I’m guessing it’s more framebuffer related… Time for bed for me, I’ll see what I can find tomorrow. |
Guru
Joined: 08 Mar 2004
Posts: 434
Location: Woonsocket, RI
Posted: Wed Mar 05, 2014 1:03 am Post subject: | ||
|
||
I’d phrase this as a recommendation, not a question. I’ve tried every EFI boot loader for Linux in existence (or at least, all of them that I know of), and in my experience, GRUB 2 is the most difficult to configure by hand and the least reliable. It’s not all that bad on Fedora, Ubuntu, OpenSUSE, and other distributions that provide pre-built binaries and a mound of well-tested scripts to configure everything so that it works; but Gentoo expects end users to build the binaries and do more in the way of manual configuration. These tasks are where GRUB 2 falls flat on its face, taking you down with it. Those other distributions typically use GRUB because it supports a wide variety of platforms (both firmware type and CPU), and has options to handle every contingency; but a Gentoo user doesn’t need such a wide range of options. Instead, a Gentoo user can pick a boot loader that does the job on one system and forget about the cases that don’t matter on that system. Thus, for Gentoo, GRUB 2 is a poor choice for a boot loader, particular under EFI. (Note there’s no «IMHO» in that sentence.) To learn what’s available, see my Web page on the subject. As a quick highlight, I agree with DONAHUE that the EFI stub loader is a good choice, particularly when paired with gummiboot or my own rEFInd. (Using the EFI stub loader directly is possible, but you’ll give up flexibility and, paradoxically, it will become harder to configure compared to use it with gummiboot, or especially with rEFInd.) ELILO, although no longer under rapid development, remains reliable and is much easier to configure than GRUB 2. ELILO is fine by itself on a Linux-only system, but you’ll need to pair it with something else if you’re installing in a dual-boot configuration. If you’re comfortable with LILO on a BIOS-based computer, you’ll find ELILO quite familiar. |
l33t
Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs
Posted: Wed Mar 05, 2014 4:44 am Post subject: Partitioning scheme? | |
|
|
Check the partitioning scheme here in my wiki entry maybe? I get this to work on a mirror set with /boot formatted as btrfs. It should work for ext4 I bet:
http://wiki.gentoo.org/wiki/Btrfs_native_system_root |
Apprentice
Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.
Posted: Wed Mar 05, 2014 3:41 pm Post subject: | ||
|
||
Manually edit your /boot/grub/grub.cfg, under each line that reads
add:
If that works we’ll find a way to make mkconfig generate it correctly. |
Display posts from previous:
A few days ago my ubuntu 17.04 software updater on a dual boot system with windows 10 ran some automatic updates and prompted a reboot. Ever since, after I select my boot option in GRUB there’s a black pop-up window with the text «trying to terminate EFI services again».
Except for the visual hindrance and taking a few more seconde, booting works fine. However, I’m very curious as to what causes this error and I’d like to fix it. Help or an explanation is very much appreciated.
asked Mar 5, 2018 at 12:43
2
You must log in to answer this question.
Browse other questions tagged
.
Browse other questions tagged
.