apu_ubuntu
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
apu_ubuntu [2018/06/01 21:48] – [Post installation steps] admin | apu_ubuntu [2019/02/24 12:59] – admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | =====PCEngines | + | =====PC Engines |
+ | 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==== | ||
- | * [[https:// | ||
- | * Extract downloaded ISO and copy the files to a temporary location:< | ||
- | sudo mkdir /mnt/iso | ||
- | sudo mount -o loop ~/ | ||
- | cd /mnt | ||
- | tar -cvf - iso | (cd /var/tmp/ && tar -xf - ) | ||
- | cd / | ||
- | * Modify ''/ | ||
- | console 0 | ||
- | path | ||
- | include menu.cfg | ||
- | default vesamenu.c32 | ||
- | prompt 0 | ||
- | timeout 0</ | ||
- | * Modify '' | ||
- | append file=/ | ||
- | * Create a new ISO file (this was done from Fedora):< | ||
- | -o ~/file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ | ||
- | -boot-load-size 4 -boot-info-table \ | ||
- | -isohybrid-mbr / | ||
- | * Write the new image to the USB drive:< | ||
====Install Ubuntu 18.04==== | ====Install Ubuntu 18.04==== | ||
- | * Connect the USB drive to the APU board and boot from USB (F10 / F12).\\ | + | |
- | * Select '' | + | |
+ | * Select '' | ||
+ | * Change kernel options to '' | ||
* When asked to unmount mounted partitions choose '' | * When asked to unmount mounted partitions choose '' | ||
* Install options as you like. | * Install options as you like. | ||
Line 39: | Line 22: | ||
GRUB_CMDLINE_LINUX=" | GRUB_CMDLINE_LINUX=" | ||
- | sudo update grub | + | sudo update-grub |
</ | </ | ||
* Reboot to test the update grub configuration. | * Reboot to test the update grub configuration. | ||
- | + | ===Networking=== | |
+ | * Edit ''/ | ||
+ | # This file describes the network interfaces available on your system | ||
+ | # For more information, | ||
+ | network: | ||
+ | version: 2 | ||
+ | renderer: networkd | ||
+ | ethernets: | ||
+ | enp1s0: | ||
+ | dhcp6: yes | ||
+ | addresses: | ||
+ | - 10.10.10.2/ | ||
+ | gateway4: 10.10.10.1 | ||
+ | nameservers: | ||
+ | search: [mydomain, otherdomain] | ||
+ | addresses: [10.10.10.1, | ||
+ | </ | ||
+ | * Apply config:< | ||
====Misc==== | ====Misc==== | ||
+ | * Install and start openssh:< | ||
+ | * Enable firewall:< | ||
+ | ufw enable</ | ||
* Multi-user target (not graphical):< | * Multi-user target (not graphical):< | ||
* Configure timezone:< | * Configure timezone:< | ||
* Configure locale:< | * Configure locale:< | ||
+ | |||
+ | ===Watchdog=== | ||
+ | It seems the sp5100_tco module is blacklisted by default in ''/ | ||
+ | |||
+ | * Blacklist conflicting modules:< | ||
+ | blacklist i2c_piix4 | ||
+ | blacklist ccp | ||
+ | EOF</ | ||
+ | * Update the initramfs:< | ||
+ | * Install watchdog:< | ||
+ | * Add module to config:< | ||
+ | # Load module before starting watchdog | ||
+ | watchdog_module=" | ||
+ | </ | ||
+ | * Edit ''/ | ||
+ | watchdog-device = / | ||
+ | </ | ||
+ | * Reboot to test:< | ||
+ | * Kill watchdog, it should restart your system after some time:< | ||
+ | # if wd_keepalive is started, also kill that | ||
+ | pkill -9 wd_keepalive</ | ||
+ | |||
===PC speaker=== | ===PC speaker=== | ||
* Install beep:< | * Install beep:< | ||
Line 78: | Line 102: | ||
systemctl enable beeponshut | systemctl enable beeponshut | ||
</ | </ | ||
+ | |||
+ | =====Prepare a USB drive (optional)===== | ||
+ | * Install required packages:< | ||
+ | * [[https:// | ||
+ | * Extract downloaded ISO and copy the files to a temporary location:< | ||
+ | sudo mkdir /mnt/iso | ||
+ | sudo mount -o loop ~/ | ||
+ | cd /mnt | ||
+ | tar -cvf - iso | (cd /var/tmp/ && tar -xf - ) | ||
+ | cd / | ||
+ | * Modify '' | ||
+ | console 0 | ||
+ | path | ||
+ | include menu.cfg | ||
+ | default vesamenu.c32 | ||
+ | prompt 0 | ||
+ | timeout 0</ | ||
+ | * Modify __cli / Command-line install__: '' | ||
+ | #From: | ||
+ | append tasks=standard pkgsel/ | ||
+ | |||
+ | #To: | ||
+ | append tasks=standard pkgsel/ | ||
+ | |||
+ | </ | ||
+ | * Create a new ISO file:< | ||
+ | #Fedora host: | ||
+ | xorriso -as mkisofs -R -J -V " | ||
+ | -o ~/file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ | ||
+ | -boot-load-size 4 -boot-info-table \ | ||
+ | -isohybrid-mbr / | ||
+ | |||
+ | #Ubuntu host: | ||
+ | xorriso -as mkisofs -R -J -V " | ||
+ | -o ~/file.iso -b isolinux.bin -c boot.cat -no-emul-boot \ | ||
+ | -boot-load-size 4 -boot-info-table \ | ||
+ | -isohybrid-mbr / | ||
+ | |||
+ | |||
+ | |||
+ | </ | ||
+ | * Write the new image to the USB drive:< | ||
{{tag> | {{tag> |
apu_ubuntu.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1