rocky-linux-generic-images/README.md

57 lines
1.8 KiB
Markdown
Raw Permalink Normal View History

2023-07-27 14:23:23 +00:00
# README
2023-07-28 06:40:01 +00:00
## Rocky Linux 9 generic ARM64/Aarch64 images
2023-07-29 08:52:46 +00:00
### 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:
```bash
zst --decompress Rocky-9-aarch64-minimal-YYYY.MM.DD-HHMMSS.raw.zst
```
### Flashing the image
```bash
dd if=Rocky-9-aarch64-minimal-YYYY.MM.DD-HHMMSS.raw of=<device> bs=4M conv=sync status=progress
```
2023-07-28 06:40:01 +00:00
### 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>
```
2023-07-29 12:57:29 +00:00
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.
2023-07-28 06:40:01 +00:00
### Expanding the rootfs
`sudo /usr/local/bin/expand-rootfs.sh`
2023-07-29 07:59:38 +00:00
## PSA for non-Rocky folks
2023-07-29 12:50:31 +00:00
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.
2023-07-29 07:59:38 +00:00
2023-07-29 08:52:46 +00:00
## 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:
```bash
# enable EPEL first, because `appliance-tools` is from EPEL
dnf install appliance-tools perl-Digest-SHA zstd
```
2023-07-28 06:40:01 +00:00
## OTHER
2023-07-27 14:23:23 +00:00
**Kickstart syntax reference**: https://docs.fedoraproject.org/en-US/fedora/f36/install-guide/appendixes/Kickstart_Syntax_Reference/