using GNU GRUB
To access the GRUB command line during boot on an Ubuntu-based system, press and hold Shift if booting from BIOS, or press and hold Esc if booting from UEFI.
licensing
No rights reserved: CC0 1.0.
prior work
The method of accessing the GNU command line was introduced to me by an answer on Ask Ubuntu by Vojtech Trefny.