Quantcast
Channel: Ricky Moorhouse – Ricky Moorhouse
Viewing all articles
Browse latest Browse all 12

Recovering encrypted filesystems

$
0
0
  1. Boot from Live CD / USB
  2. Decrypt the filesystem
    cryptsetup luksOpen /dev/sda5 *hostname*
    
  3. Mount filesystems
    mount /dev/dm-2 /mnt
    mount /dev/dm-3 /mnt/home
    mount /dev/sda1 /mnt/boot
    mount --bind /dev /mnt/dev
    mount --bind /sys /mnt/sys
    mount --bind /proc /mnt/proc
    
  4. Enter chroot
    chroot /mnt

/etc/crypttab should have: sda5crypt UUID=*sda5uuid*



Viewing all articles
Browse latest Browse all 12

Latest Images

Trending Articles





Latest Images