Рет қаралды 9,074
Preparation, and knowing how to restore GRUB, can save you from an unbootable system. Here's a couple tips on recovery, and how to chroot into your broken system to restore GRUB.
---- Commands to chroot ------------------------------------------------------------------
sudo mount /dev/(DEVICE HERE) /mnt
sudo mount --bind /proc /mnt/proc
sudo mount --bind /dev /mnt/dev
sudo mount --bind /sys /mnt/sys
ALSO don't forget to mount your BOOT EFI partition if you have a UEFI System
finally to get internet working (I made a typo in the video, there no 'e' in resolv):
sudo cp /etc/resolv.conf /mnt/etc/resolv.conf
---------------------------------------------------------------------------------------------------------------------
Links:
TimeShift video : • Backup Linux with TIME...
Recovery with TimeShift : • How I fixed my bootloa...
Gparted Live : gparted.org/livecd.php
Arch-based Distros : wiki.archlinux.org/index.php/...
Patreon support : / doriandotslash
Music by MrGamer (@AndreasRohdin): / gamermachine