grub always comes up with command line
by cwdztsd88 from LinuxQuestions.org on (#6MJHH)
I installed grub to my Pop os pc because systemd boot was broken, it could not boot any kernel after version 6.2. Currently i boot computer by specifying prefix and root directories manually in grub cli:
Code:set prefix=(hd0,gpt1)/grub
set root=(hd0,gpt2)/
normalI tried grub-update, not even a sign of improvement. I added custom menu to /etc/grub.d/40_custom:
Code:#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "pop_os" {
set root=(hd0,gpt2)
set prefix=(hd0,gpt1)/grub
linux /boot/efi/EFI/Pop_OS-1d18dfdb-3d9c-4e7c-aa0c-c2eb92b1adb4/vmlinuz
initrd /boot/efi/EFI/Pop_OS-1d18dfdb-3d9c-4e7c-aa0c-c2eb92b1adb4/initrd.img
}Not even a sign of improvement.
Code:set prefix=(hd0,gpt1)/grub
set root=(hd0,gpt2)/
normalI tried grub-update, not even a sign of improvement. I added custom menu to /etc/grub.d/40_custom:
Code:#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "pop_os" {
set root=(hd0,gpt2)
set prefix=(hd0,gpt1)/grub
linux /boot/efi/EFI/Pop_OS-1d18dfdb-3d9c-4e7c-aa0c-c2eb92b1adb4/vmlinuz
initrd /boot/efi/EFI/Pop_OS-1d18dfdb-3d9c-4e7c-aa0c-c2eb92b1adb4/initrd.img
}Not even a sign of improvement.