[SOLVED] "Minimal BASH like line editing is supported" error

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Crosby
Level 1
Level 1
Posts: 1
Joined: Sat Jul 02, 2022 4:04 pm

[SOLVED] "Minimal BASH like line editing is supported" error

Post by Crosby »

Hi everyone!

I know that this is a quite old problem and some popular solutions already exists. But none of them is worked for me.
So I have Dell Precision laptop and completely removed older Linux Mint 19 during the installation of Linux Mint 20.3. And know I'm getting "Minimal BASH like line editing is supported" error.

First I tried this. I can proceed to OS typing

Code: Select all

set root=(hd1,msdos5)
set prefix=(hd1,msdos5)/boot/grub
insmod normal
normal
but after `grub-install` I get "grub-install: error: will not proceed with blocklists.".

Then I tried this and also stuck with error.
In alternative way it said that boot successfully repaired, but nothing changed after reboot.

`sudo fdisk -l` shows this

Code: Select all

Device     Boot   Start       End   Sectors  Size Id Type
/dev/sda1          2048   1050623   1048576  512M  b W95 FAT32
/dev/sda2       1052670 500117503 499064834  238G  5 Extended
/dev/sda5  *    1052672 500117503 499064832  238G 83 Linux
Any other ways to fix that? Thank you.

UPDATE.

Finally solved with

Code: Select all

sudo apt install grub-efi
sudo mount /dev/sda5 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
sudo grub-install --boot-directory=/mnt/boot --bootloader-id=ubuntu  --target=x86_64-efi --efi-directory=/mnt/boot/efi  
Last edited by LockBot on Mon Jan 02, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Installation & Boot”