FreeBSD hi-res console
Starting from FreeBSD 9.1 GENERIC kernel is built with everything we need, so it’s really easy. Everything should be done under root.
To see all available video modes:
vidcontrol -i mode
Suppose we are interested in mode 325 (1280x1024x32). To check if it is OK to set it:
vidcontrol MODE_325
If console switched to desired mode without any problems, then edit /boot/device.hint to do the following diff:
hint.psm.0.irq="12"
-hint.sc.0.flags="0x100"
+hint.sc.0.flags="0x180"
+hint.sc.0.vesa_mode="325"
hint.uart.0.at="isa"
That’s all, after reboot as soon as kernel will be loaded, the console will switch to selected video mode, so boot log will be printed in hi-res mode, without waiting for rc.conf loading.