Devuan bug report logs - #551
GRUB config not loaded because of hardcoded debian reference in GRUB EFI binary

Package: grub-efi-amd64-bin; Reported by: Benjamin Boudoir <benjamin@boudoir.name>; dated Thu, 18 Feb 2021 10:33:02 UTC; Maintainer for grub-efi-amd64-bin is (unknown).

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 18 Feb 2021 10:20:02 +0000
Return-Path: <benjamin@boudoir.name>
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 18 Feb 2021 10:20:02 +0000 (UTC)
Received: from keid.boudoir.name (altair.sedric.fr [91.121.93.85])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 3779BF60D52
	for <submit@bugs.devuan.org>; Thu, 18 Feb 2021 11:13:38 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=boudoir.name header.i=@boudoir.name header.b="W6XyHVip";
	dkim=pass (1024-bit key) header.d=boudoir.name header.i=@boudoir.name header.b="HBEj3KqC";
	dkim-atps=neutral
X-Virus-Scanned: amavisd-new at boudoir.name
DKIM-Filter: OpenDKIM Filter v2.11.0 keid.boudoir.name 297B969D80
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boudoir.name;
	s=dkim; t=1613643218;
	bh=O5DaDl7nt83AcboQYGIQfW8flPt3LfVBJFISzafvumo=;
	h=Date:From:To:Subject:From;
	b=W6XyHVipexLz1GUh0iaoJGNztmgn+oB9jQKX+CySVaoFN3pEf6N9vjVmrqlaan4Ri
	 uSgXzvRognx/JaS1aDuYQN0i1eamh5Fd7M9HF2Rqauhc157dJaTNzS8pseoXNULq20
	 cVGsu49llB6s6YliqKfQAFUfjPkz/S1igcZoMMn8=
Sender: benjamin@boudoir.name
DKIM-Filter: OpenDKIM Filter v2.11.0 keid.boudoir.name DE45D69D7F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boudoir.name;
	s=dkim; t=1613643217;
	bh=O5DaDl7nt83AcboQYGIQfW8flPt3LfVBJFISzafvumo=;
	h=Date:From:To:Subject:From;
	b=HBEj3KqC0ZtUzu6Xd6pgVmbV2ZAVB6l1SMS+2/7tkAHWkyl2wkjSfIyyiZKtltGtF
	 vdvUmUzbV4d/klPR6SLynILwffhj0ENYWcjvL+jq9rcUl5mTHUST1M39yNY2pBrMvI
	 2UrDuYhW1PdM0PWL05BsfZjTPHJ1uuhCDE1e4BtY=
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 18 Feb 2021 11:13:36 +0100
From: Benjamin Boudoir <benjamin@boudoir.name>
To: submit@bugs.devuan.org
Subject: GRUB config not loaded because of hardcoded debian reference in
 GRUB EFI binary
Message-ID: <9648512a0bc477eed43c26549fd53ecb@boudoir.name>
X-Sender: benjamin@boudoir.name
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,SPF_PASS autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: grub-efi-amd64-bin
Version: 2.02+dfsg1-20+deb10u3

Hi,

I had to switch to GRUB EFI and after reboot, I was prompted with a GRUB 
shell.

It seems to be because grub-install install the grub.cfg in EFI/devuan 
while the grub binary explicitly search in EFI/debian :
# strings /boot/efi/EFI/devuan/grubx64.efi |grep EFI/
/EFI/debian

Copying the grub.cfg in EFI/debian/ fixed the issue, so maybe we should 
recompile the GRUB binary with devuan paths ?

Regards,

-- 
Benjamin Boudoir

Acknowledgement sent to Benjamin Boudoir <benjamin@boudoir.name>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#551; Package grub-efi-amd64-bin. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu, 19 May 2022 10:39:02 UTC