The size of the command line seems to be 600*400, even if you install the graphics enhancement tool. I remember that you can change the resolution size in the command line interface, and you need to change some parameters. I haven’t done this in a long time, and I have forgotten it. You use SSH tools (SecureCRT, etc.) to connect to it, and adjust it as much as you like.
Identify the resolution that your VirtualBox environment supports. Reboot the system and hit c when the grub windows appears appears. This will drop you into the grub console. Enter the commend vbeinfo to see a list of resolutions. Select the resolution that works for you (in my case, 1152x864x32).
Edit /etc/default/grub to modify/create a line GRUB_GFXMODE=1152x864x32 (where you replace the resolution with the one appropriate for your environment).
Edit /etc/grub.d/00_header to modify the line if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=auto ; fi to be if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1152x864x32 ; fi (again, replacing the resolution)
Update grub and reboot: update-grub2 && shutdown -r now
The size of the command line seems to be 600*400, even if you install the graphics enhancement tool. I remember that you can change the resolution size in the command line interface, and you need to change some parameters. I haven’t done this in a long time, and I have forgotten it.
You use SSH tools (SecureCRT, etc.) to connect to it, and adjust it as much as you like.
If it’s too small, you can zoom in:

Combining the two answers:
Identify the resolution that your VirtualBox environment supports. Reboot the system and hit c when the grub windows appears appears. This will drop you into the grub console. Enter the commend vbeinfo to see a list of resolutions. Select the resolution that works for you (in my case, 1152x864x32).
Edit /etc/default/grub to modify/create a line GRUB_GFXMODE=1152x864x32 (where you replace the resolution with the one appropriate for your environment).
Edit /etc/grub.d/00_header to modify the line if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=auto ; fi to be if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=1152x864x32 ; fi (again, replacing the resolution)
Update grub and reboot: update-grub2 && shutdown -r now