Linux

Copy a GPT Partition Table to Another Disk

Command Syntax To clone GPT partition table command syntax are as following. sgdisk -R <New_Dis...

Isolate CPUs from Kernel Scheduler

Disable CPU(s) Sysfs # echo 0 > /sys/devices/system/cpu/cpu4/online When disabling a CPU thi...

KVM Virtual Machines

LXC

Passwords

Generate Random Password With pwgen (generate 1 password, length 16, with a least a number and u...

Serial Console

Output to Serial Console Make sure the kernel is started with the following parameter… console=...

Systemd

Introduction systemd is a software suite that provides an array of system components for Linux o...

Linux Unified Key Setup (LUKS)

All the examples below assume wanting to setup a btrfs pool on two disks `/dev/sdX` and `/dev/sdY...