You are currently viewing the United Kingdom version of the site.
Would you like to switch to your local site?
29 MIN READ TIME

Next-gen distros

THE 5 BEST NEW DISTROS

Blast off into the future with Matt Holder as he explores the technology powering a new generation of Linux distributions.

CREDIT: Magictorch

Computing never sits still, as new hardware features arrive and software is updated to take advantage of them, so new flaws, bugs and security issues appear. OS architects devise new ways to counter filesystem errors, memory leaks and privacy issues, with Linux always leading the way.

We’ll dissect the problems that next-gen distros are solving, before introducing the concepts that solve the issues and give examples of next-gen distributions you can try today.

The main players in the Linux distribution space are all committing huge amounts of developer time to creating the most reliable experience possible. Using the techniques that we’ve had available for at least a decade, progress has been excellent, but after all this time, advances have arguably slowed down as the experience has become better, so where are the new features being developed?

Commercial options – see Android, Mac OS and Chrome OS – use some of the techniques we’ll be discussing, which have been designed to improve OS reliability. To take one example, Android uses a set of read-only partitions, so the user – who we hear causes a lot of issues – doesn’t have root access to the system. This is just one way new distro architectures are improving user experiences for the better.

Designing a better distro

Unix originated in the ’60s and there are better ways to work now…

Let’s look at some of the changes that have become prevalent in recent years. The first is L the development of init systems, which are integral to a running Linux system as they control the running of all processes. Early in the boot process, the kernel starts the init process and it continues to run as a daemon. Various options exist, all the way from the venerable SysVinit, developed for Unix decades ago. Canonical spearheaded the use of Upstart, before Systemd became the popular choice for most distros.

In the late ’90s/early 2000s, the most commonly used filesystem was extended2 (ext2), soon succeeded by ext3 and ext4, which are journalling filesystems, which greatly increases the reliability when things like power cuts occur. The ZFS filesystem arrived in 2001 and is renowned for its broad feature set and how reliably it stores data. It uses checksumming, which can be used to reconstruct any data that becomes corrupt for any reason. ZFS is probably overkill for most home users, but Ubuntu makes it simple to install and use. Btrfs has been reviled for issues with some RAID functionality, but is reliable for less enterprise purposes and has extra features that we will discuss later.

Built for reliability

A cleverly designed partitioning scheme can be used to replicate what is employed by Chrome OS to provide a reliable method of software updates. Chrome uses an A-B partitioning system, and updates are applied to the partition that isn’t currently used. On the next reboot, the other partition is booted from and if this fails for any reason, the previous partition is booted from again.

Immutability can be achieved in multiple ways, but one technique is to provide immutable root partitions. This means that a set of files is distributed by the project as a rock solid base for the OS. Immutability also refers to the fact that parts of the filesystem are configured as read-only, with the idea being that only the OS developers can initiate updates to files by releasing new upgrades. Using this technique, the OS’s footprint can be quite small, with extra applications being added using various other techniques.

When installing packages on your favourite distro, you are trusting the maintainers to ensure that your distro stays safe. While we are not suggesting that the main distro can’t be trusted, because you are giving root access to your system, every time you install or update an app, any issues in the repository could cause havoc. Adding to this concern, systems such as PPAs, which can be created by anybody, are also given root access, which is a lot of trust to give somebody you don’t know. Modern packaging systems mitigate these concerns by providing sandboxes and containers to minimise access to the wider system. As is often the case in the open source world, multiple solutions exist, such as Flatpak, AppImage and Snap.

BlendOS makes it incredibly simple to use the Waydroid Android emulator, by providing a simple way of installing it.

Another solution to the installation of software is a tool such as Toolbox or Distrobox. These provide tight integration with the user’s session and containers that the tools are managing, so an Ubuntu container can be run, for example, on an Arch installation, and both GUI and command-line apps can be installed.

Where complete separation is required between services, it is still acceptable to run a virtual machine on a host OS. While containers are newer tech and require less overhead, there is also less separation between containers than between the host OS and a VM.

Declarative configuration has been around for years, with systems such as Ansible and SaltStack providing a way to create a set of config files that are applied to machines from a central server, allowing configuration to be changed and software to be added in a highly controlled manner, from as few as one system up to thousands. Imagine being able to configure your distro the same way. We’ll discuss a distro that does just that!

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99p
SUBSCRIBE NOW
30 day trial, then just £9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
March 2024
VIEW IN STORE

Other Articles in this Issue


Linux Format
codeclub
www.codeclub.org.uk
Linux Format
The #1 open source mag Future Publishing Limited,
WELCOME
MEET THE TEAM
This issue, we’re looking at exciting new distributions, so what new distro have you tried recently that you would recommend readers try for themselves?
Cutting edges
Living in the open source world means if
REGULARS AT A GLANCE
Linux to save Windows 10 PCs from the apocalypse?
240 million PCs could be scrapped after October 2025, when free support ends for Windows 10. Or users could just switch to Linux.
Cosmic looking out of this world
Pop!_OS Cosmic DE is to be released as an alpha, with a new terminal and overhauled graphics support.
Chromium Wayland accelerated!
VA-API now works on Linux Ozone/Wayland platform.
NEW YEAR RELEASE!
Italo Vignoli is one of the founders of
DATABASE BASES
David Stokes is a technology evangelist at Percona.
Unity bans VLC plugin
Unity management making friends and influencing people.
OpenWrt router?
OpenWrt floats the idea of its own hardware router.
Man writes kernel in Rust
Maestro is a Unix-like kernel written from scratch in Rust.
Distro watch
What’s behind the free software sofa?
WILY WESTON
Marius Vlad is a senior software engineer at
REISER’S GUILT
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters keeps up with all the latest happenings in the Linux kernel, so you don’t have to.
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to answers@linuxformat.com
Mailserver
WRITE TO US Do you have a burning
HotPicks
Shotwell YouTube Downloader Plus Blue Recorder EncryptPad Buttercup Resources Rnote heXon EDuke32 Delta Chat Proton VPN
OLD-SCHOOL HACKING 101
CREDIT: Magictorch LXF313 will be on sale Tuesday
REVIEWS
Intel Core i7 14700K
Jacob Ridley thinks this is a perfectly good stand-in for a Core i9.
RlxOS 2023.11
Nate Drake finds himself washed up on the rock of ages that is RlxOS , only to discover that it still needs work.
Emmabuntüs 5
Nate Drake finds that despite being hard to pronounce, the name is the only complicated thing about this Debian-based distro.
Manjaro 23.1 Vulcan
Nate Drake boldly goes to take Vulcan for a test spin and finds an incredibly user-friendly and efficient operating system.
ROUNDUP
Password managers
RoboForm Keeper NordPass KeePass 2 Bitwarden
Pi USER
Let them eat lots of Pi!
Hundreds of thousands of Raspberry Pis are hitting the market, with production ramped to the max!
ProPico
Better by design.
Cyberdeck
Survive anything!
PEERLESS PIN NUMBERS
Les Pounder works with groups such as the
Official Pi 5 Case
Can the new official Raspberry Pi 5 case keep the Pi 5 cool? Les Pounder is – brace yourselves readers – on the case…
Geniatech XPI 3566 Zero
All brains and no brawn applies equally to this SBC and to Les Pounder.
Start using MQTT for sensor logs
Les Pounder is a sensitive soul and his new office needs sensors to record data. He’d better break out the maker kit!
IN DEPTH
Orange Pi vs Raspberry Pi
Tam Hanna compares the highest-end single-board computer offerings from Shenzhen Xunlong and the Raspberry Pi Foundation to find out which one is best suited for you.
TUTORIALS
Monitor systems in style
Shashank Sharma doesn’t look dapper in his quickly fading imitation leather jacket, but his terminal is always a sight to behold.
Secure and private comms made easy
Nick Peers takes a fresh look at an old favourite – Jami, a tool that aims to cover all your communication and sharing needs.
Make a Mealie of it
David Rutland dons a tall hat to prepare you a portion of Mealie – a sophisticated recipe management server with a side of meal planning.
Rescue and back up your retro media
Christian Cawley has some old Commodore 64 5.25-inch disks, and wants to revisit some personal files from 40 years ago.
Create NPCs and their conversations
Nate Drake invites you to relive the glory days of point-and-click adventure games by creating your very own.
Emulate an analogue computer digitally
In our continuing journey into analogue computing, Mike Bedford looks at another emulation approach, and how to get a real analogue computer.
The wire to faster Ethernet
Searching for faster than Gigabit Ethernet, the ever frugal Neil Mohr does that compromise thing his ex told him about.
ADMINISTERIA
Do Docker like an adult!
Stuart Burns is as mad as hell and he’s not going to stand for your shoddy Docker deployments any longer!
Starlink
Wherever he may roam, Nate Drake can enjoy fast internet at a fair price.
Hatch
An easy-to-use builder that empowers Mirza Bahic’s creative expression.
PROTECT YOUR SYSTEMS
Davey Winder reveals the biggest threats that hit systems in 2023 and what’s likely to happen over 2024.
CODING ACADEMY
Write and run C64-style 6502 code
David Bolton shows how to get started writing 6502 code and provides a useful example that sorts numbers.
The LXF Shell in… the redirection redemption
Ferenc Deák continues writing shell-enhancing redirection features and hiding the odd film title for you to spot, the little scamp!
Chat
X
Pocketmags Support