Ubuntu: initramfs-tools doesn't have a root folder


I'm trying to setup remote ssh to an encrypted lvm server following the instructions here. But they assume there are files in /etc/initramfs-tools/root but my brand new 16.04 install has no root folder. Have these been moved?



On a remote server you should create sudo mkdir /etc/initramfs-tools/root && sudo mkdir /etc/initramfs-tools/root/.ssh Then sudo nano /etc/initramfs-tools/root/.ssh/authorized_keys and insert you pub keys from your local host nano ~/.ssh/id_rsa.pub

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »