Skip to main content

Command Palette

Search for a command to run...

How to fix Boot drops (initramfs) prompts/busybox on Ubuntu

Published
1 min read
How to fix Boot drops (initramfs) prompts/busybox on Ubuntu
J

An innovative and self motivated web developer with 2+ years hands on experience with considerable technical skills in HTML, CSS, JavaScript, Bootstrap, PHP, Laravel, WordPress and responsive design. A Community Manager and Project Manager, Co-Organizer GDG Eket.

Have you ever experienced a situation in which you shut down your Ubuntu OS and when trying to reboot the PC, the boot process drops to the (initramfs) prompts/busybox shell and you are stuck up on the prompt: This error is due to corrupted files/ or partition.

To fix this issue, the solution is just to scan and fix the corrupted files. By simply running the fsck Command.

To fix this run any of the following commands below and give Y if the console asks for fixing something.

(initramfs) fsck /dev/sda1

or

(initramfs) fsck /dev/sdaX

The "X" specifies the mounted disk part number.

If you don't want to continue pressing 'y' every time the console asks for a fix, you can also run the command with the -y option instead.

(initramfs) fsck /dev/sda1 -y

or

(initramfs) fsck /dev/sdaX -y

After the checking is done, rebooted the system by using the command below:

(initramfs) reboot

That should fix the corrupted files and that's it, This will boot into the filesystem without any errors.

If this article was helpful please share.

More from this blog

J

Jackieriel's SolutionHub

21 posts