Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to fix Linux Mint initramfs Prompt at Boot:

...

Overview

There are instances where the Qstick does not boot up properly and instead of going straight to the login screen, drops through to a an initramfs command line prompt, like the image below.

...

Linux Mint initramfs PromptThe solution below works when Linux Mint 18.3 drops through to the (initramfs) prompt after updating the Linux kernel. There may be other instances where it does not work. Three commands must be run at the command prompt.

1. Run the exit Command

First enter exit at the initramfs prompt.

...

After typing exit and pressing the Enter key, the following appears at the prompt. The information displayed will be different for different computers.

...

BusyBox initramfs Prompt after exit CommandTake note of the path of the file system from the above image and in the sentence shown below. Your root file system name :

The root filesystem on /dev/mapper/mint--vg-root requires a manual fsck

In the example image, the file system name is /dev/mapper/mint--vg-root. Your file system path will probably be different, so use the information displayed on your system , which is used in the next command.

...

2. Run the fsck Command

Use the fsck command with the file system path determined above. This is in the following format.

Code Block
fsck <your file system path> -y (On a qstick this is the typical command (fsck /dev/mmcblk0p2<FILE_SYSTEM_PATH> -y))

For the above example scenario, this is entered at the initramfs prompt as shown below. Be sure to use your file system path as determined above instead and end with the -y switch.

...

When the fsck command runs after entering it as above, it fixes the system. Text scrolls on the screen while it is busy.

3. Run the reboot Command

Finally enter the reboot command at the (initramfs) command prompt.

...