User Tools

Site Tools


linux:crash_recovery

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
linux:crash_recovery [2018/10/08 11:09]
tkilla [Full Disc Encrypted System Rescue]
linux:crash_recovery [2022/07/10 02:03]
tkilla
Line 61: Line 61:
   fdisk -l    fdisk -l 
      
-  # open the container: +  # open the container  
-  cryptsetup luksOpen /dev/sdXY sdXY_crypt+  # "sdb5_crypt" is just an example. **Check what's written in /etc/crypttab - the names must match!** 
 +  cryptsetup luksOpen /dev/sdXY sdXY_sdb5_crypt
      
-  # activate the LVM volume group:+  # activate the LVM volume group (if you use LVM2):
   vgchange -ay   vgchange -ay
      
Line 87: Line 88:
 All following commands are executed inside the broken system. Some hints for repairs: All following commands are executed inside the broken system. Some hints for repairs:
  
-  apt install lvm2     # debian uninstalled lvm during an upgrade :(+  apt install lvm2 cryptsetup-initramfs    # debian uninstalled lvm during an upgrade :(
  
 If your root system is BTRFS, you need btrfs-progs and the kernel module during the early initramfs boot stage: If your root system is BTRFS, you need btrfs-progs and the kernel module during the early initramfs boot stage:
Line 114: Line 115:
  
 == Links: == == Links: ==
-  * https://feeding.cloud.geek.nz/posts/recovering-from-unbootable-ubuntu-encrypted-lvm-root-partition/+ 
 +  really helpul! https://feeding.cloud.geek.nz/posts/recovering-from-unbootable-ubuntu-encrypted-lvm-root-partition/ 
 +  * various other hints https://askubuntu.com/questions/567730/gave-up-waiting-for-root-device-ubuntu-vg-root-doesnt-exist#567897
  
  
  
  
linux/crash_recovery.txt · Last modified: 2022/07/10 02:07 by tkilla