GRUB

Except where noted, this is for GRUB 2+

Console

# Turn on the pager in console mode
set pager=1
# See what the variables are
set
# Find devices available
ls

Grub grub.cfg creation

grub2-mkconfig -o /boot/grub2/grub.cfg