🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #622

Re: Help diagnosing efivarsfs not present (newer Sid kernels)

#622
From: David Wright
Date: Wed, 25 Nov 2026 04:00
55 lines
5819 bytes
On Tue 24 Nov 2026 at 15:16:26 (-0800), Kelly Clowers wrote:
> On Tue, Nov 24, 2026, at 07:45, David Wright wrote:
> > On Mon 23 Nov 2026 at 21:53:48 (-0800), Kelly Clowers wrote:
[ … ]
> > So I'd guess the boot loader can find your ESP, and hence boot,
> > but you're not mounting it correctly, so the OS can't find it.
> >
> > $ grep -e mntpt -e efi /etc/fstab 
> > # <filesys>      <mntpt>        <type>      <options>     <dump> <pass>
> > UUID=E721-9F8F   /boot/efi      vfat        umask=0077              0 2
> > $ 
> 
> The EFI System Partition (ESP) is fine, it is mounted and accessible, the only issue is the efivarFS virtual filesystem, which simple isn't there and won't mount, which renders all userspace access to EFI vars impossible 
> 
> >From `parted`
> Number  Start   End     Size    File system     Name  Flags
>  1      1049kB  1181MB  1180MB  fat32           ESP   boot, legacy_boot, esp
> [...]

So the ESP exists, and will presumably be found by the firmware.

> aadmin:~$ findmnt --types vfat
> TARGET SOURCE         FSTYPE OPTIONS
> /boot  /dev/nvme0n1p1 vfat   rw,relatime,[...]

You shouldn't mount the ESP on /boot, but /boot/efi, as seen in my
/etc/fstab line above.

> aadmin:~$ sudo ls /boot/EFI
> BOOT  debian  Linux  systemd

That looks reasonable, except it should be a listing of /boot/efi/EFI,
not /boot/EFI.

While the system is running, create a directory called /boot/efi.
Edit your /etc/fstab and change the line that says:

  /dev/nvme0n1p1  /boot vfat   rw,relatime,[...]

to:

  /dev/nvme0n1p1  /boot/efi vfat   rw,relatime,[...]

You might want to change /dev/nvme0n1p1 to the UUID of the filesystem,
which is considered generally more reliable than using kernel names.
You can see that in my own /etc/fstab, which corresponds to:

  $ ls -l /dev/disk/by-uuid/E721-9F8F 
  lrwxrwxrwx 1 root root 15 Nov 24 07:53 /dev/disk/by-uuid/E721-9F8F -> ../../nvme0n1p1
  $ 

Then reboot, and see what comes up.

Cheers,
David.
Technical Details
Message-ID: <O3ckN-dZUo-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <O2RJn-dP2F-1@gated-at.bofh.it> <O30Wl-dTPs-9@gated-at.bofh.it> <O3ckN-dZUo-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: David Wright <deblis@lionunicorn.co.uk>
Newsgroups: linux.debian.user
Subject: Re: Help diagnosing efivarsfs not present (newer Sid kernels)
Date: Wed, 25 Nov 2026 05:00:01 +0100
Message-ID: <O3ckN-dZUo-1@gated-at.bofh.it>
References: <O2RJn-dP2F-1@gated-at.bofh.it> <O30Wl-dTPs-9@gated-at.bofh.it> <O3ckN-dZUo-3@gated-at.bofh.it>
X-Original-To: debian-user@lists.debian.org
X-Mailbox-Line: From debian-user-request@lists.debian.org  Wed Nov 25 03:51:00 2026
Old-Return-Path: <nobody@lionunicorn.co.uk>
X-Amavis-Spam-Status: No, score=-2.099 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
 DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001]
 autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -2.33
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Sender-ID: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mc-Relay: Junk
X-Mailchannels-Senderid: thundermail|x-authsender|david@lionunicorn.co.uk
X-Mailchannels-Auth-ID: thundermail
X-Tart-Coil: 68bb4dd6555a3ee6_1795578644285_104729344
X-Mc-Loop-Signature: 1795578644285:1269405963
X-Mc-Ingress-Time: 1795578644285
Authentication-Results: cloud225.thundercloud.uk;
        spf=pass (sender IP is 24.255.218.34) smtp.mailfrom=nobody@lionunicorn.co.uk smtp.helo=argo.corp
Received-Spf: pass (cloud225.thundercloud.uk: connection is authenticated)
Reply-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Ppp-Message-ID: 
 <179557864089.2306674.4577844186565619935@cloud225.thundercloud.uk>
X-Ppp-Vhost: lionunicorn.co.uk
X-Rspamd-Queue-ID: 4jZ5LT0z97zGnsd
X-Rspamd-Server: mailclean11
X-Rspamd-Action: no action
X-Spamd-Result: default: False [2.60 / 999.00];
	REPLYTO_EQ_TO_ADDR(2.00)[];
	ENVFROM_SERVICE_ACCT(1.00)[];
	DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[];
	FORGED_SENDER(0.30)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
	ONCE_RECEIVED(0.20)[];
	R_DKIM_ALIGNED(-0.10)[strict];
	REPLYTO_MX_GOOD(-0.10)[bendel.debian.org];
	MIME_GOOD(-0.10)[text/plain];
	MX_GOOD(-0.10)[mail.lionunicorn.co.uk];
	UWH_IDENTITY(0.00)[1|72e931f315d8a6e3|t=70|r=0|m=postfix|n=18|h=pppm:1:16/1+pppv:1:17/0|f=nv];
	FREEMAIL_ENVRCPT(0.00)[hotmail.co.uk];
	R_DKIM_ALLOW(0.00)[lionunicorn.co.uk:s=default];
	DMARC_POLICY_ALLOW(0.00)[lionunicorn.co.uk,none];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	MIME_TRACE(0.00)[0:+];
	RCPT_COUNT_ONE(0.00)[1];
	REPLYTO_DOM_NEQ_FROM_DOM(0.00)[];
	DKIM_TRACE(0.00)[lionunicorn.co.uk:+];
	ARC_NA(0.00)[];
	R_SPF_SOFTFAIL(0.00)[~all];
	FROM_NEQ_ENVFROM(0.00)[deblis@lionunicorn.co.uk,nobody@lionunicorn.co.uk];
	FROM_HAS_DN(0.00)[];
	RCVD_TLS_ALL(0.00)[];
	TO_DN_NONE(0.00)[];
	ASN(0.00)[asn:34931, ipnet:149.255.56.0/22, country:GB];
	RCVD_VIA_SMTP_AUTH(0.00)[];
	MISSING_XM_UA(0.00)[];
	RCVD_COUNT_ONE(0.00)[1];
	HAS_REPLYTO(0.00)[debian-user@lists.debian.org]
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/833026
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/awZbDQgT2OiolxZZ@argo.corp
Approved: robomod@news.nic.it
Lines: 55
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 24 Nov 2026 21:50:37 -0600
X-Original-Message-ID: <awZbDQgT2OiolxZZ@argo.corp>
X-Original-References: <1bea884c-d196-45f2-93fc-8258409cb822@app.fastmail.com>
 <awWxCC8_lPjC9KTs@argo.corp>
 <21531fb4-af6a-4ebb-8ade-fb40fb2f786d@app.fastmail.com>