Skip to content

zfs as root with luks on arch linux and the small trouble after upgrading the kernel

Everytime the kernel gets updated, my system only reaches the busybox afterwards.
Currently, I have no idea why this happens exactly. But at least, I know how to handle it.
The zfs module is loaded, so all you need to do is to execute

zpool import -f 
, followed by an
zpool export 
It looks like there is a problem with exporting the pool while rebooting, or maybe an error while importing. It is marked as "not exported correctly", that is why booting fails. After the two commands from above, you can enter
and everything should be fine again.

Translate to de es fr it pt ja

Lenovo Thinkpad Yoga S1 12 (2015) - disable keyboad beep

So, nearly all of the code shown below is from the official arch linux wiki or the official arch linux forum.
I've no idea how this book is doing under windows since I have a strict no-closed-source-operation-system-policy. Under arch linux, it is working. The "FN"-Keys are not working so far. The touchpad is working, the trackpad-key's (the feature of the 2015 edition) as well as the Touchscreen. What really grinds my nuts (beside this doomed intel secure boot/guard shit) was the "keeboard beep" everywhere.
Search for "disable pc speaker" and be happy - or follow the code below or the updated one behind link.

# verify device version
dmidecode -t system | grep Version

# disable pc speaker / keyboard beep
# @see

#per session
rmmod pcspkr

echo "blacklist pcspkr" > /etc/modprobe.d/nobeep.conf

So far, what do i like?
It is fast, quite and feels really good. The keyboard layout differs from my old thinkpad keyboard, so especially for the left hand, I'm always one key to far. I really can't get the point to not have an led for the "caps lock" key - this sucks.
Touchscreen rotation is currently not working and since it is also not working for older devices (2014), I don't assume it will work ever. Full HD is great of course. My old HP Elitebook was native 12 inche and this Yoga is a monster in size compared to the hp. 12.5 inch? - in your dreams mister advertisment!
Really bad is the current backlight situation. I clearly can see bright areas on the top right as well as on the bottom left. Thats why I shift it with an other one. Take care of the prices! You can't get one without this sucking windows, but you pay less for a windows 8 instead of a windows 8.1.
It is really sad that the marked is not producing a 12 inch pointstick notebook with a full hd display (and 16 GB of memory). Fuck this ultrabook-sickness, I don't care it it is a bit wider if I can exchange parts and run it with 16 GB of memory.

Translate to de es fr it pt ja

openntpd fatal: bad privsep dir /var/lib/ntp permissions: (on arch linux)

I was wondering why my system clock was "so damn wrong". A quick check with systemctl status openntpd.service showed me "Active: inactive (dead) since ...". An other "journalctl -xfn" on the command line and "fatal: bad privsep dir /var/lib/ntp permissions: 40755" was marked red.
Searching on the web was, well, some kind of helpful. An old (asian?) entry was the highest in the ranking. After that, I searched on the official repository on and found this patch (full patch view).
After that, it was an easy one to get openntpd back on track.
chown -R root /var/lib/ntp and to be on the save side chmod -R 700 /var/lib/ntp followed by systemctl restart openntpd.service and my clock was back on track :-).

Translate to de es fr it pt ja

LVM on LUKS with GPT on an HP 2530p

So, this is a short story telling about the journey of an arch linux installation on an HP 2530p.
The mission was clear, <" title="arch linux gpt">GPT, LVM and LUKS. The problem was the BIOS in the HP 2530p.
To keep it short, don't trust the documents, simple install a hybrid gpt/mbr), or follow my howto.
The so called documented UEFI boot is only working with windows but not with other UEFI systems. If you simple install a GPT without a hybrid MBR, you won't get a working system disk.

Translate to de es fr it pt ja

"hwdb.bin does not exist" on arch linux boot up

So I'm having this problem on three machines. I've also done the advice "udevadm hwdb --update" but the error still exists on the next boot.
Good thing about it, all is still working. My machines have a "hwdb.bin" file in "/etc/udev/hwdb.bin". I found a bug report on the arch linux bug report list as well as one on the systemd bug report list but no solution.
I will update this entry when I've found a solution or if the error disappears on one of the upcomming updates.

Translate to de es fr it pt ja

web - Eigenen Proxy in Linux aufsetzen

Pro Linux hat ein kleines How To veröffentlicht, wie man sich einen Proxy mit linux aufsetzt.

Für arch linux arm muss man einiges beachten.

  • Installiere "apache" um "htpasswd" zu erhalten
  • pacman -S squid apache
  • ersetze "squid2" mit "squid" in allen Pfaden oder Nennungen
  • Kommentare lesen, die sind gut und wichtig!
  • Verbindung mit Hilfe von ssh sichern: >>ssh [email protected] -D -C<<
Translate to de es fr it pt ja

Arch Linux PHPStorm (JetBrains) OpenJDK Update and No Font

I had updated my arch linux as usual and got an update for openJDK.

java -version
java version "1.7.060"
OpenJDK Runtime Environment (IcedTea 2.5.0) (Arch Linux build 7.u60
OpenJDK 64-Bit Server VM (build 24.60-b09, mixed mode)

After that, I started my phpstorm (I am working with the window manager i3wm and the screen looks strange. Everything was there, except for the fonts - I could not read anything (and I am not that cool to code without seeing the code :D-).
After log of tryouts, I found a simple and suitable solution.
sudo echo "-Dawt.useSystemAAFontSettings=gasp" > /usr/share/phpstorm/bin/phpstorm64.vmoptions

This has resolved the issue on my machine. There are some hints available, but I needed only one line, hope it suits your needs too.

Translate to de es fr it pt ja

extended support for InteiilJ IDEA (means also phpstorm) for notion window manager

Just found the following block in the /etc/notion/cfgkludges.lua file (arch linux).

-- InteiilJ IDEA - I wonder whether we should do this for *all* sun-awt-X11-XWindowPeer windows
defwinprop {
    class = "jetbrains-idea-ce",
    instance = "sun-awt-X11-XWindowPeer",
    transientmode = "current",
defwinprop {
    class = "jetbrains-idea-ce",
    instance = "sun-awt-X11-XDialogPeer",
    transientmode = "current",
defwinprop {
    class = "jetbrains-idea",
    instance = "sun-awt-X11-XWindowPeer",
    transientmode = "current",
defwinprop {
    class = "jetbrains-idea",
    instance = "sun-awt-X11-XDialogPeer",
    transient_mode = "current",

Looks like they found a reason why working with phpstorm in notion was not that easy.

Translate to de es fr it pt ja

arch linux, zfsonlinx with pacman update producing error >>error: demz-repo-core: signature from "graysky (used to sign repo-ck packages) <[email protected]>" is unknown trust<<

You tried to do an update of your system and got some error like below?

pacman -Syyu
error: demz-repo-core: signature from "graysky (used to sign repo-ck packages)" is unknown trust
:: Synchronizing package databases...
error: demz-repo-core: signature from "graysky (used to sign repo-ck packages)" is unknown trust
error: failed to update demz-repo-core (invalid or corrupted database (PGP signature))
error: database 'demz-repo-core' is not valid (invalid or corrupted database (PGP signature))

You can read the comments if you want to know why.
If you are easy enough and believe me (well thanks, but you shouldn't ;-)), execute the following commands.
pacman-key -r 5EE46C4C
pacman-key --lsign-key 5EE46C4C
echo i like artodeto
pacman -Syyu

And there you go.

Translate to de es fr it pt ja

Cool Step-By-Step Installation Guid for Arch Linux And LVM

It isn't that often that you install an arch linux. But i need to do it and after doing some dump things, i searched for an easy "step by step" howto. The headline betrays it, i found a good one. Good luck :-).

Translate to de es fr it pt ja

zfsonlinux now as simple aur package in your arch linux and general informations about performance

Looks like this will be my last entry about arch linux and zfsonlinux for the near future. Why? Simple because of the fact that you don't need to build it on your own anymore. The maintainer of the zfsonlinux builds has an unofficial repository you can use.

On the arch linux wiki page, there is a easy step by step howto.

Zfs should be a zero configurable filesystem. But if you have any problems, the following links can help you to figure out where the problem is.

Translate to de es fr it pt ja

First Impression Of RaspberryPi


So after a while of borrowing multiply pi's, i've managed to buy one. Of course the shipment was delayed so it arrived at a week full of no time. Finally, i prepared all and started the installation, of course an arch linux (like the guy in the advertisement, "what else?" ;-)). The installation was quite easy, i struggeld a bit with the resizing of my partitions. The magic hint, resizes the extended partition first, then you are able to resize the root partition and everything is fine.

After that, i've browsed through the available packages and started setting up the tiny beast. Writing about window managers is a short one, don't do fancy stuff. Notion is working, openbox and fluxbox also. Of course xbmc is running like a charm. But xfce4 and lxde are a bit to much for the little arm. Kde is working better than expected but like chromium, it is far away from running smooth. A nice howto about installing xfce4 on arm arch linux can be found here. Some general beginner tutorials about different raspberry pi distributions can be found here.

What about using known software? Well, you can but keep in mind, it is an arm cpu under the hood. Midori is currently my first choice for browsing the web. If i need something with a gui, pcmanfm is performing well on the pi. Have some minutes left? Read this nice introduction about the desktop world of the raspberry pi.

Other Operation Systems Then Linux

Talking about the upcomming and possible shooting star firefox os, i can only write that i havn't tried it so far. There is a bunch of tutorials out there, like this, that. A list of possible alternative operation systems for the pi can be found here.

What To Do Now?

Well, first i want to try out the media center suitability of the little pi. I like the idea to control the xbmc via an android mobile. I also want to compare xbmc with openELEC. And for the far away future, i want to build zfs on linux on this little box (why?, of course because i can :-D). A git server is also and always an option, lets see. Privoxy, openVPN, tor, the list is getting longer the more i think about it :-).

List Of Links

Translate to de es fr it pt ja

zfsonlinux and kernel 3.9.4-1-ARCH - up and running

Just one day, they are getting faster and faster. This time, it took only one day after the new kernel release. The steps are easy as know.

cd path/to/the/zfsonlinux/automake ant system-full-upgrade

bam and it is building on its own :-).

Translate to de es fr it pt ja

howto - zfsonlinux zpool export device busy arch linux

Since i migrate to zfs where it is possible, i did this also with an usb storage. Today, i want to export a pool to use it in my laptop. I finished all i want to do and want to remove the zpool from my system via

zpool export mypool

The result:

umount: /foo/bar/mypoo/foobar: target is busy. (In some cases useful info about processes that use the device is found by lsof(8) or fuser(1)) cannot unmount '/foo/bar/mypoo/foobar': umount failed

Ok, maybe it needs some time to finish writing/flushing the cache so i gave him another 15 minutes. I tried again and the same error message. I used "lsof" but nothing inside when i grep for "mypool". After taking a long look over the internet, the only solution i found was using

zpool export -f mypool
but again, same error.

After strange threads talking about "you have to restart your usb module" i just took a look to the current running systemd units by using

systemctl list-units
and guess what? There are units running for each mountpoint the zfs pool had. All i had to do is to stop the unites and the run "
zpool export mypool
the last time :-).

Translate to de es fr it pt ja

zfsonlinux and kernel 3.7.7-1-ARCH - up and running

A new kernel (3.7.7) was released today for the arch linux. Currently, the zfsonlinux in the aur was not adapted on it. I have updated my zfsonlinux automake tool with a more secure option. Before you are going to rebuild the zfs modules, the tool now exports your zpools and imports them after installing new compiled packages. If you want to do it on your own, there are two new targets available - "import" and "export".

I found a nice like about install zfs on gnulinux.

Now up and running :-).

Translate to de es fr it pt ja

zfsonlinux and kernel 3.7.5-1-ARCH - up and running

A new kernel was released today for the arch linux. Currently, the zfsonlinux in the aur was not adapted on it. I really won't blame demizer, i just want to inform the users out there. My zfsonlinux automake tool was updated since there was a bugfix. Now everything should be fine :-).
2013-01-30 22:05

Edit Since today, everything is up and running :-).

ant system-full-upgrade
is doing all for you :-D.

Translate to de es fr it pt ja