Menu Close

A new laptop

views

A few days ago, after much thought, waiting and reflection, I ordered and received a new laptop to replace the Dell XPS 13 9350 that I have been using since 2016.

It is a Lenovo Thinkbook 14 Gen 7 IML, Intel Core Ultra 7 155H processor, 32GB RAM, 1TB nvme disk.

The laptop is a second computer for me, as I use the fixed desktop workstation I have at home most of the time. On weekends and during vacations or other occasions when I am away from the workstation, I use the laptop instead, which in my beach house turns into a fixed workstation with an external monitor, keyboard and USB mouse.

On the laptop I obviously have an instance of Slackware Linux, and I transfer it from one laptop to another without installing from scratch. In this case I prepared a USB stick with an iso of LiveSlak using Rufus. I started the notebook from USB with the Secure Boot option disabled and proceeded to partition the disk.

I then connected the new laptop to the old one via network cable and proceeded to rsync the old laptop’s partitions onto the new one.

The most entertaining part is setting up the UEFI boot. Once I copied the distribution and chrooted to it, I first proceeded to enroll the pre-existing signing keys for secure boot. A very simple and versatile tool to use for this and for managing secure boot in general is sbctl. After this step, I added my bootloader to the boot menu using efibootmgr, setting it as the primary boot. All I had to do was reboot, re-enable secure boot in the bios, and everything went as expected.

The peripherals and new features were all supported by Slackware without any difficulty and the performance was significantly increased compared to the previous laptop that was more than 8 years old.

A satisfying result in a short time!

 

Farewell to 32-bits

views

My mail server was installed in 2007 and has always been a 32-bit system. It was originally a physical machine, a Pentium-based assembled unit. In 2010 I virtualized it with a p2v (physical to virtual) operation performed via rsync.

Since then it has always run inside a 32-bit virtual machine in VMWare. No particular problem as Slackware Linux still continues to actively support the 32-bit distribution, keeping it completely in sync with the 64-bit version.

Recently, however, I faced the problem of deciding whether it made sense to continue keeping this one 32-bit server while all my others are 64-bit. Especially because, for specific reasons, I started compiling the kernel independently for all my virtual machines, which forced me to set up a compilation VM for 64 bits and one for 32 bits, and therefore to repeat the compilation of the kernel twice.

Furthermore, the fact that Slackware Linux continues to support the 32-bit distribution does not mean that it will continue to do so forever. Virtually all major distributions in recent years have made the decision to only offer a 64-bit version that has enough compatibility to run 32-bit binaries as well. It is possible that sooner or later Slackware Linux will also make this type of decision.

So I convinced myself to switch the server to 64 bit. However, I didn’t want to do a clean installation and then migrate the services. There are 17 years of configurations and customizations in this server and having to do it all over again is one of the reasons why I have never thought about converting it until now. I also like the idea of preserving the age of installation of a server, a bit like when you try to preserve uptime for as many days, months, years as possible.

I therefore thought of using a conversion method that was not officially supported but which logically had every chance of working, that is, taking the latest 64-bit Slackware Linux installation DVD corresponding to the update level of my 32-bit server , boot the virtual machine with this DVD and mount the installed OS partition, then replace all the installed packages with the equivalent 64-bit packages. Finally, reset the kernel to boot and go.

I tested this operation on a clone of the vm and it worked without problems. So after some time I acted on the actual machine with positive result.

After booting and starting the system, now 64 bit, I proceeded to recompile and reinstall the binaries coming from packages that were not part of the official DVD.

The whole thing took about 4-5 hours in total but it was worth it. Now the mail server is to all intents and purposes a 64-bit system originally installed in 2007 but to all intents and purposes upgradeable and maintainable like all the other 64-bit systems in my possession.

Removal of Facebook Login

views

Starting today the option to use the Facebook login to authenticate on this blog has been removed.

From what I have learned, during 2023 Facebook changed its terms of service making the business verification of developer accounts a requirement for being given access to the data necessary to use the Login function. Initially it was however possible to register as a Business simply by providing your identity card.

After a few months they changed their terms again and it became necessary to provide proof of a real business activity (registration with the chamber of commerce, etc.).

Consequently, it is no longer possible to use the Facebook Login for purely amateur purposes by individual users. I’m sorry, but it’s not my fault.

For now, logins via Google and Twitter remain active.

Goodbye Nicklaus Wirth

views

Niklaus WirthOn January 1, 2024, Niklaus Wirth, the inventor of the Pascal, Modula2 and other less widespread programming languages, left us.

He is one of the names that marked global IT evolution in the 80s and 90s. His very famous book “Algorithms + Data Structures = Programs” was the textbook in many university courses around the world, and established the foundations of structured programming.

Pascal, in Borland’s Turbo Pascal version on Ms-Dos PC, was the only “serious” programming language I ever used aside from bash scripting.

I created a small program for generating statistics on the JAM message base of RemoteAccess, the software I used for my FidoNet BBS. It had a certain following among sysops for a while but then fell into disuse and I also lost the sources.

RIP Professor Wirth.

30 years of Slackware!

views

slackware30

Slackware Linux has officially turned 30!

Today July 17th is the anniversary of the release of version 1.0 which took place on July 17th 1993.

Ten years ago I wrote a post for the twentieth anniversary, in which I indicated some risks and problems that the development of Slackware could have faced in the following years, in particular the advent of systemd and wayland.

Now, after 10 years, the situation has seen some evolutions and confirmations. Most notably, Slackware has managed to still remain systemd-free. While by now there is an entire generation of system administrators and Linux users who only know systemd and have never interacted with anything else, sysvinit, rc scripts, resolv.conf and a whole series of traditional – but not less effective – commands and logics remain in Slackware. And we can only be happy about it. However, a minimum of compatibility needed with systemd and logind has been achieved with the use of elogind, and for the moment it seems to be sufficient to keep up with the times.

As far as Wayland is concerned, the use of elogind has made it possible to use it on Slackware in a relatively simple way and for some time now it has been possible to launch KDE Plasma in a wayland session without particular problems. Other desktops and WE using wayland also manage to work on Slackware.

In conclusion, the various threats that posed to a peaceful survival of Slackware over the years seem to have not yet caused irreparable damage after a decade and therefore we celebrate this anniversary with some optimism and good hopes for many more years of satisfaction and joy with the best Linux distribution. 😀

CC BY-NC-SA 4.0 .