# GRUB

GNU GRUB is a multiboot boot loader that runs when a computer starts and loads and transfers control to an operating-system kernel.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## I was wrong! zswap IS better than zram

DevFeed: [I was wrong! zswap IS better than zram](<https://devfeed.tech/articles/i-was-wrong-zswap-is-better-than-zram-102576.md>)

Original publisher: [Read original article](<https://linuxblog.io/zswap-better-than-zram/>)

Author: Hayden James

Published: 2026-10-27T12:30:49Z

Content type: opinion

Language: en

Sources: [Hayden James](<https://devfeed.tech/sources/hayden-james.md>)

Topics: [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [cgroups](<https://devfeed.tech/topics/cgroups.md>), [GRUB](<https://devfeed.tech/topics/grub.md>), [XFS](<https://devfeed.tech/topics/xfs.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [applications](<https://devfeed.tech/tags/applications.md>), [block](<https://devfeed.tech/tags/block.md>), [blog](<https://devfeed.tech/tags/blog.md>), [boot](<https://devfeed.tech/tags/boot.md>), [builds](<https://devfeed.tech/tags/builds.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [charged](<https://devfeed.tech/tags/charged.md>), [compression](<https://devfeed.tech/tags/compression.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [configure](<https://devfeed.tech/tags/configure.md>), [container](<https://devfeed.tech/tags/container.md>), [containers](<https://devfeed.tech/tags/containers.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [cpu-time](<https://devfeed.tech/tags/cpu-time.md>), [demand](<https://devfeed.tech/tags/demand.md>), [desktop](<https://devfeed.tech/tags/desktop.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [performance](<https://devfeed.tech/tags/performance.md>), [server](<https://devfeed.tech/tags/server.md>), [sysadmins](<https://devfeed.tech/tags/sysadmins.md>), [zram](<https://devfeed.tech/tags/zram.md>), [zswap](<https://devfeed.tech/tags/zswap.md>)

### AI overview

The author now recommends zswap as the usual choice for modern systems with disk swap, especially when swap use is large or variable and storage is fast. Zswap caches compressed pages in RAM up to a pool limit, then evicts pages to backing swap; the author says this uses memory dynamically, reduces NVMe writes, and avoids the performance and suspend/resume problems they encountered after using half their RAM for zram. Their desktop uses zswap with an NVMe swap file. Zram remains useful on small or diskless systems and systems with very slow storage, but the author advises keeping its size around 20-30% of RAM and warns that it can compete with the working set and page cache. For cgroup-limited servers, the author favors zswap because zram memory is not charged to the owning cgroup, while zswap pages are.

### Source excerpt

Update (October 2026): I first published this article on September 1, 2025. In March 2026, kernel developer Chris Down published Debunking zswap and zram myths, which reaches the same conclusion: if in doubt, prefer zswap. Continue reading...

## Automatically Install Ubuntu Server With a Bootable USB

DevFeed: [Automatically Install Ubuntu Server With a Bootable USB](<https://devfeed.tech/articles/automatically-install-ubuntu-server-with-a-bootable-usb-84575.md>)

Original publisher: [Read original article](<https://technotim.com/posts/automatically-install-ubuntu-server-with-a-bootable-usb/>)

Author: Techno Tim

Published: 2026-10-10T13:00:00Z

Content type: tutorial

Language: en

Sources: [Techno Tim](<https://devfeed.tech/sources/techno-tim.md>)

Topics: [Homelab](<https://devfeed.tech/topics/homelab.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [GRUB](<https://devfeed.tech/topics/grub.md>), [ssh](<https://devfeed.tech/topics/ssh.md>)

Tags: [ansible](<https://devfeed.tech/tags/ansible.md>), [cloud-init](<https://devfeed.tech/tags/cloud-init.md>), [homelab](<https://devfeed.tech/tags/homelab.md>), [linux](<https://devfeed.tech/tags/linux.md>), [server](<https://devfeed.tech/tags/server.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [usb](<https://devfeed.tech/tags/usb.md>)

### AI overview

A homelab administrator explains how to build a bootable Ubuntu Server 26.04 USB that installs unattended using Autoinstall, GRUB, and xorriso. The guide covers disk selection, account and SSH setup, preserving BIOS and UEFI boot metadata, validating the ISO, and verifying the installed system before handing configuration over to Ansible.

### Source excerpt

I've been setting up and rebuilding quite a few machines in my homelab, and one thing I keep doing by hand is installing Ubuntu. Normally, I boot from a USB drive, choose the disk, create an account, configure SSH, and wait for everything to finish. After that, I can finally connect and let Ansible take over. None of this is particularly difficult, but it gets repetitive when I'm doing the sam...

## Ubuntu 26.10 drops Btrfs, XFS & ZFS /boot support under Secure Boot

DevFeed: [Ubuntu 26.10 drops Btrfs, XFS & ZFS /boot support under Secure Boot](<https://devfeed.tech/articles/ubuntu-26-10-drops-btrfs-xfs-zfs-boot-support-under-secure-boot-66648.md>)

Original publisher: [Read original article](<https://www.omgubuntu.co.uk/2026/10/ubuntu-2610-secure-boot-grub-change>)

Author: Joey Sneddon

Published: 2026-10-07T16:15:54Z

Content type: news

Language: en

Sources: [OMG! Ubuntu](<https://devfeed.tech/sources/omg-ubuntu.md>)

Topics: [Secure Boot](<https://devfeed.tech/topics/secure-boot.md>), [GRUB](<https://devfeed.tech/topics/grub.md>), [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [ZFS](<https://devfeed.tech/topics/zfs-file-system-features.md>), [XFS](<https://devfeed.tech/topics/xfs.md>)

Tags: [boot-process](<https://devfeed.tech/tags/boot-process.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [ext4](<https://devfeed.tech/tags/ext4.md>), [firmware](<https://devfeed.tech/tags/firmware.md>), [grub](<https://devfeed.tech/tags/grub.md>), [luks](<https://devfeed.tech/tags/luks.md>), [lvm](<https://devfeed.tech/tags/lvm.md>), [news](<https://devfeed.tech/tags/news.md>), [raid](<https://devfeed.tech/tags/raid.md>), [secure-boot](<https://devfeed.tech/tags/secure-boot.md>), [security](<https://devfeed.tech/tags/security.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [ubuntu-26-10](<https://devfeed.tech/tags/ubuntu-26-10.md>), [xfs](<https://devfeed.tech/tags/xfs.md>), [zfs](<https://devfeed.tech/tags/zfs.md>)

### AI overview

Ubuntu 26.10's signed GRUB build will no longer support several `/boot` configurations, including Btrfs, XFS, ZFS, LVM, LUKS and most software RAID, when Secure Boot is enabled. Canonical says reducing the parsers available before the kernel loads is intended to reduce Secure Boot bypass risks. These storage options remain available after Ubuntu boots, and the change does not apply when Secure Boot is disabled.

### Source excerpt

Canonical has confirmed a change in how Ubuntu 26.10 boots on devices with Secure Boot enabled, in an effort to reduce the the attack surface of the boot process. Ubuntu 26.10's signed build of GRUB, which is only used on systems with Secure Boot turned on, no longer supports /boot on Btrfs, XFS, ZFS, LVM, LUKS encryption or software RAID (other than RAID1). HFS+, Apple partition table support and JPEG and PNG image loading is also removed. Ubuntu 26.10 still supports /boot on ext4, FAT and ISO9660 (used for booting from CD/DVDs), as well as, naturally, squashfs for snaps when [...] You're reading Ubuntu 26.10 drops Btrfs, XFS & ZFS /boot support under Secure Boot, a blog post from OMG! Ubuntu. Do not reproduce elsewhere without permission.

## When Ubuntu Updates Break NVIDIA... Again

DevFeed: [When Ubuntu Updates Break NVIDIA... Again](<https://devfeed.tech/articles/when-ubuntu-updates-break-nvidia-again-25164.md>)

Original publisher: [Read original article](<https://www.ivanmorgillo.com/2025/12/11/when-ubuntu-updates-break-nvidia-again/>)

Author: Ivan Morgillo

Published: 2025-12-11T09:18:40Z

Content type: tutorial

Language: en

Sources: [Ivan Morgillo](<https://devfeed.tech/sources/ivan-morgillo.md>)

Topics: [Ubuntu](<https://devfeed.tech/topics/ubuntu.md>), [Nvidia](<https://devfeed.tech/topics/nvidia.md>), [GRUB](<https://devfeed.tech/topics/grub.md>)

Tags: [black-screen](<https://devfeed.tech/tags/black-screen.md>), [driver-fix](<https://devfeed.tech/tags/driver-fix.md>), [drivers](<https://devfeed.tech/tags/drivers.md>), [drm](<https://devfeed.tech/tags/drm.md>), [grub](<https://devfeed.tech/tags/grub.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [logs](<https://devfeed.tech/tags/logs.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [suspend](<https://devfeed.tech/tags/suspend.md>), [ubuntu](<https://devfeed.tech/tags/ubuntu.md>), [ubuntu-25-10](<https://devfeed.tech/tags/ubuntu-25-10.md>), [updates](<https://devfeed.tech/tags/updates.md>), [xfce](<https://devfeed.tech/tags/xfce.md>)

### AI overview

The author reports that on Ubuntu 25.10 with NVIDIA 580 drivers, the system suspended normally but showed a black screen on wake. Their reported fix was to disable NVIDIA DRM modeset through the GRUB configuration, then reboot; afterward, XFCE remained available after suspend and wake. The excerpt omits the variable name and exact commands, and the author qualifies that modeset trouble occurs on some kernel/NVIDIA combinations.

### Source excerpt

Every now and then I update Ubuntu, sip my coffee, install all-the-things... and everything looks fine. Until I suspend. Because of course the moment the PC suspends, NVIDIA decides to have an existential crisis. I start the machine again and black screen. GODDAMMIT! This happened again today, and because Future Me will not remember any [...]

## How to Start Building an Operating System

DevFeed: [How to Start Building an Operating System](<https://devfeed.tech/articles/how-to-start-building-an-operating-system-4504.md>)

Original publisher: [Read original article](<https://feeds.feedblitz.com/~/920733689/0/baeldung/cs>)

Author: Oscar Mauricio Forero Carrillo

Published: 2025-06-25T14:45:06Z

Content type: article

Language: en

Sources: [Baeldung - CS](<https://devfeed.tech/sources/baeldung-cs.md>)

Topics: [Operating system](<https://devfeed.tech/topics/operating-system.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Kernel](<https://devfeed.tech/topics/kernel.md>), [boot](<https://devfeed.tech/topics/boot.md>), [Emulator](<https://devfeed.tech/topics/emulator.md>), [memory handling](<https://devfeed.tech/topics/memory-handling.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [GRUB](<https://devfeed.tech/topics/grub.md>), [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>), [Memory Safety](<https://devfeed.tech/topics/memory-safety.md>)

Tags: [all](<https://devfeed.tech/tags/all.md>), [apply](<https://devfeed.tech/tags/apply.md>), [based](<https://devfeed.tech/tags/based.md>), [building](<https://devfeed.tech/tags/building.md>), [computer](<https://devfeed.tech/tags/computer.md>), [concepts](<https://devfeed.tech/tags/concepts.md>), [development](<https://devfeed.tech/tags/development.md>), [explore](<https://devfeed.tech/tags/explore.md>), [first](<https://devfeed.tech/tags/first.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [languages](<https://devfeed.tech/tags/languages.md>), [learning](<https://devfeed.tech/tags/learning.md>), [machine](<https://devfeed.tech/tags/machine.md>), [operating-system](<https://devfeed.tech/tags/operating-system.md>), [os](<https://devfeed.tech/tags/os.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [resources](<https://devfeed.tech/tags/resources.md>), [system](<https://devfeed.tech/tags/system.md>), [with](<https://devfeed.tech/tags/with.md>)

### AI overview

Starting OS development is easier when you first choose a learning goal, then build and debug in an emulator. The article recommends QEMU for its speed, flexibility, and documentation, Bochs for detailed CPU debugging despite its slower performance and i386 limit, and VirtualBox for a user-friendly GUI. GRUB can simplify kernel loading, while QEMU with GDB supports stepping through code and inspecting memory and registers. Learning paths include Linux From Scratch for assembling a system from source; EGOS-2000 and Operating Systems: Three Easy Pieces for concepts and exercises; and language-specific projects such as C tutorials, a C++ kernel template, Rust examples, Zig's Zen, Nim's Fusion OS, and Go's gokrazy. C++ offers abstractions, type safety, and RAII, but features such as exceptions and dynamic allocation may need runtime support unavailable in low-level kernel code. The suggested approach combines theory with practical work booting, building, and debugging.

### Source excerpt

Examine resources that apply to all operating system development endeavors and explore learning paths based on specific operating system concepts and programming languages. The post How to Start Building an Operating System first appeared on Baeldung on Computer Science. Related Stories How to Make a Bare-Metal Program With UEFI (No OS Required) - Enclosure How to Make a Bare-Metal Program With UEFI (No OS Required) How Bootstrapping Works in Machine Learning

## Linux Emergency Recovery With init=/bin/bash

DevFeed: [Linux Emergency Recovery With init=/bin/bash](<https://devfeed.tech/articles/linux-emergency-recovery-with-init-bin-bash-4518.md>)

Original publisher: [Read original article](<https://feeds.feedblitz.com/~/920030138/0/baeldung/linux~Linux-Emergency-Recovery-With-initbinbash>)

Author: Francesco Galgani

Published: 2025-06-10T19:40:59Z

Content type: tutorial

Language: en

Sources: [Baeldung - Linux](<https://devfeed.tech/sources/baeldung-linux.md>)

Topics: [Disaster Recovery](<https://devfeed.tech/topics/disaster-recovery.md>), [Linux](<https://devfeed.tech/topics/linux.md>), [Bash](<https://devfeed.tech/topics/bash.md>), [boot](<https://devfeed.tech/topics/boot.md>), [GRUB](<https://devfeed.tech/topics/grub.md>), [systemd](<https://devfeed.tech/topics/systemd.md>), [mount](<https://devfeed.tech/topics/mount.md>), [Ext4](<https://devfeed.tech/topics/ext4.md>)

Tags: [1-1-1-1](<https://devfeed.tech/tags/1-1-1-1.md>), [apt](<https://devfeed.tech/tags/apt.md>), [backup](<https://devfeed.tech/tags/backup.md>), [bash](<https://devfeed.tech/tags/bash.md>), [bash-shell](<https://devfeed.tech/tags/bash-shell.md>), [boot](<https://devfeed.tech/tags/boot.md>), [boot-process](<https://devfeed.tech/tags/boot-process.md>), [boot-process-passwd-popular-systemd](<https://devfeed.tech/tags/boot-process-passwd-popular-systemd.md>), [boot-process-passwd-systemd](<https://devfeed.tech/tags/boot-process-passwd-systemd.md>), [bootloader](<https://devfeed.tech/tags/bootloader.md>), [c](<https://devfeed.tech/tags/c.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [emergency](<https://devfeed.tech/tags/emergency.md>), [init](<https://devfeed.tech/tags/init.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [passwd](<https://devfeed.tech/tags/passwd.md>), [popular](<https://devfeed.tech/tags/popular.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [restore](<https://devfeed.tech/tags/restore.md>), [root](<https://devfeed.tech/tags/root.md>), [shell](<https://devfeed.tech/tags/shell.md>), [systemd](<https://devfeed.tech/tags/systemd.md>)

### AI overview

When the bootloader and kernel still work, adding `init=/bin/bash` in GRUB can start Bash as PID 1 with root privileges, bypassing normal services and boot scripts. The root filesystem starts read-only, so remount it read-write before changing passwords or repairing files. For root filesystem corruption, use `break=premount` to reach BusyBox in the initramfs before the damaged filesystem is mounted; there, unlock LUKS, activate LVM, and run `fsck`. To reinstall missing packages, the excerpt shows manually configuring networking and mounts, then using apt and dpkg. Normal reboot commands may fail without systemd; `reboot -f` is usually available, while `sync` followed by writing `b` to `/proc/sysrq-trigger` forces an immediate reboot and risks data loss or corruption. The examples were tested with Linux Mint 22 and are described as applicable to Debian/Ubuntu-based systems; commands need adapting to the installation.

### Source excerpt

Learn to use the init=/bin/bash kernel parameter to access a minimalist root shell on systems that wouldn't otherwise boot. The post Linux Emergency Recovery With init=/bin/bash first appeared on Baeldung on Linux. Click the icon below to watch. Related Stories Linux Emergency Recovery With init=/bin/bash - Enclosure How to Restore Systemd After Deleting It Accidentally How to Dual Boot Windows and Linux

## Linux Detection Engineering - The Grand Finale on Linux Persistence

DevFeed: [Linux Detection Engineering - The Grand Finale on Linux Persistence](<https://devfeed.tech/articles/linux-detection-engineering-the-grand-finale-on-linux-persistence-49121.md>)

Original publisher: [Read original article](<https://www.elastic.co/security-labs/threat-command/the-grand-finale-on-linux-persistence>)

Author: Ruben Groenewoud

Published: 2025-02-27T00:00:00Z

Content type: article

Language: en

Sources: [Elastic Security Labs](<https://devfeed.tech/sources/elastic-security-labs.md>)

Topics: [Linux](<https://devfeed.tech/topics/linux.md>), [Detection engineering](<https://devfeed.tech/topics/detection-engineering.md>), [Persistence](<https://devfeed.tech/topics/persistence.md>), [Security](<https://devfeed.tech/topics/security.md>), [Security Information and Event Management (SIEM)](<https://devfeed.tech/topics/siem-security.md>), [boot](<https://devfeed.tech/topics/boot.md>), [GRUB](<https://devfeed.tech/topics/grub.md>)

Tags: [boot](<https://devfeed.tech/tags/boot.md>), [bootloader](<https://devfeed.tech/tags/bootloader.md>), [detection](<https://devfeed.tech/tags/detection.md>), [detection-engineering](<https://devfeed.tech/tags/detection-engineering.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [linux](<https://devfeed.tech/tags/linux.md>), [operating-system](<https://devfeed.tech/tags/operating-system.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [robust](<https://devfeed.tech/tags/robust.md>), [security](<https://devfeed.tech/tags/security.md>), [siem](<https://devfeed.tech/tags/siem.md>), [techniques](<https://devfeed.tech/tags/techniques.md>)

### AI overview

The final article in a series on Linux persistence detection engineering examines obscure and complex backdoors and persistence mechanisms. It explains how to set them up, detect them with SIEM and endpoint rules, and hunt for them using ES|QL and OSQuery, including a discussion of GRUB bootloader persistence.

### Source excerpt

By the end of this series, you'll have a robust knowledge of both common and rare Linux persistence techniques; and you'll understand how to effectively engineer detections for common and advanced adversary capabilities.

## Help test initial support for Secure Boot

DevFeed: [Help test initial support for Secure Boot](<https://devfeed.tech/articles/help-test-initial-support-for-secure-boot-46934.md>)

Original publisher: [Read original article](<https://bits.debian.org/2019/02/testing-initial-secure-boot-support.html>)

Author: Steve McIntyre, Cyril Brulebois

Published: 2019-02-02T10:00:00Z

Content type: release

Language: en

Sources: [Bits from Debian](<https://devfeed.tech/sources/bits-from-debian.md>)

Topics: [Secure Boot](<https://devfeed.tech/topics/secure-boot.md>), [UEFI](<https://devfeed.tech/topics/uefi.md>), [Debian](<https://devfeed.tech/topics/debian.md>), [GRUB](<https://devfeed.tech/topics/grub.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [Linux Kernel](<https://devfeed.tech/topics/linux-kernel.md>), [test-coverage](<https://devfeed.tech/topics/test-coverage.md>), [trust](<https://devfeed.tech/topics/trust.md>)

Tags: [2019](<https://devfeed.tech/tags/2019.md>), [boot-process](<https://devfeed.tech/tags/boot-process.md>), [buster](<https://devfeed.tech/tags/buster.md>), [debian](<https://devfeed.tech/tags/debian.md>), [grub](<https://devfeed.tech/tags/grub.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [installer](<https://devfeed.tech/tags/installer.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-kernel](<https://devfeed.tech/tags/linux-kernel.md>), [secure-boot](<https://devfeed.tech/tags/secure-boot.md>), [test-coverage](<https://devfeed.tech/tags/test-coverage.md>), [trust](<https://devfeed.tech/tags/trust.md>), [uefi](<https://devfeed.tech/tags/uefi.md>)

### AI overview

The Debian Installer's Buster Alpha 5 release includes initial UEFI Secure Boot support in its installation media. The support is incomplete and uses a temporary test key, so users are asked to test the boot chain across a wider range of hardware and provide feedback.

### Source excerpt

The Debian Installer team is happy to report that the Buster Alpha 5 release of the installer includes some initial support for UEFI Secure Boot (SB) in Debian's installation media. This support is not yet complete, and we would like to request some help! Please read on for more context and instructions to help us get better coverage and support. On amd64 machines, by default the Debian installer will now boot (and install) a signed version of the shim package as the first stage boot loader. Shim is the core package in a signed Linux boot chain on Intel-compatible PCs. It is responsible for validating signatures on further pieces of the boot process (GRUB and the Linux kernel), allowing for verification of those pieces. Each of those pieces will be signed by a Debian production signing key that is baked into the shim binary itself. However, for safety during the development phase of Debian's SB support, we have only been using a temporary test key to sign our GRUB and Linux packages. If we made a mistake with key management or trust path verification during this development, this would save us from having to revoke the production key. We plan on switching to the production key soon. Due to the use of the test key so far, out of the box Debian will not yet install or run with SB enabled; Shim will not validate signatures with the test key and will stop, reporting the problem. This is correct and useful behaviour! Thus far, Debian users have needed to disable SB before installation to make things work. From now on, with SB still disabled, installation and use should work just the same as previously. Shim simply chain-loads GRUB and continues through the boot chain without checking signatures. It is possible to enrol more keys on a SB system so that shim will recognise and allow other signatures, and this is how we have been able to test the rest of the boot chain. We now invite more users to give us valuable test coverage on a wider variety of hardware by enrolling ou