Failed to mount /boot

Issues related to applications and software problems and general support
Post Reply
spyO_O
Posts: 2
Joined: 2021/04/14 15:54:36

Failed to mount /boot

Post by spyO_O » 2021/04/14 16:36:04

Hello;
I've centos 8 into a Virtual Box machine, today when start the vm it enter on emergency mode screeen.

Code: Select all

You are in emergency mode. After logging in, type "journalctl -xb" to view system logs..... bla bla...
Log show the next message:
--Unit boot.mount has begun starting up
mount: /boot: unknow filesystem type 'ext4'
boot.mount: Mount process exited, code=exited status=32
boot.mount: Failed with result 'exit code'
Failed to mount /boot

There are two image on starting screen .. if start with the first one, it fail.. if start with the second one it work fine

Code: Select all

CentosOS linux (4.18.0-193.19.1.ek8_2.x86_64) 8 (Core) <-- FAIL
CentosOS linux (4.18.0-193.14.2.ek8_2.x86_64) 8 (Core) <--WORK

Can you help me to resolve the problem please..

regards

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Failed to mount /boot

Post by TrevorH » 2021/04/14 16:44:20

Neither of those are CentOS kernels unless you have a typo in their names.

The solution will be to boot the working one and then yum reinstall kernel\*-4.18.0-193.19.1.ek8_2.x86_64 (though you need to fix the typo if it is one). Also, both of them are very old and indicate that you have not been keeping up to date with security patches. The correct solution to the problem really is to yum remove that broken one and then run a full yum update to get up to date. That will include a new kernel in the 4.18.0-240* series from 8.3 which you should have been running for about the last 6 months or so.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

spyO_O
Posts: 2
Joined: 2021/04/14 15:54:36

Re: Failed to mount /boot

Post by spyO_O » 2021/04/14 18:42:29

thank you trevors , I will to delete the wrong kernel and upgrade over the functional kernlel, Before I will take a snaptshot of my VM

regards.

Post Reply