Skip to content

Howto repair a non-booting linux-system

A list of commands on how to get into an non-booting linux-system

1. Use a current linux-live-CD/USB thumbdrive
2. boot the repair-disc, change into console.
3. Identify with blkid which (encrypted) disk you want to open (luks-cryptsetup Open /dev/BLA).
4. Scan with for an LVM volume and activate it with vgchange -ay.
5. chroot into the decrypted system:

# su -
# mount /dev/sda2 /mnt
# mount /dev/sda3 /mnt/boot
# mount -o rbind /dev /mnt/dev
# mount -t proc proc /mnt/proc
# mount -t sysfs sys /mnt/sys
# chroot /mnt /bin/bash

6. Beginn repair (bootloader/kernel/configuration/fstab/crypttab etc.)
7. reboot and cross your fingers that all is now working again. In not: go back to step one.

Post a Comment

You must be logged in to post a comment.