Ubuntu Server Boot Drops to a Initramfs prompts BusyBox

Boot drops to BusyBox shell
Boot drops to BusyBox shell

Sometimes when you start your Ubuntu Server, it will not boot into a normal shell rather into BusyBox shell. The BusyBox shell would look something like this:

BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash)
Enter 'help' for a list of built-in commands.


Here is the method that I used to get out of the BusyBox shell.

On the BusyBox shell, run the following commands.

(initramfs) exit

(initramfs) fsck /dev/mapper/ubuntu--vg-root -y
  1. Try exiting using the exit command.
  2. With this command, you will not be out of the BusyBox shell but the shell would prompt you the exact partition that is corrupted.  Then run the second command.

After running the above two commands, restart or reboot the server with the following command:

(initramfs) reboot

When the reboot is successful, you will be back to the normal shell!


About Sonam Dargay 82 Articles
Kuzu Zangpo la! I am Sonam Dargay, a student in the College of Science and Technology affiliated to The Royal University of Bhutan. I am a tech enthusiast student, studying Bachelor of Engineering in Information Technology.

Be the first to comment

Leave a Reply

Your email address will not be published.