Fixed the GRUB error of "providing pocket BASH... like line editing" in Linux.
These two days I installed Elementary OS and Windows, and encountered a Grub error at startup. The command line displays the following information:
Minimal BASH like line editing is supported. For the first word, TAB lists possible command completions. anywhere else TAB lists possible device or file completions.
Provides a pocket BASH similar to line editing. The TAB key completes the first word and lists the commands that can be used. In addition, the TAB key can be used to list available devices or files.
In fact, this is not an error unique to Elementary OS. This is a common Grub error that occurs on Ubuntu, Fedora, Linux Mint, and other Linux operating systems.
In this article, we will learn how to fix the "minimal BASH like line editing is supported" Grub error in Ubuntu Based on Linux.
You can refer to this tutorial to solve similar common problems. Error: Linux grub rescue mode is not found in the partition.
Prerequisites
To fix this problem, you must fulfill the following conditions:
- A LiveUSB or disk with the same version and OS
- The Internet connection of the current session works normally.
After confirming that you have the prerequisites, let's take a look at how to fix the Linux death black screen (if I can call it like this ;)).
How to fix the "minimal BASH like line editing is supported" Grub error in Ubuntu-based Linux?
I know you must doubt that this Grub error is not limited to the Ubuntu-based Linux release. Why should I emphasize it on the Ubuntu-based release? The reason is that here we will adopt a simple method and use a tool called Boot Repair to solve our problem. I'm not sure if this tool is available in other releases such as Fedora. Let's take a look at how to fix the "minimal BASH like line editing is supported" Grub error.
Step 1: boot to lives session
Insert live USB to boot into the live session.
Step 2: Install Boot Repair
After you enter the lives session, open the terminal and run the following command to install Boot Repair:
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install boot-repair
Note: We recommend this tutorial on how to fix the bug that apt-get update cannot add a new CD-ROM if you are running the above command is experiencing the same problem.
Step 3: Use Boot Repair to Repair Boot
After installing Boot Repair, run the following command on the command line to start it:
boot-repair &
In fact, the operation is very simple and straightforward. You only need to follow the instructions provided by the Boot Repair tool. First, click the Recommended Repair Option in Boot repair.
Boot Repair takes some time to analyze the problems in Boot and Grub. Then, it provides some commands that can be directly run in the command line. Execute these commands one by one on the terminal. What I show on the screen is:
After these commands are entered, they will be executed for a period of time:
After this process ends, it will provide a web site consisting of boot repair logs. If the problem persists, you can go to the community or send an email to the development team and submit the website for reference. Cool! Isn't it?
After boot repair is completed, shut down your computer, remove the USB and boot again. I will be able to guide the operation, but there will be two more lines on the Grub screen. It is not important to me to see the joy that the system can guide again.
Is it valid for you?
This is how I fixed the minimal BASH like line editing is supported Grub error in Elementary OS Freya. How is it? Is it effective for you? Please submit your questions and suggestions in the comment area below freely.
Via: http://itsfoss.com/fix-minimal-bash-line-editing-supported-grub-error-linux/
Author: Abhishek Translator: martin2011qi Proofreader: wxy
This article was originally translated by LCTT and launched with the Linux honor in China
This article permanently updates the link address: