DEV Community

Cover image for Fixing Ubuntu/Linux Mint INITRAMFS Error Without a Live CD
Barış AKSU
Barış AKSU

Posted on

Fixing Ubuntu/Linux Mint INITRAMFS Error Without a Live CD

How to Fix Initramfs Error?

Hello everyone,

The initramfs error is a situation that all of us have encountered at some point and can be quite frustrating :).

If you look at forums to solve this error, you might have seen that many people suggest solving this issue with a live CD. However, I will now explain how you can resolve it directly from the error screen without using a live CD.

First of all, let's follow these steps while on the initramfs screen:

  1. In the first step, type the exit command and wait for the error screen to show you which disk the error is on. For example, in my case, it showed as /dev/sdb3. In your case, it might be /dev/sda1.

  2. After identifying the disk with the error, you can start the repair process using the fsck command. For example:

   fsck /dev/sdb3 -y
Enter fullscreen mode Exit fullscreen mode
  1. When the process is complete, you can use the reboot command to restart the system or the exit command to exit from the initramfs screen.

By following these steps, you can resolve the initramfs error. I hope this guide is helpful to you. Good luck!

Top comments (0)