No £ sign in FreeBSD terminals

To do this globally: add the following to the end of the default:\ section of /etc/login.conf, not forgetting to add a backslash to the line above where you add these lines.


Then run

cap_mkdb /etc/login.conf

Or, for a single user set LANG to en_GB.UTF-8 and MM_CHARSET to UTF-8.

For example if your shell is bash put the following in .bash_login.

export LANG

Boot from grub2 on Linux

Here FreeBSD is installed on ufs2 partitions on the same disk as Linux.

Add something similar to the following to /etc/grub.d/40_custom

menuentry 'FreeBSD 12' {
    insmod ufs2
    set root=(hd0,gpt7)
    kfreebsd /boot/loader

and run grub-mkconfig -o /boot/grub/grub.cfg

xorg.conf for dinah

Graphics card is Mobile 945GSE Express Integrated Graphics Controller

(As seen by: pciconf -lv | grep -B3 display)

Section "Module"
        Load  "fb"
        Load  "vgahw"

Section "Device"
        Identifier "Card0"
        Driver     "intel"

Also, add kern.vty=vt to /boot/loader.conf for KMS and nice text consoles.