nas:truenas:encrypted_boot-pool_with_zbm
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nas:truenas:encrypted_boot-pool_with_zbm [2024/10/28 00:21] – admin | nas:truenas:encrypted_boot-pool_with_zbm [2025/06/06 20:51] (current) – admin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This is adapted from the [Debian bookworm instructions for ZBM](https:// | This is adapted from the [Debian bookworm instructions for ZBM](https:// | ||
| + | |||
| + | ## Preparation | ||
| + | |||
| + | Add an ssh key to the __root__ acount. Log in using ssh to the `root` account. | ||
| + | `sudo` does not allow chroot anymore. | ||
| ## Update a TrueNAS System that uses ZBM | ## Update a TrueNAS System that uses ZBM | ||
| Line 11: | Line 16: | ||
| ```bash | ```bash | ||
| - | sudo -s | + | zfs list |
| + | # find the latest TrueNAS version | ||
| export ID=<new release version> | export ID=<new release version> | ||
| + | ``` | ||
| + | |||
| + | ```bash | ||
| mkdir -p /mnt/update | mkdir -p /mnt/update | ||
| mount -t zfs boot-pool/ | mount -t zfs boot-pool/ | ||
| Line 72: | Line 81: | ||
| ### Create an encrypted boot-pool on one of the mirrored boot disks and copy the TrueNAS system | ### Create an encrypted boot-pool on one of the mirrored boot disks and copy the TrueNAS system | ||
| - | Start an SSH session with the admin account: | + | Start an SSH session with the `root` |
| ```bash | ```bash | ||
| - | sudo -s | ||
| - | # Enter admin' | ||
| export ID=$(cat / | export ID=$(cat / | ||
| # for sdx drives | # for sdx drives | ||
| Line 197: | Line 204: | ||
| Unlock and start TrueNAS. | Unlock and start TrueNAS. | ||
| If it works as expected convert the second mirror boot device to a mirror device for the now encrypted boot-pool. | If it works as expected convert the second mirror boot device to a mirror device for the now encrypted boot-pool. | ||
| - | Again open an SSH connection as the admin user: | + | Again open an SSH connection as the `root`user: |
| ```bash | ```bash | ||
| - | sudo -s | ||
| export ID=$(cat / | export ID=$(cat / | ||
| # for sdx drives | # for sdx drives | ||
nas/truenas/encrypted_boot-pool_with_zbm.1730071260.txt.gz · Last modified: by admin