Alpine Install: from a disc to PC Engines APU: Difference between revisions

From Alpine Linux
(How to install on APU2-series systems from PC Engines)
 
m (Fix formatting)
Line 13: Line 13:
# [[Alpine_newbie_install_manual#Ways_to_install_Alpine_into_machines_or_virtuals|Proceed with installation as normal.]]
# [[Alpine_newbie_install_manual#Ways_to_install_Alpine_into_machines_or_virtuals|Proceed with installation as normal.]]
# '''Before''' rebooting, edit /boot/extlinux.conf.
# '''Before''' rebooting, edit /boot/extlinux.conf.
  # Add <code>SERIAL 0 115200</code> as the first line in the file.
## Add <code>SERIAL 0 115200</code> as the first line in the file.
  # In the <code>APPEND</code> line, replace <code>quiet</code> with <code>console=ttyS0,115200</code>
## In the <code>APPEND</code> line, replace <code>quiet</code> with <code>console=ttyS0,115200</code>
# 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>
  # Update the <code>default_kernel_opts</code> line to <code>quiet</code> with <code>console=ttyS0,115200</code>
## Update the <code>default_kernel_opts</code> line to <code>quiet</code> with <code>console=ttyS0,115200</code>
# Run <code>update-extlinux</code>
# Run <code>update-extlinux</code>
# Examine <code>/boot/extlinux.conf</code>.
# Examine <code>/boot/extlinux.conf</code>.
  # Make sure it looks OK. Compare with /boot/extlinux.conf-old.
## Make sure it looks OK. Compare with /boot/extlinux.conf-old.
  # If something looks wrong, <code>mv /boot/extlinux.conf-old /boot/extlinux.conf</code> to roll back the changes and try to figure out what went wrong
## If something looks wrong, <code>mv /boot/extlinux.conf-old /boot/extlinux.conf</code> 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.
# Cross your fingers and reboot. The system should boot properly with console on serial.

Revision as of 20:31, 2 May 2020


Installing on second generation PC Engines APU systems (apu2, apu3, apu4)

  1. It's probably a good idea to ensure that the BIOS / Firmware is up to date.
  2. Create_a_Bootable_USB thumb drive with the current standard x86_64 image from the downloads page.
  3. Attach to the serial console. Configure your terminal emulator for 115200 8n1.
  4. Power on the APU.
  5. When prompted, hit F10 and select to boot from USB.
  6. At the boot prompt, quickly type a slash to interrupt the default boot, which has a short timeout.
  7. 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
  8. Alpine should come up as normal.
  9. Proceed with installation as normal.
  10. Before rebooting, edit /boot/extlinux.conf.
    1. Add SERIAL 0 115200 as the first line in the file.
    2. In the APPEND line, replace quiet with console=ttyS0,115200
  11. Remove the thumb drive.
  12. Cross your fingers and reboot. The system should boot properly with console on serial.
  13. Edit /etc/update-extlinux.conf so that if extlinux.conf is regenerated it will retain these settings:
    1. Update the line with serial_port to read serial_port=0
    2. Update the serial_baud line to read serial_baud=115200
    3. Update the default_kernel_opts line to quiet with console=ttyS0,115200
  14. Run update-extlinux
  15. Examine /boot/extlinux.conf.
    1. Make sure it looks OK. Compare with /boot/extlinux.conf-old.
    2. 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
  16. Cross your fingers and reboot. The system should boot properly with console on serial.