Ubuntu Version: 22.04 LTS
Desktop Environment (if applicable): GNOME (I think?)
Problem Description:
tl;dr: Any time I boot, instead of sending me to the list of boot options I get dumped into a GRUB terminal.
I have dual boot Windows/Ubuntu on my laptop, and I recently was working to expand the Linux partition. It went fine, except that when I went to reboot, it did not present me with the list of boot options as expected; instead I was given a GRUB terminal. The following worked to get me into the boot options, but I don’t know how to fix it to always send me there.
set prefix=(hd0,gpt8)/boot/grub
set root=(hd0,gpt8)
insmod normal
normal
Relevant System Information:
Dual boot, no particular modifications. Samsung SSD 980 PRO 2 TB. Kernel version: Linux 6.17.0-19-generic
What I’ve Tried:
See above. That is a temporary solution, as soon as I restart/power off I have to do it again.
What stands out first to me, is contradictory details in your post.
Ubuntu 22.04 LTS you say you’re using should be using the 5.15 kernel if you’re using the GA kernel stack, and 6.8 if you’re using the HWE kernel stack (there are other OEM options too), but you mention at 6.17 kernel from Ubuntu 25.10? I’d check your details for a typo? as the 6.17 kernel was backported to the prior LTS release as well (ie. 24.04) but not prior LTS releases (ie. not 22.04).
If you resized partitions, you may have moved the location of the later stages of GRUB, as they’re stored within the /boot/grub directory of a partition; a partition you may resized thus original location is no longer correct. GRUB stage 0 is located either in MBR (master boot record which is outside of partitioned space) or the ESP (uEFI System Partition) you may not have moved, thus grub couldn’t continue and drops you to a rescue mode that has rather limited functionality (so as to fit in the 512 bytes available in an MBR).
If I’ve found myself in such a position, I usually do what you’ve done, then sudo update grub to ensure its correct (reading output to check), then just do a sudo grub-install [dev] where [dev] is the device where I want it stored.. but in your case I’d firstly check your facts - as given the contradiction your system has something different in it I could have missed, yours is different to what you’ve indicated, or you just made a typo.
You didn’t specify exactly what you are seeing; so I’ve made assumptions based on what you provided too, but I’m limited to details you provide.
3 Likes