Alpine Linux i386 tested on our old PC
If you ever wondered what is one of the very few Linux distributions other than Debian that actually supports i386 in the present era, you might have heard about Alpine Linux.
Alpine Linux is a Linux distribution that is designed to be one of the small and lightweight Linux distributions. It uses musl, OpenRC, and BusyBox instead of glibc, systemd, and GNU Core Utiities, which are used in many Linux distributions, including Debian and Ubuntu. The first version was publicly released in August 2005.
Nowadays, many Linux distributions support only AMD64 in PCs, although very few support i386, like Debian and Alpine Linux. This, along with the system environment, made us try to install Alpine Linux on our old i386 PC as a dual-boot for our primary Debian machine.
We have used alpine-extended-3.15.4-x86.iso to install Alpine Linux without having to download 400+ MB of packages. We have burnt this to the USB, because our CD-ROM drive failed last July.
After following the steps on how to set up Alpine Linux on a dualboot system, we have managed to get it to boot from GRUB. However, covering the steps used is out of scope for this article, and will publish another article on how to actually do it.
When it booted, we had to set up wpa_supplicant to start itself on boot and connect to our network. After that, we have tried setup-xorg-base to install the GUI server, along with the window manager and the terminal emulator since this command didn’t install them by default.
We’ve started the Xorg server successfully with no issues. However, we had to install a video driver for our Radeon 9200, which is xf86-video-ati, to enable hardware acceleration.
Here’s a rather annoying issue, though. librsvg, a Linux library that is responsible for rendering SVG as PNG, was built optimized for Pentium 4 and AMD Athlon 64, which signifies that there are SSE2 instructions in its machine code when disassembly is done. This instigates an event where programs that depend on it, such as jwm, fail to start themselves up with Illegal instruction printed on the console. Upon further inspection, librsvg is the cause. Fedora 28 and later had the same problem, which actually caused Fedora 28 i386 live DVDs to fail to start properly with the black screen on i386 systems that don’t have an adequate processor that has SSE2, and they have responded by removing i386 support.
So, if you want to have the full Alpine i386 experience, you can just use the i386 version of it in a system that has at least Pentium 4 or AMD Athlon 64 while the fix will appear in the future. However, we recommend using the AMD64 version if possible. If not possible, we recommend sticking to Debian on a system that doesn’t support SSE2.
Enjoy!
#Alpine #AlpineLinux #Linux #preview #sse2 #test