Comment 1 for bug 1297044

Revision history for this message
Sam Pointer (sam.pointer) wrote :

Should anybody trying to be mount an encrypted volume in 2017 from a recovery root prompt, the following steps work on Ubuntu 14.

The primary missing file is the symlink of `/dev/shm` to `/run/shm` and the permissions on the target when booted in this state.

export user="me"
chgrp ${user} /run/shm
chmod g+w /run/shm
cd /dev
ln -s /run/shm/ shm
mount -o remount,rw $(mount | grep "on / type" | awk '{print $1}') /
su - ${user}
/usr/bin/ecryptfs-mount-private