Install Ubuntu 18.04 LTS on a PC Engines APU2 board.
If you're using an APU1 board, try the section Prepare a USB drive (optional) to create a prepared USB-drive first. Then boot from USB (press F12, during boot) and select Command-line install
and proceed with the installation.
Install
, then TAB.linux initrd=initrd.gz console=ttyS0,115200
Yes
.linux
and add:console=ttyS0,115200n8
sudo vi /etc/default/grub GRUB_CMDLINE_LINUX="console=ttyS0,115200n8" sudo update-grub
/etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system # For more information, see netplan(5). network: version: 2 renderer: networkd ethernets: enp1s0: addresses: - 10.10.10.2/24 gateway4: 10.10.10.1 nameservers: search: [mydomain, otherdomain] addresses: [10.10.10.1, 1.1.1.1]
netplan apply
apt install openssh-server
ufw allow ssh ufw enable
sudo systemctl set-default multi-user.target
dpkg-reconfigure tzdata
dpkg-reconfigure locales
It seems the sp5100_tco module is blacklisted by default in /lib/modprobe.d
. We need to override that and blacklist some conflicting modules.
cat >> /etc/modprobe.d/blacklist-i2c-ccp.conf <<EOF blacklist i2c_piix4 blacklist ccp EOF
update-initramfs -u
apt install watchdog
vi /etc/default/watchdog # Load module before starting watchdog watchdog_module="sp5100_tco"
/etc/watchdog.conf
:watchdog-device = /dev/watchdog
dmesg | grep sp5100_tco
pkill -9 watchdog # if wd_keepalive is started, also kill that pkill -9 wd_keepalive
apt install beep
pcspkr
from /etc/modprobe.d/blacklist.conf
.cat >> /etc/systemd/system/beeponshut.service <<EOF [Unit] Description=beep [Service] Type=oneshot RemainAfterExit=true ExecStart=/bin/true ExecStop=/usr/bin/beep -f500 -l50 -r3 -n -f1 -l50 -n -f400 [Install] WantedBy=multi-user.target EOF systemctl daemon-reload systemctl enable beeponshut
apt install xorriso isolinux
sudo mkdir /mnt/iso sudo mount -o loop ~/Downloads/mini.iso /mnt/iso cd /mnt tar -cvf - iso | (cd /var/tmp/ && tar -xf - ) cd /var/tmp/iso
isolinux.cfg
serial 0 115200 console 0 path include menu.cfg default vesamenu.c32 prompt 0 timeout 0
txt.cfg
#From: append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=788 initrd=initrd.gz --- quiet #To: append tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=off initrd=initrd.gz console=ttyS0,115200n8 ---
#Fedora host: xorriso -as mkisofs -R -J -V "Ubuntu-Server 18.04 LTS amd64" \ -o ~/file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ -boot-load-size 4 -boot-info-table \ -isohybrid-mbr /usr/share/syslinux/isohdpfx.bin . #Ubuntu host: xorriso -as mkisofs -R -J -V "Ubuntu-Server 18.04 LTS amd64" \ -o ~/file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ -boot-load-size 4 -boot-info-table \ -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin .
sudo dd if=~/file.iso of=/dev/sdX bs=4M