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:
parent
77534f8c9f
commit
cbff66a8bd
|
|
@ -32,8 +32,8 @@ sudo podman run \
|
||||||
localhost/fedora-bootc-raspi:40
|
localhost/fedora-bootc-raspi:40
|
||||||
# arm-image-installer can deal only deal with xz archives, let's deal with that
|
# arm-image-installer can deal only deal with xz archives, let's deal with that
|
||||||
xz -v -0 -T0 output/raw/disk.raw
|
xz -v -0 -T0 output/raw/disk.raw
|
||||||
# substitute /dev/sda with your root disk
|
# substitute $DISK with the location of Raspberry Pi disk
|
||||||
sudo arm-image-installer --target=rpi4 --media=/dev/sda --image output/raw/disk.raw.xz --resizefs
|
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`:
|
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`:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue