Install Linux kernel to another machine: tar package method
1. Build tar package: $ make O=/build/dir -j8 tar-pkg 2. Copy tar package to another machine 3. Untar the package 4. Update initramfs and grub config: $ sudo update-initramfs -c…
1. Build tar package: $ make O=/build/dir -j8 tar-pkg 2. Copy tar package to another machine 3. Untar the package 4. Update initramfs and grub config: $ sudo update-initramfs -c…
Install: $ sudo add-apt-repository ppa:danielrichter2007/grub-customizer $ sudo apt-get update $ sudo apt-get install grub-customizer Run: $ grub-customizer
Press and hold [Shift] during computer boot untill grub menu shows up.
$ sudo chroot /path/to/chroot/dir Example: $ sudo chroot /home/user/vm
1. Enable root login in sshfs. 2. Mount: $ sudo sshfs -o allow_other,default_permissions root@remote_host:/ /mount/dir
By default, sshfs ignores mount as root user on remote machine (sshfs internally uses SFTP, which in turn uses ssh config). Edit /etc/ssh/sshd_config file and edit the line: PermitRootLogin without-password…
1. Unlock root account: sudo passwd -u root 2. Set password for root account: sudo passwd root 3. Check that it works: su
1. Install vino: sudo apt-get install vino 2. Configure vino: vino-preferences 3. Add to start-up applications this command: /usr/lib/vino/vino-server