I could not login into the Wiki and add the following.
Let me post it here:
Installing Mageia 8 on the PC Engines APU1d.
You probally can use this information for all other APU1* versions also.
Since the APU1d is a headless device (you can't connect a monitor to it) you need a serial cable to connect to it.
I have a serial cable that on one end is a rs232 connector that goes into the APU1d and on the other end it has a USB connector that goes into your computer.
On my APU1d I installed a newer coreboot/seabios BIOS that fixed some problems with earlier BIOS versions:
https://pcengines.github.io/After updating the BIOS its time to connect the serial cable to your APU1d and your computer.
I used Mageia-8-netinstall-x86_64.iso and put that image on a small SanDisk Cruzer usb stick drive and put that into one of the USB slots of the APU1d still with the APU powered off.
I used the program "screen" but other terminal programs like minicom and putty should work also.
When you connect your serial cable to your computer run "dmesg" to see which device it added and you need to use.
For example my USB cable information in dmesg showed up like this:
- Code: Select all
[ 1048.669354] usb 2-2: new full-speed USB device number 4 using xhci_hcd
[ 1048.824013] usb 2-2: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00
[ 1048.824021] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1048.824024] usb 2-2: Product: CP2104 USB to UART Bridge Controller
[ 1048.824026] usb 2-2: Manufacturer: Silicon Labs
[ 1048.824029] usb 2-2: SerialNumber: 0130DA31
[ 1048.869198] usbcore: registered new interface driver usbserial_generic
[ 1048.869209] usbserial: USB Serial support registered for generic
[ 1048.871739] usbcore: registered new interface driver cp210x
[ 1048.871751] usbserial: USB Serial support registered for cp210x
[ 1048.871778] cp210x 2-2:1.0: cp210x converter detected
[ 1048.886077] usb 2-2: cp210x converter now attached to ttyUSB0
The bit of information you want to know is in the last line where it says "attached to ttyUSB0".
On my system I need to make sure the permissions of this device is right so I can use the program screen as a normal user and not as a root user.
Everytime I connect the cable I become root and "chmod 666 /dev/ttyUSB0". After that I can access the device as a normal user.
With the command "screen /dev/ttyUSB0 115200" you open up the connection with the APU1d at a baudrate of 115200 baud.
Now its time to power on the APU1d and if all goes well you should see something like:
- Code: Select all
coreboot build 20202905
BIOS version v4.12.0.1
Press F10 key now for boot menu
Select boot device:
1. USB MSC Drive SanDisk Cruzer Fit 1.00
2. AHCI/0: Samsung SSD 850 EVO mSATA 120GB ATA-9 Hard-Disk (111 GiBytes)
3. Payload [setup]
4. Payload [memtest]
Here you can see I pressed F10 and this gives you a boot menu of 4 options and that I also have a 120GB Samsung SSD installed.
Since this is a serial connection you can use your keyboard to input what you want just like on a normal terminal.
In this setup I select 1 to boot of the Mageia netinstall USB install stick and once grub shows up at the boot: line to select which mode you want to install Mageia you type:
- Code: Select all
text console=tty0 console=ttyS0,115200n8 <press enter>
This will start the Mageia 8 netinstall in TEXT mode instead of launching a graphical desktop interface and connects console tty0 of the APU1d to your screen session.
From here select from which server on your LAN or on the net you want to install Mageia 8 from.
When it comes to selecting a desktop environment don't and deselect any selected DE's.
Go to advanced options and select router/firewall (or something else like WEB server) and deselect everything desktop related.
Beware: At the end of the installation the Summary screen with all modules is really slow/slugish to navigate through.
Editing a selected module goes without lag.
Don't try to setup everything from there from within the installer.
Just try to get it all installed first and after installation and after the first boot you can customize it all.
When the installer says its done remove the USB stick and reboot.
Wait until "Press F10 key now for boot menu" shows and press F10 and then select the device where you installed Mageia on.
Now wait a couple of seconds (grub is not showed) and if all went well you should see the boot output of Mageia ending up with:
- Code: Select all
Mageia release 8 (Official) for x86_64
Kernel 5.10.75-desktop-1.mga8 on a Dual-processor x86_64 / ttyS0
localhost login:
You now have Mageia 8 successfully installed on your APU1d.