Noob starting first server. Installed Ubuntu server, and opted for LVM. However, will that cause me problems on a headless server if I get a power outage and need to reboot? I think yes. Is there a solution, or should i remove LVM before i go too deep setting things up?

  • Crabhands@lemmy.ml
    hexagon
    ·
    1 year ago

    Password prompt on boot load. No monitor and keyboard plugged in, and im assuming i cant SSH until LVM password is entered.

    • drspod@lemmy.ml
      ·
      1 year ago

      Ah, you're talking about LUKS. LVM is just the volume manager.

      The standard way is to add an sshd (such as dropbear) to your initramfs so that you can ssh in and run commands (such as entering the root partition password) during system boot.

      See:

      https://unix.stackexchange.com/questions/5017/ssh-to-decrypt-encrypted-lvm-during-headless-server-boot