Go to file
2023-08-16 09:18:20 +05:30
includes fix fix useradd 2023-08-16 09:18:20 +05:30
scripts maybe final one, idk 2023-07-28 13:55:52 +05:30
.gitignore update .gitignore 2023-07-29 13:02:55 +05:30
create-image.sh remove the --cache option and do not log to files, only to the console 2023-08-15 09:59:06 +05:30
LICENSE use GPL v2.0 as the repo license 2023-07-27 19:55:51 +05:30
README.md pawmise, last update to readme 2023-07-29 18:27:29 +05:30
Rocky-9-aarch64-Orange-Pi-5-minimal.ks change appliance name to better reflect what is being built 2023-08-12 09:47:53 +05:30
test-kickstart-file.sh add script to test the kickstart file(s) 2023-08-01 22:25:35 +05:30

README

Rocky Linux 9 generic ARM64/Aarch64 images

Extracting the image

You probably downloaded the Rocky-9-aarch64-minimal-YYYY.MM.DD-HHMMSS.raw.zst file and are wondering how to extract. Run the following command:

zst --decompress Rocky-9-aarch64-minimal-YYYY.MM.DD-HHMMSS.raw.zst

Flashing the image

dd if=Rocky-9-aarch64-minimal-YYYY.MM.DD-HHMMSS.raw of=<device> bs=4M conv=sync status=progress

SSH

SSH is enabled on port 22. Logging-in as root is disabled, but you can login as user rocky.

User credentials

username: rocky
password: rockylinux (you will be forced to change this)
username: root
password: <disabled>

It is recommended that you do not set a password for the root user as this is safer (nothing is 100% safe). But if you really want to (do this at your own discretion), you can log into root's login shell with sudo -i and then set a password for the root user.

Expanding the rootfs

sudo /usr/local/bin/expand-rootfs.sh

PSA for non-Rocky folks

There are two repositories that are maintained by Rocky Linux. One repository provides packages that are specific to SIG/AltArch for SBC enablement. Another repository is basically ELRepo + some Rocky stuff. Depending on your needs, this may or may not be a good thing. Please change this as you see fit.

Notes for executing the script

Firstly, the prerequisite for running all the commands in the create-image.sh script can be installed with the following command:

# enable EPEL first, because `appliance-tools` is from EPEL
dnf install appliance-tools perl-Digest-SHA zstd

OTHER

Kickstart syntax reference: https://docs.fedoraproject.org/en-US/fedora/f36/install-guide/appendixes/Kickstart_Syntax_Reference/