README: don't use sda1 in the use section

If a reader just blindly copy-pastes the script and their machine's
root drive is sda, it will end up in a disaster.
This commit is contained in:
Ondřej Budai committed 2024-05-09 14:43:24 +02:00
1 parent 77534f8c9f
commit cbff66a8bd
1 file changed
+2 -2
+2 -2
View File
@@ -32,8 +32,8 @@ sudo podman run \
localhost/fedora-bootc-raspi:40
# arm-image-installer can deal only deal with xz archives, let's deal with that
xz -v -0 -T0 output/raw/disk.raw
# substitute /dev/sda with your root disk
sudo arm-image-installer --target=rpi4 --media=/dev/sda --image output/raw/disk.raw.xz --resizefs
# substitute $DISK with the location of Raspberry Pi disk
sudo arm-image-installer --target=rpi4 --media=$DISK --image output/raw/disk.raw.xz --resizefs
```
If you want a user inside the image, add `-v $(pwd)/config.toml:/config.toml` to `podman-run` and create the following blueprint in `config.toml`: