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… Read More »

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

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… Read More »

RHEL Subscriptions

To be able to use YUM on an RHEL server you need to register it with the RedHat servers. NB: You can do this with a Developer account, which is free! First register the system # subscription-manager register –auto-attach that enter your username and password. or add –username=<username> –password=<password> onto the end of the above… Read More »

Shell Redirect

Discard the output Sometimes you will need to execute a command, but you don’t want the output displayed on the screen. In such cases, you can discard the output by redirecting it to the file /dev/null − $ command > /dev/null Here command is the name of the command you want to execute. The file… Read More »

Yum groups

# yum groups list # yum groups info “Development Tools” # yum groups install “Server with GUI”