My Tech Notes
-
Find out more about Ansible
https://www.ansible.com/resources/get-started
-
Crontab explained
-
Adding drivers to a Windows install image
If you need to add drivers to a Windows install USB then do this: 1. Copy the install.wim file from the USB stick to your local drive. (optional, to speed up the process) 2. Run the following command to mount the Windows image file. Assumes that you put the file in C:\temp and have created…
-
What does the number in parentheses mean in manpages
It’s the section that the man page for the command is assigned to. # man 1 man # man 3 find or # man -s 1 man depending on your OS
-
format a disk to fat32 on raspberry pi or linux
—— part 1 ——- create partitions 1) get list of disks # fdisk -l 2) Find disk in list, /dev/??? in this example /dev/sda 3) run fdisk again and specify disk # fdisk /dev/sda 4) print current partiions Command (m for help): p 5) use the d command to delete any of the existing partitiond…
-
Cannot boot because missing external disk
See man pages fstab(5) and mount(8). Using the nofail mount option will ignore missing drives during boot. nofail Do not report errors for this device if it does not exist. So your fstab line should instead look like: UUID=6826692e-79f4-4423-8467-cef4d5e840c5 /backup/external ext4 defaults,nofail 0 0
-
Failed to set MokListRT: Invalid Parameter after updating a RedHat VM
On some hardware, the UEFI firmware seems too old to let shim-x64 write all the EFI variables due to memory constraints you can get around this by adding this line to /etc/yum.conf exclude=shim-x64,mokutil If you’ve already updated and need to fix the problem, try the instructions HERE
-
Adding disk to a VM on FreeNAS
create a new zvol storage pools select location add zol specify name and size click save add a new disk to the vm devices add change type to disk set zvol name to zvol create in step one set mode to AHCI set device order click save
-
Creating and extending Linux LVMs
Notes on how to create or add disk, volume groups and logical volume in Linux (RedHat) 1. First add disk to system by what ever means your system requires. 2. Find name of disk using fdisk # fdisk -l /dev/sd* | grep i ‘Disk’ For my examples below, it would have listed sdb but not…
-
Tail -f for windows
Use the powershell command get-content -wait
Got any book recommendations?