geli initialization at rc.conf for gmirror drive

    How can I do that? user@serv:~ % l /dev/mirror/mirror 119 crw-r----- 1 root operator - 0x77 Aug 8 14:01:02 2019 /dev/mirror/mirro rc.conf geli_devices="mfid0p8 mirror" geli_mfid0p8_flags="-p -k /root/1.key" geli_mirror_flags="-p -k /root/2.key" mirror/mirror does not work as well.

    Solved GELI issue - geli: Wrong key

    First time, I have the following error. user@hpv3:/root % sudo dd if=/dev/random of=/root/data1.key bs=64 count=1 1+0 records in 1+0 records out 64 bytes transferred in 0.000215 secs (297142 bytes/sec) user@hpv3:/root % sudo geli init -s 4096 -K /root/da2.key /dev/mfid0p8 Enter new passphrase...
  3. Petr Fischer

    Solved How to mount FreeBSD 12 GELI encrypted ZFS root manually?

    Hello! I have FreeBSD 12 installation with GELI encrypted ZFS root partition (created automatically from the installer). But now, my HW died and I need to import and mount the root filesystem as external disk. How can I mount this GELI encrypted ZFS root partition manually please? Note: In the...
  4. D

    mountroot error 19 when using GPT label on GELI encrypted root on 12.0-Release

    Hello, I'm installing FreeBSD 12.0-Release and I'm using the Shell option in the installer to partition my disk by hand. I have a swap and a root partition. I'm using GPT label to label them, and GELI for the encryption. After completing the installation and rebooting the host, I'm asked for...
  5. goshanecr

    Right way to migrate 11.1 r326098 to 11.2 r348355 with zroot on geli

    Good day! I have a box with FreeBSD 11.1-STABLE r326098 amd64. It have a ZFS root on GELI encrypted providers: zpool status pool: bootpool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM bootpool ONLINE 0 0 0...
  6. Q

    Mounting an encrypted zfs GELI partition - zpool?

    Using a live media, I have taken a dd image of my main encrypted zfs GELI FreeBSD partition (not the entire disk) and of the encrypted key file as well. The dd image and the encrypted file are on an external disk now. Now I started FreeBSD normally, I did mdconfig and did a geli attach of the dd...
  7. Nyakov

    EFI Full disc encryption with GELI and key file

    Can someone clarify how to use removable flash drive with encryption key with new full disc encryption process? The new approach is to encrypt /boot altogether with /root filesystem. So, as I understand, initial encryption performed by EFI loader. Is there a way to pass keyfile to EFI loader...
  8. D

    Geli and default US

    Hello, I want try to change the US keymap (Stdin?) that GELI uses to input the password. I used the automatic ZFS Geli encryption. Is it possible to change to spanish keyboard? I was reading this: But not solution found. Thanks, I am newbie at Freebsd. Sorry for my English.
  9. Y

    HP ML110 G6 - Unable to use the keyboard at the BSD Loader.

    Hello, So this is a long story. Last week i've upgraded from a ML110 G5 -> ML110 G6. I've been using FreeBSD for quite a while and been happy with it for a long time. I've read multiple threads about the ML110G6 being unable to use the keyboard at the BSD Bootloader. Thread #1 Thread #2 I've...
  10. vermaden

    HOWTO: FreeBSD Desktop - Part 2.1 - Install FreeBSD 12

    I would like to share HOWTO in 𝐅𝐫𝐞𝐞𝐁𝐒𝐃 𝐃𝐞𝐬𝐤𝐭𝐨𝐩 series about fonts and frameworks. 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗗𝗲𝘀𝗸𝘁𝗼𝗽 - 𝗣𝗮𝗿𝘁 𝟮.𝟭 - 𝗜𝗻𝘀𝘁𝗮𝗹𝗹 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝟭𝟮 You may also like earlier articles in the series. Part 1 – Simplified Boot...
  11. D

    Solved Cannot upgrade to FreeBSD 11.X – cannot find the pool (zfs) / ada0 not listed

    Hello everyone! Last week I tried to upgrade from source from 10.3-STABLE to 11.2-STABLE on my laptop but the new kernel (GENERIC) failed to boot. I thought that it might be safer to upgrade from binary, so I built and installed 10.3-RELEASE in order to get freebsd-update working and then I...
  12. NapoleonWils0n

    change geli password for encrypted zfs root partition

    Heres how to change the geli password for encrypted zfs root partition find the root partition ls /dev/ | grep eli because i have an encrypted root and swap partition this returns 2 partitions ada0p4.eli and ada0p5.eli so we need to check /etc/fstab to see which partition is the swap and...
  13. N

    Solved Can't boot from encrypted partition.

    Hello, FreeBSD community. I need help with booting from an encrypted partition. Until now, my EFI machine booted from an unencrypted ZFS, while the rest of the system resided on an encrypted ZFS. The layout was like this: /dev/ada0 |- /dev/ada0p1 (efi, 800k) |- /dev/ada0p2...
  14. nielsk

    Encrypting home on a system already in use

    I set up my FreeBSD-desktop nearly a year ago but with unencrypted disks (please don't ask…). Now I am in the need to encrypt at least the home directory of my user. What would be the best way to do that without reinstalling my system? I have two disks in one zpool-mirror taking up the whole...
  15. B

    Other geli attach and mount for non-root user

    Hello! I am setting up a FreeBSD file server with encrypted storage. The root filesystem is on ZFS and the storage disks are encrypted with GELI with ZFS on top of that. Now I want to make it easy for both me and my wife to mount the pool using a password after the server boots. I have created...
  16. E

    Compile GELI with OpenSSL from ports

    FreeBSD 11.1 i386 I have compiled and installed openssl from ports, so there are: a) /usr/bin/openssl (OpenSSL 1.0.2k-freebsd 26 Jan 2017) with /lib/, /usr/lib/ and b) /usr/local/bin/openssl (OpenSSL 1.0.2n 7 Dec 2017) with /usr/local/lib/
  17. A

    ZFS FreeBSD 11.1 geli keys from bsd-installer

    Hi, I'm new to FreeBSD and learning about geli encryption. I've setup a system using the FreeBSD 11.1 installer. The storage setup is 4x 6TB disks using zfs. Using the installer I chose a RAID 1+0 setup (using all four disks), with full-disk encryption. The installer created 2 zfs pools...
  18. geek

    Other Anti-forensic key splitting for GELI?

    Hi. Does, or will, GELI support anything similar to the "AF-Splitter" found in LUKS? Its purpose is to mitigate the recovery of key material from remapped bad sectors of HDDs or SSDs. It stores some additional random data on the disk and xor-encrypts the encrypted key material with stuff...
  19. K

    Trouble with ZFS import/export

    Hi all, I'm fairly new to ZFS, but I've been using derivatives of FreeBSD for a few years now, namely pfSense. I have set-up a system (Intel NUC NUC5CPYH, updated to latest firmware) to have a remote replica of a zfs volume on a USB 3.0-attached Seagate Backup+ Hub 8TB). I was slightly in doubt...
  20. R

    Solved Wrong geli mediasize?

    Hi, I was using geli to encrypt a 1TB disk, but the encrypted disk size much less than the original one. Geom name: ada1.eli State: ACTIVE EncryptionAlgorithm: AES-XTS KeyLength: 256 AuthenticationAlgorithm: HMAC/SHA256 Crypto: software Version: 7 UsedKey: 0 Flags: AUTH KeysAllocated: 1864...