More and more scripts for administrative tasks on Linux OS are written by Python. This post aims to introduce a tool to trace Python statement execution. Python is a dynamic object-oriented programming language which can be used to develop various types of software. It offers strong support for integration with other languages and tools and […]
Archives for August 2019
Unable to set a GRUB password on a Raspberry Pi 3 system
The Problem grub-rpi3.efi is built on RPI3 image build stage, and it is missing a crucial module for password prompt: # efibootmgr -v -v Could not read variable ‘BootNext’: No such file or directory error trace: vars.c:332 vars_get_variable(): open(/sys/firmware/efi/vars/BootNext-8be4df61-93ca-11d2-aa0d-00e098032b8c/raw_var, O_RDONLY) failed: No such file or directory lib.c:139 efi_get_variable(): ops->get_variable failed: No such file or directory […]
How to extend an LVM swap partition in Linux
Question: Given an LVM partition, how can we extend it to give some addtional space? Swap filesystem Swap is used if there is not enough memory available for your application. It’s normal and can be a good thing for Linux systems to use swap, even if there is still available RAM. But, it’s not just […]