Howto install alpine raspberrypi5: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
Line 11: Line 11:
for the next step you can modify the following variables on create_image_from_scratch2.sh:
for the next step you can modify the following variables on create_image_from_scratch2.sh:
  user=linus    # normal username
  user=linus    # normal username
  pass=password # password used for normal username and root
  pass=password # password used for normal username and root user
  desktop=lxqt  # desktop environment
  desktop=lxqt  # desktop environment
  rpi5=true    # if you're using a raspberrypi 5 this is true if not then false
  rpi5=true    # if you're using a raspberrypi 5 this is true if not then false

Revision as of 05:27, 31 July 2025

install tools

  • archlinux

install the following tools:

pacman -Sy util-linux parted wget rsync coreutils dosfstools e2fsprogs qemu-user-static git --noconfirm

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 is 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

references