This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:crash_recovery [2018/10/08 11:04] tkilla |
linux:crash_recovery [2022/07/10 02:07] (current) tkilla [Full Disc Encrypted System Rescue] |
||
---|---|---|---|
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 100: | Line 102: | ||
Write one module name like " | Write one module name like " | ||
- | Then regenerate the initramfs for all of the installed kernels: | + | Then regenerate the initramfs for all installed kernels: |
- | update-initramfs -c -k all | + | update-initramfs -u -k all |
+ | |||
+ | |||
+ | * Check that the name in / | ||
+ | * Also check the UUID entries in / | ||
TbC.. There may be various other reasons for bootproblems... | TbC.. There may be various other reasons for bootproblems... | ||
+ | |||
+ | |||
+ | |||
+ | == Links: == | ||
+ | |||
+ | * really helpul! https:// | ||
+ | * various other hints https:// | ||
+ | |||
+ | |||
+ | |||