[SOLVED]: BusyBox built-in shell (ash) Enter 'help' for a list of built-in commands (fsck doesn't work?)

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
Sivard
Level 1
Level 1
Posts: 13
Joined: Thu Oct 09, 2014 1:57 pm

[SOLVED]: BusyBox built-in shell (ash) Enter 'help' for a list of built-in commands (fsck doesn't work?)

Post by Sivard »

New 1TB SSD installed on January 1, 2019 with Linux Mint 19.1 w/full disk encryption. Used without incident until today.

I was listening to a YouTube video while browsing folders when I noticed an error message on the folder window about a thumbnail issue and a Fix button which prompts password. On my old PC this happened before and it would fix it right away, but this time the error kept coming back. I then noticed the YouTube video froze and that when right-clicking files, I could "copy" but not "cut" the file.

I shut down the PC and rebooted, put in encryption password and then after a series of lines about "ACPI Exception: Could not find/resolve named package element: LNK..." it displayed this:

Code: Select all

BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)
Most of the search results give some variant on FSCK to fix the problem, but response is always "fsck from util-linux 2.31.1" and a return to prompt.

I also booted from the installation USB stick that I used to install it. I went to mount the SSD and it asked for password, but said unable to mount, yet I was able to look at the files on it anyway, though some of the file/folder icons had an X or Padlock on them while others didn't.

Any idea what's going on here? Fortunately I did a full back up of my files on February 1, but I download and alter files everyday so I'm hoping my new $150 SDD isn't bricked.
Last edited by Sivard on Thu Feb 07, 2019 1:50 pm, edited 2 times in total.

User avatar
philotux
Level 5
Level 5
Posts: 832
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: BusyBox built-in shell (ash) Enter 'help' for a list of built-in commands (fsck doesn't work?)

Post by philotux »

At initramfs prompt, type exit followed by enter. Do you get any error messages? If you do, please post them here. It might help those who are able to help to know what is going on.

Sivard
Level 1
Level 1
Posts: 13
Joined: Thu Oct 09, 2014 1:57 pm

Re: BusyBox built-in shell (ash) Enter 'help' for a list of built-in commands (fsck doesn't work?)

Post by Sivard »

philotux wrote:
Thu Feb 07, 2019 12:23 pm
At initramfs prompt, type exit followed by enter. Do you get any error messages? If you do, please post them here. It might help those who are able to help to know what is going on.
Yes, upon exit command I get:

Code: Select all

/dev/mapper/mint--vg-root contains a file system with errors, check forced.
Inodes that were part of a corrupted orphan linked list found.

/dev/mapper/mint--vg-root: UNEXPECTED INCONSISTENCY; Run fsck MANUALLY.
	(i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/mapper/mint--vg-root requires a manual fsck
The fsck's that I tried were /dev/sda5 and /dev/sda5_crypt (which says doesn't exist)

User avatar
philotux
Level 5
Level 5
Posts: 832
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: BusyBox built-in shell (ash) Enter 'help' for a list of built-in commands (fsck doesn't work?)

Post by philotux »

Try:

Code: Select all

fsck -y  /dev/mapper/mint--vg-root
When it's done, type reboot followed by enter and see if you will boot into your Mint.

Sivard
Level 1
Level 1
Posts: 13
Joined: Thu Oct 09, 2014 1:57 pm

Re: BusyBox built-in shell (ash) Enter 'help' for a list of built-in commands (fsck doesn't work?)

Post by Sivard »

philotux wrote:
Thu Feb 07, 2019 12:46 pm
Try:

Code: Select all

fsck -y  /dev/mapper/mint--vg-root
When it's done, type reboot followed by enter and see if you will boot into your Mint.
lol I actually tried it about 10min ago and was submitting a "resolved" reply when you posted this, although I left out the '-y' which forced me to click y+enter many times. Looks like this is the solution, thank you.

Hopefully this isn't going to be a recurring problem as I've seen similar fsck issues on SSDs say as much.

User avatar
philotux
Level 5
Level 5
Posts: 832
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: SOLVED: BusyBox built-in shell (ash) Enter 'help' for a list of built-in commands (fsck doesn't work?)

Post by philotux »

Sivard wrote:
Thu Feb 07, 2019 12:50 pm
Hopefully this isn't going to be a recurring problem as I've seen similar fsck issues on SSDs say as much.
Whatever caused the freezing and/or the hard shutdown could have caused some corruption in the file system. Let's hope that the issue is resolved and won't come back.

Have a look at the following article for a how to shutdown/reboot Linux "gracefully":
https://www.howtogeek.com/119127/use-th ... -commands/

User avatar
BG405
Level 8
Level 8
Posts: 2303
Joined: Fri Mar 11, 2016 3:09 pm
Location: England

Re: [SOLVED]: BusyBox built-in shell (ash) Enter 'help' for a list of built-in commands (fsck doesn't work?)

Post by BG405 »

The safe way I use:
Hold CTRL & ALT, then press SysRq followed by, with a few seconds between each:
R E I S U B
to reboot, or
R E I S U O
to power off.
Dell Inspiron 1525 - LM17.3 CE 64-------------------Lenovo T440 8GB - Manjaro KDE with Mint VMs
Toshiba NB250 - Manjaro KDE------------------------K7S5A AMD 1.2GHz - LM17.3 Xfce 32 & WinXP-Pro
Acer Aspire E11 ES1-111M - LM18.2 KDE 64 ----Two ROMS don't make a WRITE ...

Post Reply

Return to “Installation & Boot”