fsck exited with status code 4 initramfs ubuntu 23.04

Published: 17 March 2023
on channel: linux-syr
8,138
77

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:
   • initramfs error ubuntu 20.04 | no sda...  
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


Watch video fsck exited with status code 4 initramfs ubuntu 23.04 online without registration, duration hours minute second in high quality. This video was added by user linux-syr 17 March 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,138 once and liked it 77 people.