centos-fsck.ext4: No such file or directory while trying to open

Published on Author Code Father

centos-fsck.ext4: No such file or directory while trying to open: Error

Solution:

  1. Boot from CentOS iso in rescue mode
  2. Configure networking
  3. Mount filesystems (on LVM) (from menu, automatic)
  4. chroot to mounted root
  5. Do a yum update – just because
  6. Install missing lvm2 and dependancies
  7. Run vgscan and vgchange -ay – just because
  8. Rebuild initramfs. System froze with no errors before switching to root fs without this step.
  9. Reboot and all is good

The VM runs fine now. No idea how this happened.

Comments

comments