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
reboot
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
# https://wiki.archlinux.org/index.php/Disable_PC_Speaker_Beep
####

#per session
rmmod pcspkr

#general
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 github.com 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, <https://wiki.archlinux.org/index.php/GPT" 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