How to build Kairos from scratch for ARM (Raspberry PI)? #1903
vadimzharov
started this conversation in
General
Replies: 1 comment
-
I think you may have to bump the default active size a bit: https://github.com/kairos-io/osbuilder/blob/66e9e7a9403a413e310f462136b70d715605ab09/tools-image/build-arm-image.sh#L18 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I want to build Kairos to create k8s cluster on my Raspberry Pi.
My plan is to build Kairos image, create ISO, write the ISO to SD card and install Kairos on USB SSD drive (and then install k8s).
I cannot find clear instructions on how to do this, I found some keys I can use for AuroraBoot, but I'm getting an error - so I'm not sure I'm doing everything right.
To build the base image I'm using this Dockerfile (to add kubelet/kubeadm binaries to the base Kairos Ubuntu RPI image):
(files in
/assets/*
are to make some OS tune)The build is completed suiccessfully, the image is in my registry, and now I need to create ISO image for RPI using AuroraBoot (hope this is the right next step).
I found the key I need to use with AuroraBoot to build an image for Raspberry -
--set "disk.arm.model=rpi4"
(I found this key in AuroraBoot testing code).Am I correct I have to use this key to build an image for ARM? Are there any other keys I need to use?
If I correct, then I'm getting errors during this stage, I'm executing:
And this is what I'm getting (full output):
The error is happening during bash script
build-arm-image.sh
execution when it is trying torsync
files to loop device, and not related to disk space on my local machine (it has plenty of space).Am I missing something? May be some docker-specific commands/parametes I need to set for
/dev/loop
device?Beta Was this translation helpful? Give feedback.
All reactions