LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Seeing minimal bash-like line editing is supported when booting to grub for lubuntu 20.4 (https://www.linuxquestions.org/questions/linux-newbie-8/seeing-minimal-bash-like-line-editing-is-supported-when-booting-to-grub-for-lubuntu-20-4-a-4175677934/)

respectablenoob 06-30-2020 11:51 PM

Seeing minimal bash-like line editing is supported when booting to grub for lubuntu 20.4
 
I have successfully installed lubuntu 20.4 on unallocated space and grub is installed, I just have to change to ubuntu in boot options. unfortunately, grub says Seeing minimal bash-like line editing is supported. I don't know what to do because it is completely unusable and I cant get to lubuntu but I know it is installed. Any help would be appreciated.

JJJCR 07-01-2020 12:59 AM

Take a screen shot upload it to OneDrive, Google Drive, Pastebin (set proper permissions of course only the folder with that pic and not expose your whole drive :)) or other sources, it would be easier for others to figure out what is on your screen.

Good luck!!!

respectablenoob 07-01-2020 01:24 AM

Thanks for replying! here is the screenshot.
 
[URL="https://www.reddit.com/r/debian/comments/cuahf5/minimal_bashlike_line_editing_is_supported_error/

the screenshot is exactly what is on my screen.

cordx 07-01-2020 01:45 AM

this page has a description of how to boot from the grub prompt.

JJJCR 07-01-2020 01:53 AM

You will might need to do a grub rescue, see this link: https://www.linux.com/training-tutor...-grub-2-linux/

Or try as Cordx suggested.


See if this one will help also:

Quote:


You can boot your linux system through Super Grub2 disk, Download the iso from here (http://www.supergrubdisk.org/) and create a bootable USB

After successfully booting linux , reinstall grub-efi as follows :

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=debian --recheck --debug /dev/sda
update-grub

it's a post from this link: https://unix.stackexchange.com/quest...e-after-reboot

cordx 07-01-2020 01:56 AM

Quote:

Originally Posted by JJJCR (Post 6140000)
You will might need to do a grub rescue, see this link: https://www.linux.com/training-tutor...-grub-2-linux/

i found that page right after i posted my suggestion. it is a much better description. i would recommend starting with this one instead.

ondoho 07-01-2020 04:06 AM

For the lazy noob:
https://www.supergrubdisk.org/rescatux/

colorpurple21859 07-01-2020 05:29 AM

If you know what drive/partition lubuntu is on
Code:

configfile (hd0,?)/boot/grub/grub.cfg
the ? represents the partition number counting from 1, If it is on a different drive, drives count from 0.
Then once booted in open a terminal run if this is an efi system.
Quote:

sudo grub-install
If not add /dev/sda, this may be different.

respectablenoob 07-05-2020 04:16 PM

Quote:

Originally Posted by cordx (Post 6139998)
this page has a description of how to boot from the grub prompt.

Thanks I think it is because I rebooted without removing the usb because after I removed it and it worked. I would however still learn about this issue so thanks again.

respectablenoob 07-05-2020 04:23 PM

Quote:

Originally Posted by JJJCR (Post 6140000)
You will might need to do a grub rescue, see this link: https://www.linux.com/training-tutor...-grub-2-linux/

Or try as Cordx suggested.


See if this one will help also:



it's a post from this link: https://unix.stackexchange.com/quest...e-after-reboot

Thanks, I'll check it out after studying. Really good of you to help linux newbies like me:)

respectablenoob 07-05-2020 04:24 PM

Quote:

Originally Posted by colorpurple21859 (Post 6140079)
If you know what drive/partition lubuntu is on
Code:

configfile (hd0,?)/boot/grub/grub.cfg
the ? represents the partition number counting from 1, If it is on a different drive, drives count from 0.
Then once booted in open a terminal run if this is an efi system.
If not add /dev/sda, this may be different.

I understand the second part, but what does the first code mean. Is it for a terminal or a file location? thanks

colorpurple21859 07-05-2020 04:37 PM

at the grub prompt
grub> configfile (hd0,?)/boot/grub/grub.cfg

HenryEcu 06-27-2021 06:27 PM

all past suggestions not worked in my case.

I tried run grub-install, boot-repair but not solve my problems.

I have a double boot system with debian distro and with signed packages for boot security.

With signed image and grub-install (signed too) no error appear, but grub console appear again.



To solve, in my case:
grub-install write in /dev/sda2 your files in /EFI/grub folder (in sda2 windows SO put efi files in EFI folder)

Shutdown and Power on again

In grub console bash-like

ls command to view partition with efi files (hd0,gpt2). The first grub.cfg file is in grub folder
extract_entries_configfile (hd0,gpt2)/EFI/grub/grub.cfg command to run grub.cfg (firt grub config file)
then new error appear: "error: search.fs_uuid is not allowed to execute in an extractor"

The problem is the $prefix variable.
echo $prefix to view it's content: (hd0,gpt2)/EFI/debian

debian folder not exist!! That is the problem

I created debian folder in EFI folder and
copy grub.cfg (file in EFI/grub) in debian folder.

Then

Shutdown and Power on again

And RAN


All times are GMT -5. The time now is 04:25 PM.