|
| 1 | +# How to Install Debian on Alix and Apu2 |
| 2 | + |
| 3 | +## Apu2 |
| 4 | + |
| 5 | +[PC Engines APU2 Board](https://www.pcengines.ch/apu2.htm) |
| 6 | + |
| 7 | +* Baudrate 115200 |
| 8 | +* Tested with Debian Strech |
| 9 | + |
| 10 | +1. Connect to the Apu2 over a serial cable. You can use any serial console client, for example PuTTY. |
| 11 | +  |
| 12 | + |
| 13 | +1. Insert the USB Stick with the current Debian amd64 installer, like [this](http://mirror.switch.ch/ftp/mirror/debian-cd/current/amd64/iso-cd/debian-9.3.0-amd64-netinst.iso). |
| 14 | +1. Boot the Apu board and press F10 to Enter die Boot Menu. |
| 15 | +1. Choose your Installer stick, in my case is was number 2. |
| 16 | +  |
| 17 | +1. Choose install and press TAB to change the boot parameter. Remove the `--- quiet` and add `console=ttyS0,115200 video=off ---` |
| 18 | + |
| 19 | +  |
| 20 | +1. When you get the undefined video mode number message, just wait 1 to 2 minutes. |
| 21 | +  |
| 22 | +1. Proceed with the Debian installer as on a normal computer with vga until you geh the "Installation complete" message. |
| 23 | +  |
| 24 | +1. Choose Go Back -> Execute a shell (at the bottom of the menu) -> Enter |
| 25 | +1. Mount special file systems (sys, proc and dev) into target. Like this: `mount -o bind /sys /target/sys` |
| 26 | +1. Chroot into your new system `chroot /target` |
| 27 | +1. Open /etc/default/grub with your favorite editor. |
| 28 | +1. Set GRUB_CMDLINE_LINUX_DEFAULT to 'console=ttyS0,115200' |
| 29 | +1. Execute `update-grub2` |
| 30 | +1. Exit the chroot, the console, choose finish the installation in the installer and reboot the device. |
| 31 | + |
| 32 | + |
| 33 | +## Alix |
| 34 | + |
| 35 | +* Baudrate 38400 |
| 36 | + |
| 37 | +Follows... |
| 38 | + |
| 39 | +## Sources |
| 40 | +(https://lists.debian.org/debian-boot/2012/08/msg00815.html) |
| 41 | + |
| 42 | +(https://www.coreboot.org/Serial_console) |
0 commit comments