docs: fix steps for the ready made images

This commit is contained in:
openoms 2023-09-10 20:58:00 +02:00
parent a6a15dc834
commit 547e0456a9
No known key found for this signature in database
GPG key ID: 5BFB77609B081B65

View file

@ -38,8 +38,12 @@
* Find the latest successful build of the default amd64 image: * Find the latest successful build of the default amd64 image:
https://github.com/rootzoll/raspiblitz/actions/workflows/amd64-lean-image.yml?query=workflow%3Aamd64-lean-image-build+branch%3Adev+is%3Asuccess++ https://github.com/rootzoll/raspiblitz/actions/workflows/amd64-lean-image.yml?query=workflow%3Aamd64-lean-image-build+branch%3Adev+is%3Asuccess++
``` ```
# unzip to the same directory # unpack the artifact to the same directory
unzip ./raspiblitz-amd64-image-*.zip unzip ./raspiblitz-amd64-image-*.zip
# unpack the image
gzip -dkv raspiblitz-amd64-debian-lean.qcow2.gz
# install qemu-utils
sudo apt install -y qemu-utils
``` ```
## Write the image to a disk connected with USB ## Write the image to a disk connected with USB
### Option 1 - requires less disk space ### Option 1 - requires less disk space
@ -47,7 +51,6 @@ https://github.com/rootzoll/raspiblitz/actions/workflows/amd64-lean-image.yml?qu
* the .qcow2 volume is 8.1 GB * the .qcow2 volume is 8.1 GB
* identify the connected disk with `lsblk` e.g., `/dev/sdk` * identify the connected disk with `lsblk` e.g., `/dev/sdk`
``` ```
sudo apt install -y qemu-utils
disk="/dev/sdk" disk="/dev/sdk"
sudo qemu-img dd if=./raspiblitz-amd64-debian-lean.qcow2 of=${disk} bs=4M sudo qemu-img dd if=./raspiblitz-amd64-debian-lean.qcow2 of=${disk} bs=4M
``` ```
@ -55,10 +58,6 @@ https://github.com/rootzoll/raspiblitz/actions/workflows/amd64-lean-image.yml?qu
#### Convert the .qcow2 volume to a raw disk image #### Convert the .qcow2 volume to a raw disk image
* the raw .img is 30GB * the raw .img is 30GB
``` ```
# unzip
gzip -dkv raspiblitz-amd64-debian-lean.qcow2.gz
# install qemu-utils
sudo apt install -y qemu-utils
# convert # convert
qemu-img convert ./raspiblitz-amd64-debian-lean.qcow2 ./raspiblitz-amd64-debian-lean.img qemu-img convert ./raspiblitz-amd64-debian-lean.qcow2 ./raspiblitz-amd64-debian-lean.img
``` ```
@ -77,9 +76,7 @@ https://github.com/rootzoll/raspiblitz/actions/workflows/amd64-lean-image.yml?qu
* username: `admin` * username: `admin`
* password: `raspiblitz` * password: `raspiblitz`
* start a terminal for guidance * start a terminal for guidance
* alternatively connect with ssh over the LAN * alternatively connect with ssh over the LAN with the same username and password
* username: `admin`
* password: `raspiblitz`
### Extend the root partition (optional - recommended) ### Extend the root partition (optional - recommended)
* The default image is 30GB. The partition can be extended to the full size of the disk. * The default image is 30GB. The partition can be extended to the full size of the disk.