I am using a Lenovo Ideapad in FreeBSD 12.0I need to setup a different EFI text mode, to change the screen resolution upon boot. As in this question Using native 1366 x 768 resolution in a Lenovo IdeapadHow do I get a listing of the different modes supported by my particular notebook?
Determining EFI text modes supported by notebook
freebsd;uefi
To get the EFI text modes supported upon booting up FreeBSD, in the Welcome screen, choose 3. Escape to loader prompt.  (see image below)When greeted by the OK prompt, write mode and press ENTER.In the case of my Lenovo, the output is:Current mode: 0Mode 0: 80 columns, 25 rowsMode 2: 170 columns, 40 rowsMode 3: 80 columns, 25 rowsMode 4: 100 columns, 25 rowsMode 5: 128 columns, 40 rowsSelect a mode with the command mode <number>OKWriting for instance, menu 4, and then menu, will make you return to the main boot menu with 170x40 rows, and boot in that EFI text mode this time.If you would like to make the change permanent, edit /boot/loader.rc.local:mode 2