User Tools

Site Tools


nas:truenas:encrypted_boot-pool_with_zbm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
nas:truenas:encrypted_boot-pool_with_zbm [2024/10/28 00:21] adminnas: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://docs.zfsbootmenu.org/en/v2.3.x/guides/debian/bookworm-uefi.html) This is adapted from the [Debian bookworm instructions for ZBM](https://docs.zfsbootmenu.org/en/v2.3.x/guides/debian/bookworm-uefi.html)
 +
 +## 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/ROOT/${ID} /mnt/update mount -t zfs boot-pool/ROOT/${ID} /mnt/update
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` account:
 ```bash ```bash
-sudo -s 
-# Enter admin's password 
 export ID=$(cat /etc/version) export ID=$(cat /etc/version)
 # 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 /etc/version) export ID=$(cat /etc/version)
 # for sdx drives # for sdx drives
nas/truenas/encrypted_boot-pool_with_zbm.1730071260.txt.gz · Last modified: by admin