You are not logged in.

#1 2020-07-24 18:25:11

fistrosan
Member
Registered: 2020-04-01
Posts: 171

[SOLVED] cannot mount vfat ?!

Hi all, this seems like a very stupid question, but I am really stuck. It seems my system cannot mount a simple vfat partition:

1)This is how I found out the problem. Output of "sudo fwupdmgr update"

http://ix.io/2sfz

2) I was like, wth, let me see if I can mount /dev/nvme0n1p1 on my own. Output of: "sudo mount -t vfat /dev/nvme0n1p1 /boot/EFI"

http://ix.io/2sfA

3) Funny thing is that the EFI partition is not mounted during boot, and yet the system boots without problems ... here is the output of my "etc/ftstab"

http://ix.io/2sfB

4) and the output of "lsblk -o NAME,MOUNTPOINT,FSTYPE,UUID"

http://ix.io/2sfC

Any ideas as to what is going on ? My goal is to actually perform the firmware and BIOS update using fwupdmgr

Thanks !


Solution: reboot because I had updated my kernel using pacman.

Last edited by fistrosan (2020-07-24 19:24:50)

Offline

#2 2020-07-24 18:38:22

loqs
Member
Registered: 2014-03-06
Posts: 19,048

Re: [SOLVED] cannot mount vfat ?!

If the output of the following show different versions

uname -a
pacman -Q linux

downgrade the kernel package to match the running kernel version.
Mount the ESP,  update the kernel package,  add an entry for the ESP to the fstab.
If the kernel package is not in the package cache you will need to use installation media.

Offline

#3 2020-07-24 18:43:59

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] cannot mount vfat ?!

When you mount, for this case you don’t need to add -t vfat to mount, because it’s autodetected.

In the fstab file there’s no entry for your ESP.

Run ‘fsck.vfat’ on your ESP just to make sure.

And don’t use pastebin for things this small.
Instead use code tags, follow the BBCode link just below the message box...

(slow)

Last edited by GaKu999 (2020-07-24 18:46:45)


My reposSome snippets

Heisenberg might have been here.

Offline

#4 2020-07-24 18:51:03

fistrosan
Member
Registered: 2020-04-01
Posts: 171

Re: [SOLVED] cannot mount vfat ?!

Output was the same: 5.7.10-arch1-1

However, I noticed that I should have rebooted the system after kernel upgrade. After rebooting I can mount without problems.

However, after reboot polybar is broken:

polybar: error while loading shared libraries: libjsoncpp.so.22: cannot open shared object file: No such file or directory

Anyhow I have created a symlink from libjsoncpp.so.22 to libjsoncpp.so.24 and now polybar is working again. This is a dirty trick though and it will likely lead me to problems down the road.

loqs wrote:

If the output of the following show different versions

uname -a
pacman -Q linux

downgrade the kernel package to match the running kernel version.
Mount the ESP,  update the kernel package,  add an entry for the ESP to the fstab.
If the kernel package is not in the package cache you will need to use installation media.

Offline

#5 2020-07-24 18:56:59

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] cannot mount vfat ?!

fistrosan wrote:

However, after reboot polybar is broken:

polybar: error while loading shared libraries: libjsoncpp.so.22: cannot open shared object file: No such file or directory

Anyhow I have created a symlink from libjsoncpp.so.22 to libjsoncpp.so.24 and now polybar is working again. This is a dirty trick though and it will likely lead me to problems down the road.

Yes, it will.

Remove the symlink you created then just rebuild and reinstall polybar. AUR packages are always your responsibility to update, not pacmans.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2020-07-24 18:58:17

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: [SOLVED] cannot mount vfat ?!

Polybar is an aur package, rebuild it if you don’t use one of those ‘wrappers’ and reinstall it, be sure to remove that dirty link...

(so slow)

Last edited by GaKu999 (2020-07-24 18:59:01)


My reposSome snippets

Heisenberg might have been here.

Offline

#7 2020-07-24 19:23:58

fistrosan
Member
Registered: 2020-04-01
Posts: 171

Re: [SOLVED] cannot mount vfat ?!

hehehe yes too slow, I appreciate the help though. Trying to reinstall polybar now ... having some issues building the package. Anyhow thanks to both. I will mark this as solved.

GaKu999 wrote:

Polybar is an aur package, rebuild it if you don’t use one of those ‘wrappers’ and reinstall it, be sure to remove that dirty link...

(so slow)

Offline

Board footer

Powered by FluxBB