The officially official Devuan Forum!

You are not logged in.

#1 2022-10-30 20:27:37

rolfie
Member
Registered: 2017-11-25
Posts: 1,047  

[SOLVED] File system check on efi system partition

On my laptop I just saw in the boot messages that the efi system partition wasn't ok (volume not properly unmounted ...). This is a vfat partition mounted at /boot/EFI, and according to the fstab entry a fsck should be done during each boot. I am wondering why this did not work.

Well, unmounted the partition and tried to run fsck.vfat against this partition. To my astonishment the command wasn't found. After some research with the duck I installed the dosfstools package, then the check worked. I had to clear the dirty bit.

Comprehension question: is the installation of the dosfstools package mandatory to make the fsck during boot work?

Thanks, rolfie

Last edited by rolfie (2022-11-01 20:26:11)

Online

#2 2022-10-30 20:49:22

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] File system check on efi system partition

rolfie wrote:

is the instalölation of the dosfstools package mandatory to make the fsck during boot work?

Yes.

I prefer to use autofs with the ESP so that it remains un-mounted until needed but I'm not sure if that's possible without systemd.

$ findmnt /efi
TARGET SOURCE    FSTYPE OPTIONS
/efi   systemd-1 autofs rw,relatime,fd=48,pgrp=1,timeout=120,minproto=5,maxproto=5,direct,pipe_ino=24599
$

EDIT: with the autofs package, that's how; it has a sysvinit script.

Last edited by Head_on_a_Stick (2022-10-30 22:19:53)


Brianna Ghey — Rest In Power

Offline

#3 2022-11-01 20:26:35

rolfie
Member
Registered: 2017-11-25
Posts: 1,047  

Re: [SOLVED] File system check on efi system partition

Checked my installations: except for on my laptop the dosfstools is present.

Online

Board footer