fsck exited with status code 4 initramfs ubuntu

fsck exited with status code 4 initramfs ubuntu 23 04. initramfs error occurs when your memory is corrupted, especially the drive where the operating system is located, and will not let it boot. To fix it, simply use the utility file system consistency check or “fsck“. e.g.: fsck /dev/sdaX However, this will not work if your file system is extremely corrupted. if you do not get sda, it means that you need to perform a backup task or reinstall Linux: all suggested solutions before starting the reinstallation of ubuntu: Fix 1: did you change between uefi and legacy? If yes go adjuse the seetings Fix 2: use this commands in initramfs: -exit (to get error details, partition name or watch the video to learn how to get partition name) -df -h -blkid -fsck [partitian name (/dev/sdXX)] For instance. if your partition is by the name of “/dev/sdb,” then the command would be: -fsck /dev/sdb -fsck /dev/sdb -y -reboot Fix 3: use this commands: -exit (to get infos like: dev/mapper/ubuntu--vg-root) -fsck /dev/mapper/ubuntu--vg-root -y -reboot
Back to Top