Metainformationen zur Seite
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
odroid:hc4:installation [2022/01/04 17:06] – angelegt hossie | odroid:hc4:installation [2022/01/31 14:19] (aktuell) – hossie | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | . | + | ====== Installation ====== |
+ | |||
+ | ===== Allgemein ===== | ||
+ | * [[https:// | ||
+ | |||
+ | ===== Normales Ubuntu von Odroid ===== | ||
+ | * [[http:// | ||
+ | <code bash>dd if=ubuntu-XXX.img of=/dev/sdX bs=4M status=progress oflag=sync</ | ||
+ | ===== ArchLinuxARM ===== | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | <code bash>dd if=ubuntu-XXX.img of=/dev/sdX bs=512 count=264192 status=progress oflag=sync | ||
+ | mkfs.ext4 -m0 /dev/sdX2 | ||
+ | mount /dev/sdX2 /mnt | ||
+ | losetup --show -f ubuntu-XXX.img | ||
+ | kpartx -a / | ||
+ | mkdir /mnt2 | ||
+ | mount -o ro / | ||
+ | bsdtar -xpf ArchLinuxARM-aarch64-latest.tar.gz -C /mnt | ||
+ | cp -a / | ||
+ | sync | ||
+ | umount /mnt | ||
+ | umount /mnt2 | ||
+ | kpartx -d / | ||
+ | losetup -d / | ||
+ | rmdir /mnt2 | ||
+ | mount /dev/sdX1 /mnt | ||
+ | blkid /dev/sdX2 | ||
+ | vi / | ||
+ | </ | ||
+ | < | ||
+ | <code bash> | ||
+ | First Boot: | ||
+ | <code bash> | ||
+ | pacman-key --init | ||
+ | pacman-key --populate archlinuxarm | ||
+ | pacman -Sy | ||
+ | pacman -S wget | ||
+ | wget https:// | ||
+ | pacman -U archlinuxdroid-repo-1.1-1-aarch64.pkg.tar.zst | ||
+ | rm archlinuxdroid-repo-1.1-1-aarch64.pkg.tar.zst | ||
+ | pacman -Sy | ||
+ | passwd alarm | ||
+ | passwd | ||
+ | echo " | ||
+ | systemctl restart sshd | ||
+ | systemctl mask systemd-journald-audit.socket | ||
+ | pacman -S chrony | ||
+ | systemctl enable chronyd --now | ||
+ | systemctl mask systemd-timesyncd | ||
+ | timedatectl set-timezone XXX | ||
+ | mkdir ~/ | ||
+ | mv /boot/* ~/ | ||
+ | echo ' | ||
+ | mount /boot | ||
+ | fdisk / | ||
+ | systemctl reboot | ||
+ | resize2fs / | ||
+ | pacman -S bash-completion man-db uboot-tools | ||
+ | mv / | ||
+ | pacman -Rn linux-aarch64 | ||
+ | mv / | ||
+ | pacman -Su | ||
+ | rm / | ||
+ | systemctl reboot | ||
+ | </ | ||
+ | ===== Armbian (Ubuntu) ===== | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | <code bash>dd if=Armbian_XXX.img of=/dev/sdX bs=4M status=progress oflag=sync</ | ||
+ | <code bash>apt remove unattended-upgrades networkd-dispatcher --purge | ||
+ | systemctl disable smartd | ||
+ | systemctl disable vnstat | ||
+ | rm / | ||
+ | sed -i ' | ||
+ | armbian-config #Kernel update | ||
+ | echo " | ||
+ | timedatectl set-timezone XXX | ||
+ | apt update | ||
+ | apt dist-upgrade -V | ||
+ | apt autoremove --purge | ||
+ | apt clean | ||
+ | systemctl reboot | ||
+ | </ |