2024

How to repair grub

Boot from a Live CD : Install the GRUB2 boot loader: sudo mount /dev/sda5 /mnt sudo grub-install –root-directory=/mnt /dev/sda That’s /dev/sda — the hard disk itself, not the Ubuntu partition…

Create SSH Tunnels

Besides sending ssh data, the ssh protocol can tunnel other traffic between two hosts. The most common tunnels are remote and local. Knowing how to spin up an ssh tunnel…