Had the same issue with Ubuntu 22.04 install ISO flashed onto a USB.
Even tried booting "manually" (press "c" to enter GRUB command prompt)
grub> ls (proc) (hd0) (hd0,gpt1) (hd0,gpt2) (hd0,gpt3) (hd1) . . . grub> ls (hd0,gpt1) Partition hd0,gpt1: Filesystem type ... - Label 'UBUNTU 22_0' ... grub> set root=(hd0,gpt1) grub> linux /casper/vmlinuz grub> initrd /casper/initrd error: out of memory. grub>
Couldn't find any way out of this condition (is there?).
Fortunately I already had GRUB installed on the machine so I could proceed from that one.
Had the same issue with Ubuntu 22.04 install ISO flashed onto a USB.
Even tried booting "manually" (press "c" to enter GRUB command prompt)
grub> ls
(proc) (hd0) (hd0,gpt1) (hd0,gpt2) (hd0,gpt3) (hd1) . . .
grub> ls (hd0,gpt1)
Partition hd0,gpt1: Filesystem type ... - Label 'UBUNTU 22_0' ...
grub> set root=(hd0,gpt1)
grub> linux /casper/vmlinuz
grub> initrd /casper/initrd
error: out of memory.
grub>
Couldn't find any way out of this condition (is there?).
Fortunately I already had GRUB installed on the machine so I could proceed from that one.