Cannot update: mkdirat: read-only file system

I am on an Asus vivo book, I am trying to update through the app - center but it does not allow me, answer is

mkdirat: read-only file system

Can you please provide us with a Diagnostic (if you are able to create one, read-only filesystem sounds like you are facing a hardware fault).

Open a Terminal and run:

eos-diagnostics

I can but it’s very long and I do not see how I can add an attachment here…

=====================
= EndlessOS version =
=====================
NAME=“Endless”
VERSION=“3.8.7”
ID=“endless”
ID_LIKE=“ubuntu debian”
PRETTY_NAME=“Endless 3.8.7”
VERSION_ID=“3.8.7”
HOME_URL=“http://www.endlessm.com/
BUILD_ID=“201005-133640”

==========
= Kernel =
==========
Linux bastardo 5.4.0-42-generic #46+dev165.393045dbeos3.8.2 SMP Fri Aug 21 00:56:20 UTC 2020 x86_64 GNU/Linux

cmdline: BOOT_IMAGE=(hd0,gpt3)/boot/ostree/eos-6d8010b0bf19cfcbf53b7e69ed0a6739899190b17862f0cb0e3c44f12364a877/vmlinuz-5.4.0-42-generic root=UUID=2a2c4c1a-f63b-42cb-869e-97bbd1ddd436 rw splash plymouth.ignore-serial-consoles quiet loglevel=0 ostree=/ostree/boot.1/eos/6d8010b0bf19cfcbf53b7e69ed0a6739899190b17862f0cb0e3c44f12364a877/0

Module                  Size  Used by
rfcomm                 81920  2
ccm                    20480  6
snd_sof_pci            20480  0
snd_sof_intel_hda_common    69632  1 snd_sof_pci
snd_soc_hdac_hda       24576  1 snd_sof_intel_hda_common
snd_sof_intel_hda      20480  1 snd_sof_intel_hda_common
snd_sof_intel_byt      20480  1 snd_sof_pci
snd_sof_intel_ipc      20480  1 snd_sof_intel_byt
snd_sof               106496  4 snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
snd_sof_xtensa_dsp     16384  1 snd_sof_pci
snd_hda_ext_core       28672  3 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match    32768  2 snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi           16384  2 snd_sof_pci,snd_soc_acpi_intel_match
snd_soc_core          245760  3 snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda
snd_compress           24576  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
snd_hda_codec_hdmi     61440  1
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_codec_realtek   126976  1
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
ledtrig_audio          16384  3 snd_hda_codec_generic,snd_hda_codec_realtek,snd_sof
snd_hda_intel          53248  5
snd_intel_dspcfg       24576  3 snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common
snd_hda_codec         131072  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
snd_hda_core           90112  9 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_sof_intel_hda
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               102400  9 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_sof,snd_sof_intel_hda_common,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
asus_nb_wmi            28672  0

ok, I tried to open a document and I was denied “insufficient permissions” so I did something to deny myself access to something…

how to overdo this command and retrieve all my permissions on my laptop?

Please attach the generated diagnostic here in this thread. You can upload a file with the button:

image

eos-diagnostic-201110_161142_UTC 0200.txt (828.8 KB)

here you have…any ideas?

Your filesystem seems to have some issues. Run the following command in a Terminal:

e2fsck -y -c /dev/sda3

Reboot when finished and try again to update.

thank you but not working here is the result

e2fsck -y -c /dev/sda3
e2fsck 1.44.5 (15-Dec-2018)
/dev/sda3 is mounted.

WARNING!!! The filesystem is mounted. If you continue you WILL
cause SEVERE filesystem damage.

Do you really want to continue? yes
e2fsck: Permission denied while trying to open /dev/sda3
You must have r/w access to the filesystem or be root

and then as root
e2fsck 1.44.5 (15-Dec-2018)
/dev/sda3 is mounted.
e2fsck: Cannot continue, aborting.

I seem to have disabled my rights on the system here…it’s not just the update but I cannot open libre office or any programme that got closed previously…

Sorry, i forgot to mention one thing: Boot with a Endless OS Live USB before running this command. The e2fsck only works when the filesystem is unmounted. So the complete steps are:

  1. Boot with a Live USB
  2. Open Terminal
  3. Type:
sudo umount /dev/sda3
sudo e2fsck -c -y /dev/sda3

Every Live USB you have around will work, doesn’t need to be a EOS one.

thank you, I seem to have recovered all the permissions. I use an external usb and it only found some minor errors in the end (I did not manage to save the report) so all good
thanks a lot!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.