Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edited commands to create image in full os guide #177

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions sites/cheerpx/src/content/docs/13-tutorials/full_os.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,17 @@ Copy the filesystem from the container into a local directory:

```bash
mkdir cheerpXFS
podman cp cheerpxcontainer:/ cheerpXFS/
podman unshare podman cp cheerpxcontainer:/ cheerpXFS/
```

Create an ext2 image from the specified directory:

```bash
mkfs.ext2 -b 4096 -d cheerpXFS/ cheerpXImage.ext2 600M
podman unshare mkfs.ext2 -b 4096 -d cheerpXFS/ cheerpXImage.ext2 600M
```

Learn more about creating a image in the [custom-disk-images] guide.

## 2. Load CheerpX from your index.html

Loading CheerpX is very simple. Create a new file called `index.html` and populate it with the following HTML code.
Expand Down Expand Up @@ -179,3 +181,4 @@ Learn more about `cx.run` in the [CheerpX.Linux.run] reference.
[CheerpX.Linux.create]: docs/reference/CheerpX-Linux-create
[setConsole]: docs/reference/CheerpX-Linux-setConsole
[CheerpX.Linux.run]: docs/reference/CheerpX-Linux-run
[custom-disk-images]: /docs/guides/custom-images
Loading