Dualbooting Alpine Linux on Dell XPS

By chimo on (updated on )

A while back, I got a Dell XPS machine that came with Ubuntu preinstalled. I’ve been running Arch Linux on most of my machine for several years now, so decided to install Arch Linux alongside Ubuntu.

Fastforward a few years: I’ve been interfacing more and more with Alpine Linux lately and want to try it as a daily distro for a bit, so I’ve decided to replace the Arch Linux install on the XPS with Alpine.

After installing Alpine Linux on a separate partition, I booted back in Ubuntu and, grub-mkconfig -o /boot/grub/grub.cfg but it complained about an unknown filesystem when looking at the Alpine partition. A bit of searching led me to a StackExchange post that mentions:

When an ext4 filesystem has the metadata_csum_seed feature enabled, then grub-install will not work and report this grub-install: error: unknown filesystem error.

[…]

you can disable the feature with tune2fs -O ^metadata_csum_seed /dev/sda1

When running the tune2fs command, I was greeted with:

tune2fs: Filesystem has unsupported read-only feature(s) while trying to open /dev/sda1

It turns out that the version of tune2fs on Ubuntu is older than the one that ships with Alpine Linux, so I booted the Alpine Linux live USB I had around from the install, ran the tune2fs command, booted back in Ubuntu and then grub-mkconfig ran properly.

Recent articles from blogs I follow

The Scunthorpe Problem

I was talking with a friend recently about an email of theirs running afoul (🐔) of another aggressive filter system, because they dared to to talk with someone called Dickson. I know right, they’re the absolute worst. For those unfamiliar, this is the The…

via Rubenerd November 21, 2024

In which Neil is surprised by the lack of an HDMI cable

Some modern technology decisions baffle me. Today, I was sitting in a meeting room. In the room was my friend, with her laptop. Her laptop has an HDMI port. Also in the room was a screen, onto which my friend wished to display her laptop’s desktop. The screen …

via Neil's blog November 19, 2024

Helm: JSON schema generation

Helm charts support the inclusion of a values.schema.json file to validate values.yaml. Documentation: https://helm.sh/docs/topics/charts/#schema-files A JSON schema is akin to defining the structure of and type-annotating a JSON file. It helps to “shift lef…

via not just serendipity November 14, 2024