In order to port an embedded project from an ARM target to Linux/x86, I have to create a Debian VM (I'm using Virtualbox right now) which starts in framebuffer mode with 640x480 resolution.
I used the systemctl set-default multi-user.target
command to make the VM start on framebuffer, but it seems it cannot go below 800x600 resolution.
All tutorials and guide I can find are related to starting the guest VM at high resolution modes, while I cannot find anything tackling with my issue.
I followed the suggestions found at https://forums.virtualbox.org/viewtopic.php?f=29&t=83189
edit /etc/default/grub
Uncomment: #GRUB_GFXMODE=640x480
Modify it to required resolution: GRUB_GFXMODE=1024x768
Add the following: GRUB_GFXPAYLOAD_LINUX=keep
Save, exit, and run update-grub
Edit "/etc/modprobe.d/fbdev-blacklist.conf" and add vboxvideo Reboot
Using GRUB_GFXMODE=640x480
and creating the /etc/modprobe.d/fbdev-blacklist.conf
file, but with no results - it keeps starting at 800x600
Can anyone help on this? I am currently using Debian 9, can move to another version in case of incompatibilities.
EDIT: as requested, here is the output of #cat /proc/cmdline:
BOOT_IMAGE=/boot/vmlinuz-4.9.0-11-amd64 root=UUID=5bb1ded6-45a6-4d13-93d8-5f593e66e609 ro quiet