0

I am trying to install Ubuntu 24.04 onto a machine and running into issues. The computer is currently booting into the grub> prompt.

While trying to resolve those issues though, it seems that somehow GRUB has become pretty broken.

At the top when it loads the prompt, and when you run many commands, it says to run set pager=1 to enable less(1)-like paging. However, running this gives:

grub> set pager=1
error: command failed.

Many other commands also fail with the same error, including the ones that I think I have to run to fix the loading of the kernel which is the issue. Since set pager=1 fails, I suspect this error has something to do with the GRUB prompt and fixing that will also enable me to load the kernel properly.

Does anyone have any idea how I could go about debugging what is causing a simple command like set pager=1 to fail with this error, and how to fix it?

Edit: Also worth mentioning that half the time it boots into this grub> prompt, but half the time it goes to the normal GRUB menu and can boot into Ubuntu successfully. When it goes to the grub> prompt all I can do is run exit to boot Windows.

There are two disks. There is a small one that contains the EFI system partition and the Windows C drive. And there is a large one that contains another NTFS partition, the Ubuntu root partition, and the Ubuntu swap partition. I assume GRUB is installed onto the EFI paritition on the small drive. Both drives are using GPT.

nog642
  • 111

0 Answers0