Wipe hard disks with Hyper-V

Wiping hard disks with DBAN requires to disconnect all other hard drives you do not intend to wipe. More importantly, you cannot use your PC for other tasks since it needs to boot the DBAN OS.

Luckily, Hyper-V allows you to passthrough raw disks. This even works on Windows 10 or 11 if you install the Hyper-V role.

You can use DBAN or Shredos. Mount the ISO file as bootable device in the VM and wipe away!

Here are the steps:

Replace data disk on OpenMediaVault with SnapRAID

make sure to have a completed snapraid sync and stop all processes accessing the drive (docker etc)

first format the new disk to ext4

parted -s -a optimal /dev/sdx mkpart primary ext4 0% 100%

mkfs.ext4 -m 0 -T largefile4 /dev/sdx1 (largefile4 option for more space using large video and audio files)

then copy all files over to the new disk

make a symbolic link to the new device:

ln -s /srv/dev-disk-by-uid-xxxxxxxxxxxxxxxxx /diskx

Veeam for Linux Agent on OpenMediaVault

Veeam Software System Requirements


sudo apt install linux-headers-$(uname -r)
sudo apt install efibootmgr
sudo apt install isolinux

Custom Veeam recovery media
sudo apt update
sudo apt install squashfs-tools
sudo apt install xorriso
sudo apt install syslinux

Veem for linux agent free on OpenMediaVault

wget the agent + dpkg -i 

CloudFlare DDNS on Watchguard

When using DDNS to update your IP address to CloudFlare, use the following settings:

User: the email address associated with your CloudFlare account
Password: the global API key
Domain: top level domain name

You cannot use a subdomain so when running a website on another IP address, it is only reachable with the www subdomain.

Kodi on ubuntu server 20.04 LTS

Install performed on system with N3350 CPU:

 

sudo apt-get update
sudo apt-get install software-properties-common xorg xserver-xorg-legacy alsa-utils mesa-utils git-core librtmp1 libmad0 lm-sensors libmpeg2-4 avahi-daemon libva2 vainfo i965-va-driver linux-firmware dbus-x11 udisks2 openbox pastebinit udisks2 xserver-xorg-video-intel
sudo apt-get dist-upgrade
sudo dpkg-reconfigure xserver-xorg-legacy

Now edit /etc/X11/Xwrapper.config and add the following into a new line at the end of the file:
needs_root_rights=yes

OMV resize system partition

OMV 5 install on GPT partition / UEFI boot

resize partition in gParted
make sure not to delete and recreate any partition because this changes the UUID of the partition which is referenced in fstab and /etc/initramfs-tools/conf.d/resume
reboot machine
at grub prompt
ls to list disks
ls (hd1,gpt2)/ to search for /boot/grub or /grub partition (try different partitions)
when found use following commands with correct partition: