Skip to content

Instantly share code, notes, and snippets.

@blackhalt
Created April 5, 2017 20:08
Show Gist options
  • Save blackhalt/f5fe16293b124a0ca440e25a809823d0 to your computer and use it in GitHub Desktop.
Save blackhalt/f5fe16293b124a0ca440e25a809823d0 to your computer and use it in GitHub Desktop.
Kaut kā tā
sudo -i
mkdir /mnt/chroot
mount /dev/sda3 /mnt/chroot
mount -o bind /dev /mnt/chroot/dev
mount -o bind /sys /mnt/chroot/sys
mount -o bind /proc /mnt/chroot/proc
chroot /mnt/chroot
update-grub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment