Sometimes when you start your Ubuntu Server, it will not boot into a normal shell rather into a 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. (initramfs)
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
- Try exiting using the exit command.
- 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:
When the reboot is successful, you will be back to the normal shell!
Kuzu Zangpo la! I am Sonam Dargay. I am a full-time software developer. Apart from 9-5 office works, I am a tech enthusiast, blogger, and dreamer.
I graduated from the College of Science and Technology(CST), affiliated with the Royal University of Bhutan.