Alpine Install: from a disc to PC Engines APU: Difference between revisions
m (Fix formatting) |
m (FIx formatting, not specific versions tested) |
||
Line 2: | Line 2: | ||
== Installing on second generation PC Engines APU systems (apu2, apu3, apu4) == | == Installing on second generation PC Engines APU systems (apu2, apu3, apu4) == | ||
The following instructions were tested with an apu2e4 and Alpine 3.11.6. | |||
# It's probably a good idea to ensure that the BIOS / Firmware is up to date. | # It's probably a good idea to ensure that the BIOS / Firmware is up to date. | ||
Line 17: | Line 19: | ||
# Remove the thumb drive. | # Remove the thumb drive. | ||
# Cross your fingers and reboot. The system should boot properly with console on serial. | # Cross your fingers and reboot. The system should boot properly with console on serial. | ||
# Edit <code>/etc/update-extlinux.conf<code> so that if extlinux.conf is regenerated it will retain these settings: | # Edit <code>/etc/update-extlinux.conf</code> so that if extlinux.conf is regenerated it will retain these settings: | ||
## Update the line with <code>serial_port</code> to read <code>serial_port=0</code> | ## Update the line with <code>serial_port</code> to read <code>serial_port=0</code> | ||
## Update the <code>serial_baud</code> line to read <code>serial_baud=115200</code> | ## Update the <code>serial_baud</code> line to read <code>serial_baud=115200</code> |
Revision as of 20:33, 2 May 2020
Installing on second generation PC Engines APU systems (apu2, apu3, apu4)
The following instructions were tested with an apu2e4 and Alpine 3.11.6.
- It's probably a good idea to ensure that the BIOS / Firmware is up to date.
- Create_a_Bootable_USB thumb drive with the current standard x86_64 image from the downloads page.
- Attach to the serial console. Configure your terminal emulator for 115200 8n1.
- Power on the APU.
- When prompted, hit F10 and select to boot from USB.
- At the boot prompt, quickly type a slash to interrupt the default boot, which has a short timeout.
- Continue entering the remainder of this command at your leisure. It should have only one slash at the start, to be clear:
/boot/vmlinuz-lts modules=loop,squashfs,sd-mod,usb-storage nomodeset console=ttyS0,115200 initrd=/boot/initramfs-lts
- Alpine should come up as normal.
- Proceed with installation as normal.
- Before rebooting, edit /boot/extlinux.conf.
- Add
SERIAL 0 115200
as the first line in the file. - In the
APPEND
line, replacequiet
withconsole=ttyS0,115200
- Add
- Remove the thumb drive.
- Cross your fingers and reboot. The system should boot properly with console on serial.
- Edit
/etc/update-extlinux.conf
so that if extlinux.conf is regenerated it will retain these settings:- Update the line with
serial_port
to readserial_port=0
- Update the
serial_baud
line to readserial_baud=115200
- Update the
default_kernel_opts
line toquiet
withconsole=ttyS0,115200
- Update the line with
- Run
update-extlinux
- Examine
/boot/extlinux.conf
.- Make sure it looks OK. Compare with /boot/extlinux.conf-old.
- If something looks wrong,
mv /boot/extlinux.conf-old /boot/extlinux.conf
to roll back the changes and try to figure out what went wrong
- Cross your fingers and reboot. The system should boot properly with console on serial.