computer:orange_pi_5_plus_32gb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computer:orange_pi_5_plus_32gb [2025-03-25 00:51] – [Create root filesystem] skruppy | computer:orange_pi_5_plus_32gb [2025-03-31 22:22] (current) – skruppy | ||
---|---|---|---|
Line 6: | Line 6: | ||
===== Install Arch Linux with UEFI ===== | ===== Install Arch Linux with UEFI ===== | ||
- | <WRAP center round info 60%> | + | <WRAP center round info 80%> |
This guide is for the 32GB version of the Orange Pi 5 Plus, but probably applies also to other versions. | This guide is for the 32GB version of the Orange Pi 5 Plus, but probably applies also to other versions. | ||
With some small modifications this schould also apply to other RK3588 boards. | With some small modifications this schould also apply to other RK3588 boards. | ||
Line 21: | Line 21: | ||
Setup you build host (e.g. disable auto suspend & add SSH key). | Setup you build host (e.g. disable auto suspend & add SSH key). | ||
- | <WRAP center round important | + | <WRAP center round important |
Somewhere in the process we need to change the mirror: | Somewhere in the process we need to change the mirror: | ||
< | < | ||
Line 63: | Line 63: | ||
mkdir -p / | mkdir -p / | ||
- | echo 'root=UUID=5df70045-78f0-4c45-97f0-7f1783f532b1' >/ | + | echo 'root=LABEL=root cpufreq.default_governor=schedutil' >/ |
cat >/ | cat >/ | ||
Line 87: | Line 87: | ||
systemctl enable systemd-resolved | systemctl enable systemd-resolved | ||
systemctl enable systemd-networkd | systemctl enable systemd-networkd | ||
- | ln -sf ../ | ||
</ | </ | ||
Line 99: | Line 98: | ||
< | < | ||
PW=$(tr -dc A-Za-z0-9 </ | PW=$(tr -dc A-Za-z0-9 </ | ||
- | echo "!!! Login as root using this password: $PW" | + | echo '!!! Login as root using this password: |
echo $PW | passwd -s | echo $PW | passwd -s | ||
Line 110: | Line 109: | ||
exit | exit | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | ln -sf ../ | ||
+ | </ | ||
+ | |||
==== Prepare boot/root device ==== | ==== Prepare boot/root device ==== | ||
The storage device can be a USB Flash Drive or SD card. | The storage device can be a USB Flash Drive or SD card. | ||
- | <WRAP center round tip 60%> | + | <WRAP center round important 80%> |
+ | Make sure the target device has not been auto mounted. | ||
+ | </ | ||
+ | |||
+ | <WRAP center round tip 80%> | ||
If during testing '' | If during testing '' | ||
</ | </ | ||
- | - Partition disks (<wrap em>this will DESTROY all data on the device</ | + | - Partition disks (<wrap em>this will DESTROY all data on the device</ |
- | sgdisk --zap-all /dev/sda | + | sgdisk |
- | sgdisk | + | |
- | sgdisk | + | -I \ |
+ | | ||
+ | -n 2:: -c 2:root -t 2: | ||
+ | --print --verify | ||
</ | </ | ||
- Fortmat partitions:< | - Fortmat partitions:< | ||
Line 128: | Line 139: | ||
- Mount partitions to '/ | - Mount partitions to '/ | ||
mount /dev/sda2 /mnt | mount /dev/sda2 /mnt | ||
- | mkdir -p /mnt/efi | + | btrfs subvolume create / |
- | mount /dev/sda1 /mnt/efi | + | btrfs subvolume set-default / |
+ | mkdir -p /mnt/@root-a/efi | ||
+ | mount /dev/sda1 /mnt/@root-a/efi | ||
</ | </ | ||
- Sync root filesystem to mounted partitions:< | - Sync root filesystem to mounted partitions:< | ||
- | rsync -a opi5plus/ /mnt | + | rsync -aAXUH opi5plus/ /mnt/@root-a |
</ | </ | ||
- Release storage device:< | - Release storage device:< | ||
- | umount /mnt/efi | + | umount /mnt/@root-a/efi |
umount /mnt | umount /mnt | ||
sync | sync |
computer/orange_pi_5_plus_32gb.1742860308.txt.gz · Last modified: 2025-03-25 00:51 by skruppy