Howto install alpine raspberrypi5: Difference between revisions
Jump to navigation
Jump to search
Mandulete1 (talk | contribs) |
Mandulete1 (talk | contribs) |
||
Line 5: | Line 5: | ||
* debian/ubuntu | * debian/ubuntu | ||
apt -y install util-linux parted wget rsync coreutils dosfstools e2fsprogs qemu-user-static qemu-utils | apt -y install util-linux parted wget rsync coreutils dosfstools e2fsprogs qemu-user-static qemu-utils | ||
* fedora/redhat | |||
dnf -y install util-linux parted wget rsync coreutils dosfstools e2fsprogs qemu-user-static qemu-img | |||
register the qemu-aarch64-static as an arm interpreter in the kernel: | register the qemu-aarch64-static as an arm interpreter in the kernel: | ||
curl -ko /usr/local/bin/binfmt_manager https://raw.githubusercontent.com/mikkeloscar/binfmt-manager/master/binfmt_manager | curl -ko /usr/local/bin/binfmt_manager https://raw.githubusercontent.com/mikkeloscar/binfmt-manager/master/binfmt_manager |
Revision as of 23:50, 26 August 2025
install tools
- archlinux
install the following tools:
pacman -Sy util-linux parted wget rsync coreutils dosfstools e2fsprogs qemu-user-static git --noconfirm
- debian/ubuntu
apt -y install util-linux parted wget rsync coreutils dosfstools e2fsprogs qemu-user-static qemu-utils
- fedora/redhat
dnf -y install util-linux parted wget rsync coreutils dosfstools e2fsprogs qemu-user-static qemu-img
register the qemu-aarch64-static as an arm interpreter in the kernel:
curl -ko /usr/local/bin/binfmt_manager https://raw.githubusercontent.com/mikkeloscar/binfmt-manager/master/binfmt_manager chmod +x /usr/local/bin/binfmt_manager binfmt_manager register aarch64
create alpine image
clone vidalinux alpine git repo:
git clone https://github.com/vidalinux/alpine.git cd alpine
create alpine image stage1:
./create_image_from_scratch1.sh
for the next step you can modify the following variables on create_image_from_scratch2.sh:
user=linus # normal username pass=password # password used for normal username and root user desktop=lxqt # desktop environment rpi5=true # if you're using a raspberrypi 5 this most be true, if not then false
now procced with stage2:
./create_image_from_scratch2.sh
copy image to sdcard
identify sdcard in your computer:
fdisk -l
other option to identify sdcard is:
dmesg
now use raspimg script to copy img to sdcard:
./raspimg copyimg alpine-raspberrypi-5-2025-07-31.img
boot alpine on raspberrypi
to expand sdcard open terminal and execute:
sudo expand-sd