Here I'm republishing an old blog post of mine originally from May 2013. The article has been slightly improved.

Taking a look at ArchHurd

Just as promised, this post will deal with ArchHurd a project aiming to bring what makes ArchLinux great to another operating system: GNUMach/GNUHurd.

http://www.archhurd.org/

Booting the Live-CD

So... Let's take a look at ArchHurd, shall we? However... Things are a bit... _messy_ right now. Let me make that absolutely clear before you might decide to give it a try, too. __Don't expect everything simply work like a charm__. It won't.

First it's necessary to get the ISO from the project's download page.

http://www.archhurd.org/download/

Don't try to open the _Installation Guide_ which the page links to. It points to the old wiki - which is gone. There are plans to re-add the old pages in the new wiki but this has not happened, yet. Fortunately there's the Internet Archive which has archived the old wiki so that we can still access it here.

http://web.archive.org/web/20121202072535/http://wiki.archhurd.org/wiki/Installation_Guide

The iso boots in a new VM set up for it. Despite the "hit 'e' and edit hd2 ..." stuff (see picture), things work if you have a standard VirtualBox configuration - and you wouldn't be trying out ArchHurd on real hardware, would you?!

GRUB bootloader (PNG)

The bootloader: It has pretty much written "experimental" all over it.

Just be patient while the kernel probes the hardware - the rather old version which is used in ArchHurd contains a few glitches which make it take a long time to complete when used with Virtual Box.

GNUMach booting (PNG)

Booting the GNUMach micro-kernel.

After a while the system is up. It's very unpolished but seems to work.

Manual login (PNG)

Login - it's not done automatically, yet.

Installing

Alright! ArchHurd has started up and we can move on to installing it. Just one more warning: __There's some kind of error in the kernel which makes the system freeze if doing nothing for a while__. So keep it busy or pause your VM if you don't want to reboot often!

Installer: Package selection (PNG)

I won't cover the installation process here - just follow the Installation Guide (link above). The installation program is quite self-explanatory and the guide covers the rest you might need to know.

Installer: System configuration (PNG)

If you're a long-time Archer, you'll remember the "Arch Installation Framework". If not, you'll find out ArchHurd is also an OS without _systemd_ - so you have to take a look at _rc.conf_, the central system configuration file which Arch Linux was known and famous for in the past.

ArchHurd!

After installing the bootloader according to the guide, we're left with a working system. And after setting up network, it's even actually usable. ;) However first time trying to update the repos, pacman crashed for me, so I had to remove the lock and try again. But from that moment on, network worked fine. If you're having trouble, selecting an older network card to emulate in VirtualBox (like _PCnet-FAST III_) might help with the Hurd.

Now let's see how many new packages have been uploaded to the repos since the creation of the (now rather old live cd)!

Attempting a regular update (PNG)

Right, 31 packages is not really much... Especially if you're used to ArchLinux's rate of updating! So it might be a good idea to edit /etc/pacman.conf and uncomment the "testing" repo?

Update with the "testing" repo enabled (PNG)

That's not really up to date either, but at least a little more so. Ok, all nice and well... It's a funny system - a little slow perhaps, rather old and quite unstable. But what now? That just can't be all it has to offer.

Of course not. X11 anyone? Yes, it does actually work. However I failed to get mouse support working in VirtualBox. If the xf86 driver for it is installed, Xorg won't start anymore. Since I'm not an X guru, this is where I stopped and that's also why I skipped showing you that ArchHurd is capable of running Openbox, too (which does in fact work - but is quite useless without a mouse...).

Xorg running on ArchHurd (PNG)

Anything else? Yes, a lot. The _Arch Build System_ is working, which means that you could build your own packages if you're missing anything (which is rather likely ;)). That is: If you are lucky and the package will just work on Hurd - and if not you need some deeper knowledge about porting things over.

As an example I tried to build FLTK - and that proved to be one of the packages that simply worked. However I had trouble building as an ordinary user. The problem is known among ArchHurd developers and it's not happening if you're building as root (appending _-asroot_ so that makepkg accepts this). I know that this is usually considered bad practice and should never be used on a productive system. But we're playing around with the Hurd here, aren't we?

Package building on ArchHurd (PNG)

Alright. This concludes our little examination of ArchHurd. If you liked what you just saw and are feeling brave enough - why not help the project a little? While it's officially being _worked on_, it would certainly be nice if some visible progress was to be achived.

What's next?

This post was already long enough, so I decided to simply write about ArchBSD in the next one.

BACK TO 2013 OVERVIEW