MDM could not write to your authorization file

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
varum
Level 1
Level 1
Posts: 15
Joined: Mon Nov 06, 2017 4:10 pm

MDM could not write to your authorization file

Post by varum » Sun Aug 18, 2019 6:50 pm

Hello,

Unexpectedly the following warning appeared when I tried to log in: MDM could not write to your authorization file

Attached could be found photo of the terminal.

Any ideas what can I do?

Thank you in advance!
Attachments
IMG_20190819_014932_905.jpg

User avatar
WharfRat
Level 21
Level 21
Posts: 13071
Joined: Thu Apr 07, 2011 8:15 pm

Re: MDM could not write to your authorization file

Post by WharfRat » Sun Aug 18, 2019 8:29 pm

Your filesystem went read only so there could be some sort of problem.

Boot the live media and try to mount it to /mnt from there and check the mount command to see if it's mounted rw.
ImageImage

varum
Level 1
Level 1
Posts: 15
Joined: Mon Nov 06, 2017 4:10 pm

Re: MDM could not write to your authorization file

Post by varum » Mon Aug 19, 2019 2:39 am

Sorry for my lame comment, but how can I do this?

User avatar
WharfRat
Level 21
Level 21
Posts: 13071
Joined: Thu Apr 07, 2011 8:15 pm

Re: MDM could not write to your authorization file

Post by WharfRat » Mon Aug 19, 2019 8:29 am

varum wrote:
Mon Aug 19, 2019 2:39 am
Sorry for my lame comment, but how can I do this?
Boot the installation media and paste back sudo blkid to identify the Linux partition.
ImageImage

varum
Level 1
Level 1
Posts: 15
Joined: Mon Nov 06, 2017 4:10 pm

Re: MDM could not write to your authorization file

Post by varum » Mon Aug 19, 2019 3:57 pm

What does it mean to boot the installation media? Could I do this from recovery mood settings?
Attachments
IMG_20190819_225650_199.jpg
IMG_20190819_225654_113.jpg

User avatar
WharfRat
Level 21
Level 21
Posts: 13071
Joined: Thu Apr 07, 2011 8:15 pm

Re: MDM could not write to your authorization file

Post by WharfRat » Mon Aug 19, 2019 5:03 pm

The installation media is the usb/dvd that you used to install Mint.

If you don't have the original installation version you can use the latest Mint version.

It would be easier working from there in case more information is required.

If you want to try fsck from the recovery menu that's fine.
ImageImage

varum
Level 1
Level 1
Posts: 15
Joined: Mon Nov 06, 2017 4:10 pm

Re: MDM could not write to your authorization file

Post by varum » Mon Aug 19, 2019 5:54 pm

This is the error that occured after trying fsck from recovery menu:
Attachments
IMG_20190820_005419_863.jpg

User avatar
WharfRat
Level 21
Level 21
Posts: 13071
Joined: Thu Apr 07, 2011 8:15 pm

Re: MDM could not write to your authorization file

Post by WharfRat » Mon Aug 19, 2019 7:15 pm

You will not be able to run fsck from the root recovery option because /dev/sda5 cannot be unmounted.

Again, boot the installation/live session and run sudo e2fsck -fvy dev/sda5 in the terminal.

When done sudo reboot and try booting normally.
ImageImage

varum
Level 1
Level 1
Posts: 15
Joined: Mon Nov 06, 2017 4:10 pm

Re: MDM could not write to your authorization file

Post by varum » Fri Sep 13, 2019 6:15 pm

I've just tries, but the following message appeared:




WharfRat wrote:
Mon Aug 19, 2019 7:15 pm
You will not be able to run fsck from the root recovery option because /dev/sda5 cannot be unmounted.

Again, boot the installation/live session and run sudo e2fsck -fvy dev/sda5 in the terminal.

When done sudo reboot and try booting normally.
Attachments
IMG_20190914_011435_301.jpg

User avatar
WharfRat
Level 21
Level 21
Posts: 13071
Joined: Thu Apr 07, 2011 8:15 pm

Re: MDM could not write to your authorization file

Post by WharfRat » Fri Sep 13, 2019 6:38 pm

Sorry, my mistake - I left-out the leading forward slash for the device :oops:

So it's sudo e2fsck -fvy /dev/sda5
ImageImage

varum
Level 1
Level 1
Posts: 15
Joined: Mon Nov 06, 2017 4:10 pm

Re: MDM could not write to your authorization file

Post by varum » Fri Sep 13, 2019 7:27 pm

I tried to enter in computability mode, but these time the following error appears:

SQUASHFS error: squaahfs_read_data failed to read block 0xfa2a2e1
SQUASHFS error: Unable to read fragment cache entry
[fa2a2e1]
SQUASHFS error: Unable to read page, block fa2a2e1, size cbfb. :(
WharfRat wrote:
Fri Sep 13, 2019 6:38 pm
Sorry, my mistake - I left-out the leading forward slash for the device :oops:

So it's sudo e2fsck -fvy /dev/sda5

varum
Level 1
Level 1
Posts: 15
Joined: Mon Nov 06, 2017 4:10 pm

Re: MDM could not write to your authorization file

Post by varum » Fri Sep 13, 2019 7:46 pm

After a few attempts I successfully launched. Entered the command in terminal and rebooted.

Now I have my PC back! Thank you so much! You're amazing!

User avatar
WharfRat
Level 21
Level 21
Posts: 13071
Joined: Thu Apr 07, 2011 8:15 pm

Re: MDM could not write to your authorization file

Post by WharfRat » Fri Sep 13, 2019 9:19 pm

Glad to see you finally got things straightened-out.

Just to be safe you should backup anything you couldn't live without to an external device.
ImageImage

Post Reply

Return to “Installation & Boot”