I got this board several days a ago, tried to install VyOS 1.1.7 on it, and found following issues:
VyOS fixes the baud rate of serial port to 9600. But APU2 bios seems to only support 115200, so you can’t see boot menu or booting messages.
After modifying baud rate setting in isolinux.cfg in the ISO image to get the machine displaying some messages, I found VyOS can’t detect my Transcend USB stick so the booting process just hangs. But booting with SD card works fine.
So I’m going to share how I install VyOS on APU2 with SD card.
Download & mount VyOS iso image to a folder:
$ sudo mount -o loop vyos-1.1.7-amd64.iso /tmp/iso
Copy all content to another folder so that we can modify:
$ cp -a /tmp/iso/* /tmp/iso2
cd to /tmp/iso2, modify isolinux/isolinux.cfg to the following:
serial 0 115200
Note you also need to set ‘console’ to ‘0’, because APU2 bios seems to redirect console messages to the serial console, which will mess up the screen.
Uncompress the root filesystem to another folder:
$ sudo unsquashfs -d /tmp/root live/filesystem.squashfs
Modify /tmp/root/opt/vyatta/sbin/vyatta-grub-setup, replace all matchings of string ‘9600’ with ‘115200’. Then regenerate the rootfs image:
$ sudo squashfs /tmp/root live/filesystem.squashfs -noappend
Finally regenerate iso image:
$ cd /tmp
$ mkisofs -o vyos-out.iso -b isolinux/isolinux.bin -c isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table -iso-level 3 -J \
$ isohybrid vyos-out.iso
Dump the new image to a SD card, and use it to boot machine and start installation. I installed VyOS into SSD, and after installation, I can boot from SSD and see login prompt with 115200 baud serial console.