#Tips on installing Debian (8, Jessie) in apu2c4
apu2c4 has only serial output, so it maybe a bit different installing not only debian but any Operating Systems in it. Following steps can help a lot in installing Debian in apu2c4.
- First prepare some serial console like minicom or picocom. (I use picocom). Connect the serial out of APU to your laptop using Serial-to-USB cables.
- Perform the following command as root:
picocom -b 115200 /dev/ttyUSB0
-
A serial console will come up. You need a Debian installation disk beforehand. Insert it, and poweron the APU. Select 'f10' when prompted and choose the USB Disk for booting.
-
Before choosing the Install Option, we need to pass an arguement that changes the default output of the installer from VGA/HDMI to Serial. Press
tab
and you will see a line to edit the boot parameter. Remove the wordvga=788
and replace it withconsole=ttyS0,115200,n8
and press enter to boot. -
Continue normal debian installation process.
-
After completion of the installation, you won't be able to boot because the system tries to send output to VGA/HDMI/(etc). We need to configure it to send output over Serial.
-
Get a shell, either by some sort of live boot or via ssh if you had enabled it and are connected to the network.
-
Edit the file
/etc/default/grub
as following, append or replace as requiredGRUB_CMDLINE_LINUX='console=tty0 console=ttyS0,115200,n8' GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
-
After that run,
update-grub
and reboot. -
Enjoy