Windows 10 from Linux users perspective

As an long delayed experiment, I installed Windows 10 on my machine and forced myself to use it and go through initial hurtles in order to give it fair chance, see where it stands today as opposed to few years ago when I’ve last tried it and in order to learn few things among everything else. I’ve been using Linux exclusively on my private machines for years, and for work I’ve used Linux and MacOS....

April 21, 2020 · 9 min · Ivan Tomica

Loading modules in PowerShell

Just like Bash on Linux, PowerShell on Windows has it’s PATH-like variable from which modules are being automatically loaded. To find out array of your paths you can use: PS C:\Users\ivant> $env:PSModulePath D:\Ivan\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Progra m Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules Now, I have already experimented a bit with PowerShell but I’ve used Windows PowerShell (different version than Core) and I’ve written a module for it which I’d very much like to continue using in PowerShell Core as well....

April 11, 2020 · 1 min · Ivan Tomica

Wireguard Server-Client configuration

Setting up Wireguard based VPN is quite easy. Depending on your distribution you install kernel headers (as Wireguard is loaded kernel module), install Wireguard and configure it and you’re off to the races. With Linux kernel 5.6 Wireguard will be built in so this process will be even simpler. Installation Currently on my Ubuntu (18.04) based server, I had to do the following: apt-get update apt-get install linux-headers-$(uname -r) add-apt-repository ppa:wireguard/wireguard apt-get install wireguard Since that automatically built kernel module, loading it with:...

April 11, 2020 · 2 min · Ivan Tomica

Move EFI partition to another drive – Windows 10

Seems to me that this my little trip to the Windows land might actually trigger me to learn a thing or two about that OS. Naturally, I’m also planning to jot those things down here. So while installing Windows to spare NVMe drive it decided to place its bootloader to existing EFI partition where up until then only Fedora had its EFI image. This behavior doesn’t suits me as I can’t offline drive while in windows and then pass it through to the Hyper-V machine (long story…)....

April 9, 2020 · 2 min · Ivan Tomica

AWS Vault login on Windows

I’ve since evolved this script a bit and have published it on GitHub: https://github.com/ivantomica/AWSVault To log in into AWS I prefer to use small function which calls aws-vault utility and gets URL to login to specific AWS account and then opens that AWS account in its own container tab in Firefox. Reason for this is that my natural habitat is terminal, or textual interface in general, so invoking thing from there instead of doing 20 clicks through interface somehow feels better to me....

April 9, 2020 · 2 min · Ivan Tomica

Replacing OfflineIMAP with MBSync (isync)

For most of my private email needs I prefer to use Mu4e within Emacs. It is a module of Emacs which basically searches through Mu index file. Naturally, to be able to index something, you first need to fetch it. In this case “it” are email messages from the server, or, my mailbox if you wish. For this particular purpose OfflineIMAP utility has served me well over the time, and to be honest, my needs are quite simple:...

March 31, 2020 · 2 min · Ivan Tomica

Cleaning up ZFS GPT signatures

I have been previously installing Ubuntu on ZFS (root-on-zfs) and since then I’ve transitioned to Fedora, on ext4+lvm, to avoid much complication and hassle. It is also not necessary for me to have all those nice ZFS features on root. When I was installing Fedora I have reformatted existing drive. Unfortunately although new GPT should’ve been created it seems like I’ve missed something and root of my device was identified as ZFS member:...

March 29, 2020 · 5 min · Ivan Tomica

Disabling comments

Obviously, I’ve decided to revert this decision on new articles again. There has been this thought in my head about completely disabling comments on this website for some time now. Sure, it is nice to get nice feedback for the articles I’ve written in the past or comments that correct some of outdated or otherwise incorrect information in articles but I think that those comments can be easily posted by contacting me directly....

February 19, 2020 · 1 min · Ivan Tomica

Expanding ZFS pool on Linux VPS

In order to expand ZFS pool first step is to resize underlying disk. Once that’s done, by default on Linux, partition 9 of size 8MB is created at the end of the disk. Reasoning for this partition is not completely clear for me, but according to some random discussions on the internet, it would seem that it comes from Solaris, but no clear explanation why it exists in the first place....

February 12, 2020 · 2 min · Ivan Tomica

What do I do?

Prompted by the excellent article at RedHat’s blog on the topic of “What my family thinks I do all day?” I decided to do the same research on my own, just to see where I stand and how much understanding I get from the family about the work that I do. It is quite hard to explain things that sysadmins do in plain English, especially when the audience is not very technical....

January 8, 2020 · 6 min · Ivan Tomica