This guide will allow you to install linux on Bedrock PC (follow all instructions without the ones marked in red).
text in red are remarks to change or further investigate
Tested versions:
Linux Ubuntu server 20.04.2
Linux Ubuntu server 22.04.1
Tested serial platforms:
...
linux /casper/vmlinuz console=tty0 console=ttyS4,115200n8 ---
Automatically enable ttyS4 (still testing):
linux /casper/vmlinuz console=tty1 console=ttyS4,115200n8 systemd.unit=getty@ttyS4.service ---
Note: the text in bold may be different for you, you just need to add the parameters after that.
...
IMPORTANT: Connect a keyboard to the device (serial input will not work here)
Press ctrl+z
Type the commands in bold:
systemctl status getty@ttyS4.service
systemctl enable getty@ttyS4.service
systemctl start getty@ttyS4.service
Check console redirection or start service automatically
Note: you will not see what you're typing but just continue
After the last command, a console line will appear (switch back to uart input)
Run the following file: /usr/bin/subiquity-shell
2. Install from ssh: this option enables yopu to connect throuth SSH (wasnt tested yet).
3. Install from cloud init: this option uses network boot
Installation process:
Choose language
If prompted to update the installer choose the desired option
Choose keyboard configuration
Configure network interface (not mandatory)
Configure proxy (not mandatory)
Configure ubuntu archive mirror (not mandatory)
Choose installation disk
Choose on which partition to install linux, or choose the whole disk
...