LC
Back to Tutorials
devopsbeginnerJune 17, 2026

How to Fix BusyBox (initramfs) Error on Ubuntu Linux

Learn how to repair the BusyBox (initramfs) boot error on Ubuntu using fsck and restore your Linux system in a few minutes.

ubuntulinuxbusyboxinitramfsfsck

How to Fix BusyBox / initramfs Error on Ubuntu Linux (Easy Guide)

Did you turn on your Ubuntu computer only to be greeted by a scary black screen displaying a BusyBox message ending with an (initramfs) prompt?

Don't panic. This is a very common Linux issue and, in most cases, it can be fixed in just a few minutes.

In this guide, we'll explain why it happens and show you exactly how to repair your Ubuntu installation.

Why Does the BusyBox (initramfs) Error Happen?

This problem occurs when the Ubuntu file system becomes corrupted. Linux intentionally stops the boot process to protect your data and prevent additional damage.

The most common causes are:

  • A sudden power outage
  • A laptop battery completely draining
  • Forcing the computer to shut down by holding the power button

1. Find Your Hard Drive Partition Name

At the (initramfs) prompt, type:

bash
      exit

    

Press Enter.

The system will display additional diagnostic information.

Look for a message similar to:

text
      The root filesystem on /dev/sda3 requires a manual fsck

    

Take note of the partition name.

Examples:

  • /dev/sda1
  • /dev/sda3
  • /dev/sdb2
  • /dev/nvme0n1p2

Your system may display a different value.

2. Run the Repair Tool (fsck)

Execute the following command, replacing /dev/sda3 with the partition you identified in the previous step:

bash
      fsck /dev/sda3 -y

    

What Does -y Do?

The -y option automatically answers Yes to all repair prompts.

This avoids having to manually confirm hundreds of repair operations.

Allow the process to complete. Depending on your disk size and condition, this may take anywhere from a few seconds to several minutes.

3. Restart Your Computer

The repair is complete when you see a message such as:

text
      FILE SYSTEM WAS MODIFIED

    

or

text
      clean

    

Once the (initramfs) prompt returns, restart your computer:

bash
      reboot

    

If reboot Does Not Work

Sometimes the reboot command is unavailable in recovery mode.

Try:

bash
      exit

    

If nothing happens and the computer remains frozen, press and hold the physical power button for approximately 5 seconds to turn the machine off, then power it back on.

Ubuntu should now boot normally.

How to Prevent This Error in the Future

To avoid encountering this issue again:

  • Always shut down Ubuntu properly from the system menu.
  • Avoid letting your laptop battery fully drain.
  • Do not force shutdowns unless absolutely necessary.
  • Consider using a UPS (Uninterruptible Power Supply) on desktop computers.

Conclusion

The BusyBox (initramfs) error is usually not a serious problem. In most situations, a simple fsck repair is enough to restore the file system and get Ubuntu running normally again.

As long as the issue was caused by an improper shutdown or a power interruption, the entire fix usually takes less than five minutes.