ZFS Mount encrypted zfs-on-root from Live CD?

  1. I'm really bad and rm'd a critical file, /libexec/ld-elf.so.1
  2. I have a backup of the file on my disk but I'm unable to access it. I'm locked out of single user mode.
  3. I have no idea how to mount my encrypted drive using the Live CD.
Please help.

Edit - running FeeBSD 10.1
 
I found this, will try.

Code:
# zpool import
# mkdir -p /tmp/bootpool
# zpool import -fR /tmp/bootpool bootpool
# geli attach -k /tmp/bootpool/bootpool/boot/encryption.key /dev/ada0p4
Enter passphrase:
# zpool import
 
Back
Top