You are not logged in.

#1 2014-07-30 14:16:19

Devenda
Member
Registered: 2014-07-21
Posts: 20

[SOLVED] Failed to mount /boot/efi emergency mode

My arch install worked perfectly until now.

Now I get this error when starting up:

Failed to mount /boot/efi

I probably got here by updating my system (pacman -Syu).

I tried following this solution in post #6 but couldn't get it to work.
Probably because those cp commands didn't work and I manually mounted my /boot from my arch install  to some random folder (/var/empty) and copied the files there.

You have to know I'm rather new to arch/linux and the mounting didn't really make much sense...

Last edited by Devenda (2014-07-31 16:34:39)

Offline

#2 2014-07-30 16:17:01

loqs
Member
Registered: 2014-03-06
Posts: 18,732

Re: [SOLVED] Failed to mount /boot/efi emergency mode

What is the output of

mount /boot/efi

also

systemctl --failed

If the failed unit is boot-efi.mount then also the output of

systemctl -l status boot-efi.mount

Offline

#3 2014-07-30 21:18:39

Devenda
Member
Registered: 2014-07-21
Posts: 20

Re: [SOLVED] Failed to mount /boot/efi emergency mode

loqs wrote:

What is the output of

mount /boot/efi

also

systemctl --failed

If the failed unit is boot-efi.mount then also the output of

systemctl -l status boot-efi.mount

This is what I got:

1.

 mount: unknown filesystem type 'vfat'

2.

boot-efi.mount loaded failed failed /boot/efi

3.

boot-efi.mount mount process exited, code=exited status=32
Failed to mount /boot/efi.
Unit boot-efi.mount entered failed state.

I also dual boot with windows 8, I hope to not lose the windows boot entry.

Offline

#4 2014-07-30 22:36:10

loqs
Member
Registered: 2014-03-06
Posts: 18,732

Re: [SOLVED] Failed to mount /boot/efi emergency mode

To check if the vfat module can be manually loaded

modprobe vfat

Did the pacman -Syu complete sucessfully?
This should not impact the Windows 8 entry.

Offline

#5 2014-07-31 06:34:30

Devenda
Member
Registered: 2014-07-21
Posts: 20

Re: [SOLVED] Failed to mount /boot/efi emergency mode

loqs wrote:

To check if the vfat module can be manually loaded

modprobe vfat

Did the pacman -Syu complete sucessfully?
This should not impact the Windows 8 entry.

modprobe vfat gives no errors

btw:

pacman -Q linux gives

 linux 3.15.7-1

but uname -a gives:

Linux ArchTinus 3.15.5-2-ARCH (...)

I hope this helps.

Offline

#6 2014-07-31 06:52:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Failed to mount /boot/efi emergency mode

Your /boot wasn't mounted when you updated the kernel. Make sure it is and then -Syu before rebuilding your initrd.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-07-31 09:17:56

Devenda
Member
Registered: 2014-07-21
Posts: 20

Re: [SOLVED] Failed to mount /boot/efi emergency mode

jasonwryan wrote:

Your /boot wasn't mounted when you updated the kernel. Make sure it is and then -Syu before rebuilding your initrd.

Sorry but how do I do this?

Where do I mount /boot to?

I tried this but I can't get a network connection up (not in emergency mode and not while chrooted with life USB)

I'm rather new to this so maybe some kind of step by step explanation would help.

Thanks for your help!

Offline

#8 2014-07-31 09:19:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Failed to mount /boot/efi emergency mode


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-07-31 10:35:52

Devenda
Member
Registered: 2014-07-21
Posts: 20

Re: [SOLVED] Failed to mount /boot/efi emergency mode

Many thanks!

It worked although I also downgraded the kernel packages, because mkinitcpio -p linux gave an error. (didn't find the right file/directory)

How do I make sure that when I pacman -Syu the next time I don't get these problems again?

I'm on a UEFI system and read something about manually copying /boot files?

Last edited by Devenda (2014-07-31 10:36:57)

Offline

#10 2014-07-31 10:39:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Failed to mount /boot/efi emergency mode

If your ESP is mounted at /boot, you don't need to do anything. See the wiki page on UEFI for details.

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2014-07-31 12:37:52

loqs
Member
Registered: 2014-03-06
Posts: 18,732

Re: [SOLVED] Failed to mount /boot/efi emergency mode

If the ESP is at /boot/efi and /boot is a separate partition as well then make sure both have have fstab entries and are mounted before the next upgrade
Edit:
This assumes the bootloader is using the kernel under /boot

Last edited by loqs (2014-07-31 13:27:30)

Offline

Board footer

Powered by FluxBB