Categories
Linux Tutorials

LXD: How to easily apt update and upgrade all running LXD containers

It is easy to create large number of LXD / LXC containers as it consumes minimal resources. Coupled with btrfs, it consumes minimal hard-disk space also due to de-duplication built-in within btrfs file system. Soon you would find yourself spending a significant amount of time updating (sudo apt update) and upgrading (sudo apt -y upgrade) […]

Categories
Tech Tutorials

How to use dd (Linux copy tool) with progress indicator

dd, the ubiquitous copy tool of Unix/Linux, now comes in with a decent built-in progress indicator. You can run it by the command-line option: status=progress Example: dd status=progress if=/dev/sda of=/dev/sdb Notice how I didn’t add the bs option and used the default. In my experiences the default works best. Tested on: Ubuntu

Categories
Tech Tutorials

Safest way to Update and Upgrade Raspbian Wheezy (Raspberry Pi OS)

There are plethora of instructions on the web to update and upgrade Raspbian and they work too, under normal conditions. However as Raspberry Pi is increasingly being used for Mission Critical tasks, it is important to adopt a procedure which won’t leave you with broken packages or worst, a un-bootable Operating System with your data […]