PROJET AUTOBLOG


shaarli-Links

Site original : shaarli-Links

⇐ retour index

Note: Réparer le kernel d'un Linux Mint chiffré

dimanche 21 janvier 2018 à 19:37
# https://forums.linuxmint.com/viewtopic.php?f=189&t=83763?f=189&t=83763
# https://forums.kali.org/showthread.php?5753-Encrypted-LVM-install-fails-to-boot/page2
# https://unix.stackexchange.com/questions/297031/unable-to-boot-after-installing-after-systemd-update
cryptsetup luksOpen /dev/sda5 sda5_crypt
mkdir /media/back/
mount /dev/mint-vg/root /media/back/
mount -o bind /dev /media/back/dev
mount -o bind /proc /media/back/proc
mount -o bind /sys /media/back/sys
chroot /media/back/
mount /dev/sda1 /boot

grub-install /dev/sda
update-initramfs -u -k 4.13.0-26-generic
update-grub

umount /boot
exit
umount /media/back/sys
umount /media/back/dev
umount /media/back/proc
umount /media/back
cryptsetup luksClose sda5_crypt
Permalink