bootc-dev / bootc-dev/bootc

bootc install to-filesystem - having issues with passphrase LUKS

Open
#565 4 comments 0 reactions 0 assignees View on GitHub
area/install bug
Dominant language
Rust
Stars
2.3k
Forks
230
Avg merge
3d 12h
Merged PRs (30d)
38

Description

Hello, I'm trying to install bootc on top of an existing system that's configured with a LUKS passphrase. Reproducing this is easy, just a standard CentOS Stream 9 install - check the box for encryption during installation. Then run the bootc deployment method I describe below on top of the newly installed system. When the system reboot it hangs for a while then drops to a dracut prompt. No interesting log messages as far as I can tell.

I've looked/searched through all the bootc documentation and all of the issues & discussions on GitHub, but I cant seem to find any examples or anyone talking about using regular passphrase LUKS with this bootc deployment method.

Is this a known issue or am I doing something wrong? Thanks for your time.

I am using this deployment method as a test:
```
podman run --rm --privileged \
--pid=host --security-opt label=type:unconfined_t \
--volume /dev:/dev \
--volume /var/lib/containers:/var/lib/containers \
--volume /:/target \
--entrypoint bootc \
quay.io/centos-bootc/centos-bootc:stream9 \
install to-filesystem --skip-fetch-check --replace=alongside /target --root-ssh-authorized-keys /target/root/.ssh/authorized_keys
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.