- Как исправить минимальный BASH, как редактирование строки поддерживается Ошибка GRUB в Linux?
- Шаги для устранения минимальной ошибки BASH..GRUB
- выбрасывает в minimal bash like console
- Grub отображает консоль вместо меню
- How to Fix Minimal BASH Like Line Editing is Supported GRUB Error In Linux?
- Steps to Solve Minimal BASH..GRUB Error
- Fix Minimal BASH like line editing is supported GRUB Error In Linux
- Prerequisites
- Fixing “minimal BASH like line editing is supported” Grub error
- Alternate method to fix this “minimal BASH like line editing is supported” Grub error in Ubuntu based Linux
- Step 1: Boot in lives session
- Step 2: Install Boot Repair
- Step 3: Repair boot with Boot Repair
- Did it work for you?
Как исправить минимальный BASH, как редактирование строки поддерживается Ошибка GRUB в Linux?
GNU GRUB (стенды для GNU GRand Unified Bootloader) — это пакет загрузчика. Это часть проекта GNU. Это эталонная реализация спецификации мультизагрузки Free Software Foundation, которая предоставляет пользователю возможность загрузить одну из нескольких операционных систем, установленных на компьютере. Он также предоставляет возможность выбора конкретной конфигурации ядра, доступной в конкретном разделе ОС. Поддерживается минимальное редактирование строки в стиле BASH. Ошибка GRUB В Linux выглядит так, как показано ниже:
Шаги для устранения минимальной ошибки BASH..GRUB
Шаг 1: Найдите раздел, в котором хранится ваш раздел Linux. Мы можем использовать команду ls для проверки доступных разделов и их файловой системы. Операционные системы Linux обычно используют файловые системы ext2 / ext3 / ext4 .
Это покажет нам все существующие разделы.
Примечание. Если вы не знаете, в каком разделе установлена ОС Linux, выполните команду ls следующим образом:
Здесь X — номер диска, а Y — имя раздела. Например: grub> ls (hd0, gpt3) или grub> ls (hd1, msdos5)
Шаг 2: Зная раздел, установите корневые и префиксные переменные:
- root: переменная, указывающая, где установлена вся ОС Linux.
- префикс: переменная, которая указывает, где установлен GRUB.
Шаг 3: Установите нормальный модуль и загрузите его:
нормальный: файл мода Linux (linux.mod), используемый для загрузки ядра. Команда, используемая для установки мода: insmod
Запустите этот мод-файл для настройки вашего GRUB:
Шаг 4: Обновите GRUB. После входа в ОС Linux переустановите GRUB и обновите его. Откройте терминал и введите следующие команды:
Здесь X — номер диска, а Y — номер раздела EFI. Если вы не знаете, какой раздел является разделом EFI, используйте Disks или GParted для проверки.
Перезагрузите компьютер, и ошибка Minimal GRUB будет решена !!
Источник
выбрасывает в minimal bash like console
как выйти из этой консоли в кубунту?
Указать, откуда грузиться. Конкретная команда зависит от твоей разметки, UEFI или BIOS и прочего.
Вообще, если это появилось вместо нормальной загрузки, то что-то не в порядке.
Используй efistub. Нет груба — нет проблем.
Ты сначала напиши как ты оказался в этой ситуации.
кратко: вечером закрыл крышки ноутбука, утром открыл и ошибка нечто типа что система readonly, такое иногда бывает и лечится fsck, поэтому я перезапустил, и оказался в гробу
Я бы загрузился с livecd примонтировал системный раздел, сделал chtoot и посмотрел что там случилось, заодно сгенерировал конфиг груба, в убунте видимо как в дебиан update-grub.
однако если у тебя
такое иногда бывает и лечится fsck
я бы подумал о замене hdd/ssd
Диск небось сыпится. Или вместо файловой хипстерская поделка какая. Из нормальной консоли груба можешь глянуть диски и наличие файлов груба, ядра и инитрамс, ну и загрузить если ядро и инит на месте. Смотри https://wiki.archlinux.org/index.php/GRUB_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)#%D0%9A%D0%BE%D0%BD%D1%81%D0%BE%D0%BB%D1%8C_GRUB2
вообще я как третью ос установил на micro sd, значит поставлю на ссд
ну с этого бы и начинал. какие тут гарантии могут быть. а чего, зачем тебе 3 системы? хочешь поэкспериментировать ставь в виртуалку. микросд точно не вариант.долго. ненадежно.
это система на поиграться, на микросд. чего ему заморачиваться. только если для общего развития.
на микросд система будет попроизводительней, чем на виртуалке
Нет. Или у тебя пентиум3? Про заморочки я даже не говорю, но дело твое конечно. Удачи.
Источник
Grub отображает консоль вместо меню
Всем привет! Установил на компьютер (не на свой, а на другой) поверх Windows 8 Ubuntu 12.04 LTS. При включении компьютера вместо меню grub’а с выбором линукса и винды отображается консоль grub’а. Выглядит она так:
P.S. Что интересно, при команде ls / отображает только efi/. А при ls efi/ — ./../Microsoft/Boot/toshiba/ubuntu. WTF?
А grub в этой версии бубунты умеет UEFI? Возможно, дистр поновее надо. Ну или руками в инсталляторе выбрать версию grub с поддержкой UEFI(не знаю, возможно ли такое в бубунте, в дебиане такая возможность есть).
Спасибо за совет! Специально установил 12.10, потому что в 13.10 много косяков. Видимо придется переустанавливать.
P.S. Может, кто-нибудь что-нибудь другое напишет помимо этого?
Обнови только груб.
для этого нужно зайти с livecd, но как, если отображается лишь только консоль grub? В восьмой винде в биос зайти невозможно через del
Новый вопрос: 1) как через консоль grub’а зайти в ОС (в Windows зайти не спрашиваю, потому что у меня гр*баный Secure Boot включен) или 2) как зайти в BIOS через grub (для тех кто в танке: на компьютерах с предустановленным Windows 8 невозможно зайти в BIOS при включении компьютера. Только через «Дополнительные настройки ПО» внутри самой винды)?
Ура! Я смог наконец-то зайти через LiveCD! Что мне теперь писать в консоли линукса?
С этого момента команды выполняются внутри установленной системы. Я бы порекомендовал установить grub-efi, а затем
Я бы порекомендовал установить grub-efi[\quote] Я вас немножко не понял, как установить этот самый grub-efi? Или вы имели ввиду сделать то, что ниже этого текста?
Сделал всё по вашей инструкции (grub-efi через центр приложений установил), но всё тоже.
Быть может стоит переустановить Ubuntu? На более новую версию.
Как Вы зашли в liveSD?
А grub в этой версии бубунты умеет UEFI? Возможно, дистр поновее надо.
UEFI тут вероятнее всего не причём.
из «скриншота» видно что начальная стадия загрузки GRUB уже прошла (то есть — GRUB смог успешно получить управление в свои руки!).
вот только конфиг и модули — не загрузились (возможно поменялся нормел раздела? раздел удалился? или ещё какая-то фигня произошла?).
в этой ситуации можно было бы прям из этого GRUB-Minimal-Shell:
1. посмотреть переменные окружения. команда «set».
2. потом посмотреть какие файлы лежат на каком разделе, команды «ls» и «cd» — наверняка сработают.
3. подправить переменные окружения (в соответствии с увиденной реальной картиной из пункта 2). команда «set BLAHBLABLAH=BLABLA».
4. далее: команды «insmod normal» и «normal» — продолжат загрузку, загрузятся конфиг и модули. (в успешном случае — покажется нормальное меню GRUB, ну или пойдёт загрузка операционной системы)
Источник
How to Fix Minimal BASH Like Line Editing is Supported GRUB Error In Linux?
GNU GRUB (Stands for GNU GRand Unified Bootloader) is a boot loader package. It is a part of the GNU project. It is the reference implementation of the Free Software Foundation’s Multiboot Specification, that provides a user the choice to boot one of multiple operating systems installed on a computer. It also provides the facility to choose a specific kernel configuration available on a specific OS partition. The Minimal BASH Like Line Editing is Supported GRUB Error In Linux looks like as shown below:
Steps to Solve Minimal BASH..GRUB Error
Step 1: Find the partition in which your Linux partition is stored. We can use the ls command to check for available partitions and their filesystem. Linux operating systems usually use ext2/ext3/ext4 filesystems.
This will show us all existing partitions.
Note: If you don’t know which partition has Linux OS then you can check with the ls command as follows:
Here, X is disk number and Y is partition name. For Example: grub> ls (hd0, gpt3) or grub> ls (hd1, msdos5)
Step 2: After knowing the partition, set root and prefix variables:
- root: Variable which points where the entire Linux OS is installed.
- prefix: Variable which points where the GRUB is installed.
Step 3: Install normal module and load it:
normal: Linux mod file (linux.mod) used to load kernal. Command used to install mod : insmod
Run this mod file the setup your GRUB:
Step 4: Update GRUB. After entering your Linux OS, reinstall GRUB and update it. Open the terminal and enter following commands:
Here, X is disk number and Y is partition number of EFI partition. If you don’t know which partition is an EFI partition, use Disks or GParted to check.
Restart your PC and the Minimal GRUB error will be solved!!
Источник
Fix Minimal BASH like line editing is supported GRUB Error In Linux
The other day when I installed Elementary OS in dual boot with Windows, I encountered a Grub error at the reboot time. I was presented with command line with error message:
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.
Indeed this is not an error specific to Elementary OS. It is a common Grub error that could occur with any Linux OS be it Ubuntu, Fedora, Linux Mint etc.
In this post we shall see how to fix this “minimal BASH like line editing is supported” Grub error in Ubuntu based Linux systems.
You can read this tutorial to fix similar and more frequent issue, error: no such partition grub rescue in Linux
Prerequisites
To fix this issue, you would need the followings:
- A live USB or disk of (preferably) the same Linux distribution
- A working internet connection in the live session
Once you make sure that you have the prerequisites, let’s see how to fix the black screen of death for Linux (if I can call it that ;)).
Fixing “minimal BASH like line editing is supported” Grub error
The process is simple if you follow the steps carefully (not blindly). You may have to change the partition names as per your system.
Step 1: Boot in to the live Linux USB.
Step 2: You need to find out iif your system uses EFI or BIOS. To do that, open the terminal and use the following command to list your partitions:
Look closely in its output because it could be a huge output. If you see something like EFI, it’s an indication that your system has EFI. This information is important in later stages.
You need to note two things here. The partition where EFI is installed (if it is installed) and the partition where root partition is installed.
Step 3 (for UEFI systems only): Now, what you need to do is to reinstall grub.
Mount the root partition first. I am using /dev/sda2 for root but you should change this with what you have on your system:
If you have EFI system, mount that partition as well:
Now, the next step is to finally install grub for UEFI system like this:
You should have the grub back to normal.
Step 3 (only for non-EFI system): Installing grub on non-EFI system is even easier.
Mount the root partition of Linux:
And then install grub:
Reboot and it should be fine.
Alternate method to fix this “minimal BASH like line editing is supported” Grub error in Ubuntu based Linux
I know that you might point out that this Grub error is not exclusive to Ubuntu or Ubuntu based Linux distributions, then why am I putting emphasis on the world Ubuntu? The reason is, here we will take an easy way out and use a tool called Boot Repair to fix our problem. I am not sure if this tool is available for other distributions like Fedora. Without wasting anymore time, let’s see how to solve minimal BASH like line editing is supported Grub error.
Step 1: Boot in lives session
Plug in the live USB and boot in to the live session.
Step 2: Install Boot Repair
Once you are in the lives session, open the terminal and use the following commands to install Boot Repair:
Note: Follow this tutorial to fix failed to fetch cdrom apt-get update cannot be used to add new CD-ROMs error, if you encounter it while running the above command.
Step 3: Repair boot with Boot Repair
Once you installed Boot Repair, run it from the command line using the following command:
Actually things are pretty straight forward from here. You just need to follow the instructions provided by Boot Repair tool. First, click on Recommended repair option in the Boot Repair.
It will take couple of minutes for Boot Repair to analyze the problem with boot and Grub. Afterwards, it will provide you some commands to use in the command line. Copy the commands one by one in terminal. For me it showed me a screen like this:
It will do some processes after you enter these commands:
Once the process finishes, it will provide you a URL which consists of the logs of the boot repair. If your boot issue is not fixed even now, you can go to the forum or mail to the dev team and provide them the URL as a reference. Cool, isn’t it?
After the boot repair finishes successfully, shutdown your computer, remove the USB and boot again. For me it booted successfully but added two additional lines in the Grub screen. Something which was not of importance to me as I was happy to see the system booting normally again.
Did it work for you?
So this is how I fixed minimal BASH like line editing is supported Grub error in Elementary OS Freya . How about you? Did it work for you? Feel free to ask a question or drop a suggestion in the comment box below.
Like what you read? Please share it with others.
Источник