Mounting exFat Filesystem on Fedora

Just a note to remind myself to install packages required to have Fedora based system to recognize SD cards or other drives formatted using exFAT. # dnf install fuse-exfat exfat-utils -y After the above 2 packages installed, just reinsert the SD cards, no reboot is required.

December 21, 2019 · 1 min · 46 words · kenno

New BIOS Firmware for ThinkPad P1 1.25

It looks like Lenovo just released a new firmware for ThinkPad P1 Gen1 again. Here is the changes in this 1.25 release: CHANGES IN THIS RELEASE Version 1.25 [Important updates] - Update includes security fixes. - Addresses CVE-2019-0151 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0151) - Addresses CVE-2019-0152 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0152) - Addresses CVE-2019-0123 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0123) - Addresses CVE-2019-0124 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0124) - Addresses CVE-2019-0117 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0117) - Addresses CVE-2019-0184 (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-0184) [New functions or enhancements] - Updated the CPU microcode. - Updated Regulatory Information. [Problem fixes] - Nothing. Unlike previous BIOS version 1.24 update, I wanted to try to just use the fwupdmgr command utility to do it. It turned it out it was quite simple and straight forward. ...

December 8, 2019 · 2 min · 370 words · kenno

How to Update Packages on Arch Linux

Finally, I got Arch installed on my ThinkPad X220. This also means that I will need to learn how to install and update software from scratch again. But that’s the fun part, isn’t it? :) Like many other distros, before we can update the installed packages, we need to update the software database (i.e. updated list from the repositories): [root@tora ~]# pacman -Syy Note the above command is similar to apt-get update in Debian/Ubuntu. ...

December 7, 2019 · 1 min · 173 words · kenno

How to Install Ansible on Centos 8

On most Linux distribution, Ansible can be installed either using python3-pip or ansible package. I’m going to show how to get Ansible installed using the second method on CentOS 8. First add the EPEL repository to the CentOS 8 server. # yum localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm Next, install ansible package: # yum install ansible Last metadata expiration check: 0:00:49 ago on Sun 10 Nov 2019 09:33:22 PM AEDT. Dependencies resolved. ======================================================================================================================= Package Arch Version Repository Size ======================================================================================================================= Installing: ansible noarch 2.8.5-2.el8 epel 15 M Installing dependencies: python3-babel noarch 2.5.1-3.el8 AppStream 4.8 M python3-jinja2 noarch 2.10.1-2.el8_0 AppStream 538 k python3-jmespath noarch 0.9.0-11.el8 AppStream 45 k python3-markupsafe x86_64 0.23-19.el8 AppStream 39 k python3-pyasn1 noarch 0.3.7-6.el8 AppStream 126 k libsodium x86_64 1.0.18-2.el8 epel 162 k python3-bcrypt x86_64 3.1.6-2.el8.1 epel 44 k python3-pynacl x86_64 1.3.0-5.el8 epel 100 k sshpass x86_64 1.06-9.el8 epel 27 k Installing weak dependencies: python3-paramiko noarch 2.4.3-1.el8 epel 289 k Transaction Summary ======================================================================================================================= Install 11 Packages Total download size: 21 M Installed size: 104 M Is this ok [y/N]: Let’s confirm that the installation went ok by checking the version of ansible: ...

November 9, 2019 · 2 min · 233 words · kenno

How to Label an XFS Filesystem

When I plugged in an external drive to my laptop, the drive was displayed as a string consits random letters and numbers. Here is an example: ❯❯❯ df -Th | grep sdb /dev/sdb1 xfs 481M 26M 456M 6% /run/media/kenno/5428b182-c92e-466b-89d2-b5b31b80ba48 Though the drive worked perfectly fine, I think it’s ugly, and I wanted to properly give it a good name. Let’s call it externo. But how to do this? You may not believe it, I forgot how to do this. In fact, I couldn’t rememer when the last time I had to (re)label a file system. Fear not,Google can come to the rescue! ...

October 27, 2019 · 2 min · 304 words · kenno