This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
linux:crash_recovery [2018/10/08 11:09] tkilla |
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 / | + | # " |
+ | cryptsetup luksOpen / | ||
| | ||
- | # activate the LVM volume group: | + | # activate the LVM volume group (if you use LVM2): |
vgchange -ay | vgchange -ay | ||
| | ||
Line 76: | Line 77: | ||
mount -t proc proc /mnt/proc | mount -t proc proc /mnt/proc | ||
mount -o bind /dev /mnt/dev | mount -o bind /dev /mnt/dev | ||
+ | mount -t sysfs none /mnt/sys | ||
Line 86: | 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 | + | apt install lvm2 cryptsetup-initramfs |
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 113: | Line 115: | ||
== Links: == | == Links: == | ||
- | | + | |
- | * | + | |
+ | * various other hints https:// | ||
+ | |||
+ | |||