Overall description: Alpine Installation from an official image tar file downloaded to a real second generation PC Engines APU systems (apu2, apu3, apu4), where it will be single OS only.
This document will guide you to install Alpine into second generation PC Engines APU systems, it was tested with an apu2d4 and Alpine 3.11.6..
Feels lost here? check How to use this guide section of this document
Download the source medium to install and put into your home documents
in a modern computer. The source medium to install in this case are
just 64-bit only, the download URL will be as following format:
http://dl-cdn.alpinelinux.org/alpine/v<VERSION>/releases/<ARCH>/alpine-standard-<VERSION>.0-<ARCH>.iso
where ARCH
and VERSION
could be:
<ARCH>
could be one of:
<VERSION>
could be one of:
EXAMPLE if you plan to using 3.12 version the available links to download will be:
http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-standard-3.12.0-x86_64.iso
Usin Graphical download way: Just point the web browser to that url and the
download of the iso file will start. A file with .iso extension
type, with name like "alpine-standard-3.17.0-x86_64.iso"
(if amd64) or
like alpine-standard-3.12.1-x86.iso
(if i386); will be downloaded
commonly into the Download directory of your home documents filesystem.
Usin Command line method way: in unix-like terminal execute:
wget -c -t8 --no-check-certificate http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-standard-3.12.0-x86_64.iso
,
and where you run the command, in that place/dir will be downloaded the file.
/boot/vmlinuz-lts modules=loop,squashfs,sd-mod,usb-storage nomodeset console=ttyS0,115200 initrd=/boot/initramfs-lts
When the machine start, you must be sure to choose the optical drive (commonly named CD/DVD Rom drive), so the disc/iso will boot and after a while a command line shell will show you:
Note When starting Alpine it will ask for the login, just typing root and pressing enter allows you to start:
After entering the root environment and gets the console prompt installation media, you must perform these commands, that will:
This will start some questions, these are in the following order:
eth0
one that is the network cable and answer dhcp
.8.8.8.8
and none
for the domainsys
to install the system on disk.SERIAL 0 115200
as the first line in the file.APPEND
line, replace quiet
with
console=ttyS0,115200
/etc/update-extlinux.conf
so that if extlinux.conf is
regenerated it will retain these settings:
serial_port
to read serial_port=0
serial_baud
line to read serial_baud=115200
default_kernel_opts
line to replace quiet
with
console=ttyS0,115200
update-extlinux
/boot/extlinux.conf
.
mv /boot/extlinux.conf-old /boot/extlinux.conf
to roll back
the changes and try to figure out what went wrongPlease follow the guide alpine-tutorial-wifi-routering.md, you will need to download the needed packages manually from another device and then but it on the installed Alpine computer using USBstorage external device.
If you cannot setup a internet connection you cannot install Alpine linux, unless you used 64bit intel/amd and “extended” iso install media. Most of the packages need to setup this procedure are not included in standard images, specially those for ARM devices like RasberryPi ones becouse WIFi setup.
This guide structure all the commands in blocks, each block its separated by a line spaced, so you must type each line as is.. and hit enter, so you noted that then you typed each separated clocks of commands, copy/type only blocks separated by an empty line, all new(next) lines are made by just enter. the terminal will detect if must execute or not.
This guide is for install process, many parts will need you understand minimal knowledge of linux.
This guide assumed you have a serial port allowed in the targeted computer, also its important you shuold understand the way of the configuration in this guide.
Warning Some Linux or/and Mac terminals have security cut/paste locks, so if you paste, the first line will be preceded by garbage, check always the first char of your paste.
CC BY-NC-SA: the project allows reusers to distribute, remix, adapt, and build upon the material in any medium or format for noncommercial purposes only, and only so long as attribution is given to the creators involved. If you remix, adapt, or build upon the material, you must license the modified material under identical terms, includes the following elements:
https://codeberg.org/alpine/alpine-wiki/src/branch/main#license