Allgemein

Metaebene, persönliches, Blog-bezogenes

Proxmox: replace zfs root disk

Depending on how Proxmox VE was installed it is either using systemd-boot or grub through proxmox-boot-tool or plain grub as bootloader. You can check by running: proxmox-boot-tool status The first steps of copying the partition table, randomizing the GUIDs on the new disk, and replacing the ZFS partition are the same. To make the system …

Proxmox: replace zfs root disk Weiterlesen »

bareos: prune all clients

#!/bin/bashset -e set -x CLIENTS=$(echo „list clients“ | bconsole | grep „-fd“ | awk -F’|‘ ‚{ print $3 }‘ | sed ’s/\ //g‘) for CLIENT in $CLIENTS ; do echo „pruning $CLIENT…“ echo „prune jobs client=$CLIENT jobtype=backup yes“ | bconsole done echo „done.“

Note to self: Install MacOS in Virtualbox

Create VM After creating the VirtualBox VM VBoxManage modifyvm „Your VM Name“ –cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff VBoxManage modifyvm „Your VM Name“ –cpu-profile „Intel Core i7-6700K“ VBoxManage setextradata „Your VM Name“ „VBoxInternal/Devices/efi/0/Config/DmiSystemProduct“ „iMac11,3“ VBoxManage setextradata „Your VM Name“ „VBoxInternal/Devices/efi/0/Config/DmiSystemVersion“ „1.0“ VBoxManage setextradata „Your VM Name“ „VBoxInternal/Devices/efi/0/Config/DmiBoardProduct“ „Iloveapple“ VBoxManage setextradata „Your VM Name“ „VBoxInternal/Devices/smc/0/Config/DeviceKey“ „ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc“ …

Note to self: Install MacOS in Virtualbox Weiterlesen »

Fix for UEFI + Hardware RAID + Linux = megaraid_sas io_page_fault

Short remider to myself and the rest of the world: Upgrade Firmware to latest (yes, 2013 is better than 2011) Set UEFI to UEFI ONLY! It’s 2021 as of now, so nobody should be using BIOS anymore. Seriously. Boot Kernel with iommu=soft option (in grub press „e“ if you are locked out already) Put iommu=soft …

Fix for UEFI + Hardware RAID + Linux = megaraid_sas io_page_fault Weiterlesen »

Linux: Make uPD720201 great again!

After returning my first USB3 PCIe Card because it randomly stopped working and, just to experience the same problems with the card I got in exchange – thanks amazon – i finally found the root cause and permanent fix. The Renesas uPD720201 USB 3.0 Host Controller seems to have broken S3 power saving implenented. Since …

Linux: Make uPD720201 great again! Weiterlesen »

Compiling and running ethminer 0.19.0 on Ubuntu 21.04

git clone https://github.com/ethereum-mining/ethminer.git cd ethminer git checkout tags/v0.19.0 git submodule update –init –recursive rm -rfv build && mkdir build && cd build export CC=/usr/bin/gcc-8 export CXX=/usr/bin/g++-8 cmake .. && make . && sudo make install ethminer -P stratum://0x2a9d3072a8feb1578c2f10069010480b8742c39c@eu1.ethermine.org:4444 Notes to self: use gcc-8 have at least 4GB Memory on the GPU use a CUDA-10 compatible …

Compiling and running ethminer 0.19.0 on Ubuntu 21.04 Weiterlesen »

Bosch Logixx 7 Waschtrockner WHV28540/06: Fehlerspeicher auslesen und Testprogramme Starten

Fehlercode auslesen Drehschalter auf 0 (aus) Drehschalter auf Pos. 4 (3 Uhr) Temperaturwahltaste gedrückt halten, mit gedrückter Taste Drehschalter um eine Position im Uhrzeigersinn drehen Temperaturwahltaste loslassen Fehlercode wird angezeigt Bekannte Fehlercodes: E09: NTC-Fühler am Luftauslass -> kann der Fühler sein, kann aber auch die Platine oder das Verbindungskabel sein (NTC lässt sich mit Widerstandsmessung …

Bosch Logixx 7 Waschtrockner WHV28540/06: Fehlerspeicher auslesen und Testprogramme Starten Weiterlesen »

How to hibernate and resume from swap file in Ubuntu 20.04 using full disk encryption

On my laptop, I am running full disk encryption (LUKS with a single encrypted ext4 partition), and a single, large swap file as large as my system RAM (16GB). Here’s how to make it work: Make your swapfile have at least the size of your systems RAM: Note the UUID of the partiton containing your …

How to hibernate and resume from swap file in Ubuntu 20.04 using full disk encryption Weiterlesen »

Clean default sources.list file for Ubuntu 20.04 focal

deb http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse deb-src http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe …

Clean default sources.list file for Ubuntu 20.04 focal Weiterlesen »

Saving battery life on linux using powertop

Most distributions come with a handy tool called powertop, that is able to automatically set kernel parameters to save energy. sudo powertop –auto-tune Settings are not permanent, to you can use the following snippet to create and load a systemd unit file to load the settings after rebooting your machine: cat << EOF | sudo …

Saving battery life on linux using powertop Weiterlesen »

Scroll to Top