Finally found some more time to play with my IFC6410 dev board. I’m really happy with it, SATA is working great so it’s perfect as a small fileserver and there’s decent support for traditional Linux.
And here’s a sneak preview of what I’m currently working on: XWayland on freedreno. Still needs a slight cleanup and some more tweaks to work with the current weston and gnome-shell from git, but I’m really pleased with how fast this little board is with fully open source drivers.
Recently I’ve been playing with lxc as a lightweight alternative to full blown virtualization and wanted to run OpenVPN in the container.
However, the tun device is not available by default in lxc containers, leading to this error:
As usual there’s a bunch of solutions floating around the net, but due to recent changes to lxc/systemd the old way of creating the tun device inside the container doesn’t work anymore. Instead it has to be created using the autodev hook.
For this, create a script named autodev in /var/lib/lxc/yourcontainer/
1 2 3 4 5 6
and make it executable:
1 2 3 4
More information can be found at https://wiki.archlinux.org/index.php/Lxc-systemd.
So you just rescued your data from a dying harddisk using
ddrescue /dev/sdd backup.img and now you wonder how to get your data out of that image?
When you google “mount whole disk image”, you will find a lot of posts showing how to manually calculate the offset of each partition and then mount them by manually specifiying the partition offset. That’s a lot of work and easy to get wrong.
Luckily there’s a much better method:
kpartx can create the required partition mappings in /dev/ so you access the image as if it were a real disk. In most distributions it is part of the
multipath-tools package, so install that using your favourite package manager.
Now you can activate the mapping with
1 2 3
and then simply mount the partitions as usual:
1 2 3
When you’re done unmount everything and remove the mapping:
1 2 3 4 5
And that’s it!
If you get this error:
1 2 3
you’re missing the
loop kernel module. Just load it with
If steam doesn’t start with
Unable to copy /home/$USER/.local/share/Steam/bin_steam.sh to /usr/bin/steam
check if it is marked as immutable:
If it is, fix it with:
Not in Milwaukee but in Copenhagen last sunday. It was amazing.
keine Kommentare zur Musik?
Über Musik schreiben ist wie zu Architektur tanzen.