4

My sda1 is mounted to /boot after booting, and I can manually mount it just fine. But something is automatically unmounting that partition, even after I've manually mounted it.

These are the current permissions when it's unmounted:

drwxr-xr-x   2 root root    0 Sep 24 14:15 boot/

and when it's mounted:

drwxr-x---   4 root root 2.0K Jan  1  1970 boot/

Is there supposed to be a discrepancy between these two?

This is what's in /etc/fstab

UUID=32AC-72EA          /boot       vfat        nodev,nosuid,noexec,rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro    0 2

The UUID is correct, I've checked it.

journalctl:

Sep 24 18:45:31 StoraArch systemd[1]: Unmounting /boot...
Sep 24 18:45:31 StoraArch systemd[1]: Unmounted /boot.
5
  • Look in syslog? I've once had a similar issue with removable drives, and it turned out to be a udev/systemd issue. Commented Sep 24, 2015 at 16:39
  • What init system are you using? Commented Sep 24, 2015 at 16:46
  • 1
    Seems to be systemd... Sep 24 18:45:31 StoraArch systemd[1]: Unmounting /boot... Sep 24 18:45:31 StoraArch systemd[1]: Unmounted /boot. Commented Sep 24, 2015 at 16:46
  • @Nordic: That is why I asked... It sounds like systemd... Commented Sep 24, 2015 at 16:47
  • Yeah nice find, I hadn't even thought of journalctl Commented Sep 24, 2015 at 16:50

1 Answer 1

4

This is the expected behaviour, introduced in systemd 220.

systemd-efi-boot-generator automounts your ESP on demand and then automatically unmounts it after 2 minutes of it not being used.

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.