Recovering encrypted filesystems
- 
Boot from Live CD / USB
 - 
Decrypt the filesystem
 
<code class="markdown">cryptsetup luksOpen /dev/sda5 <span class="emphasis">*hostname*</span>
</code>
- Mount filesystems
 
<code class="sql">mount /dev/dm-2 /mnt
mount /dev/dm-3 /mnt/home
mount /dev/sda1 /mnt/boot
mount <span class="comment">--bind /dev /mnt/dev</span>
mount <span class="comment">--bind /sys /mnt/sys</span>
mount <span class="comment">--bind /proc /mnt/proc</span>
</code>
- Enter chroot chroot /mnt
 
/etc/crypttab should have: sda5_crypt UUID=sda5_uuid