Skip to content

Commit

Permalink
docs: Document to-disk --via-loopback
Browse files Browse the repository at this point in the history
Since it's super useful.

Signed-off-by: Colin Walters <walters@verbum.org>
  • Loading branch information
cgwalters committed Jan 24, 2024
1 parent b62f6a5 commit 8cf1618
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,17 @@ storage or filesystem setups, but reuses the "top half" of the logic.
For example, a goal is to change [Anaconda](https://github.com/rhinstaller/anaconda/)
to use this.

### Using `bootc install to-disk --via-loopback`

Because every `bootc` system comes with an opinionated default installation
process, you can create a raw disk image (that can e.g. be booted via virtualization)
via e.g.:

```bash
truncate -s 10G exampleos.raw
podman run --rm --privileged --pid=host --security-opt label=type:unconfined_t -v .:/output <yourimage> bootc install to-disk --via-loopback /output/myimage.raw
```

### Using `bootc install to-filesystem --replace=alongside`

This is a variant of `install to-filesystem`, which maximizes convenience for using
Expand Down

0 comments on commit 8cf1618

Please sign in to comment.