grub
Commands in Grub cli
Example 1: Ubuntu 20.04 with LVM
Boot with init=/bin/bash
insmod part_gpt
insmod lvm
insmod ext2
set root='hd0,gpt2'
# search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci-0,gpt2 e3a4d311-baa1-44c8-86e6-afdb9bccc081
search --no-floppy --fs-uuid --set=root e3a4d311-baa1-44c8-86e6-afdb9bccc081
linux /vmlinuz-5.4.0-167-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro init=/bin/bash
initrd /initrd.img-5.4.0-167-generic