baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

Know-How / Wissenswertes

Installing rEFInd: dual-boot GNU/Linux and Mac OSX

In Mac OS X, do: 1) Download + extract refind binaries from http://www.rodsbooks.com/refind/getting.html 2) chmod +x refind-install 3) ./refind-install You will then have a nice boot selector at startup. In case you are changing your fileVault settings under OSX, you might need to re-install rEFInd, which is no problem though, as it will automatically detect […]

GNU/Linux Elementary OS “Freya”: mounting a mac osx filevault 2 encrypted volume

****EL CAPITAN CURRENTLY NOT SUPPORTED**** https://github.com/libyal/libfvde/wiki/Mounting apt-get install automake autopoint aclocal libtool git clone https://github.com/libyal/libfvde.git cd libfvde ./synclibs.sh ./autogen.sh ./configure ./make install ldconfig to get the wipekey: apt-get install sleuthkit mmls /dev/sda # Note down the offset for “Recovery HD” and use that for the next command: fls -r -o 1991877544 /dev/sda | grep -i […]

GNU/Linux Backup tools: Timeshift, KBackup, rsync, Grsync, bup, rsnapshot, ddrescue, CloneZilla

Some backup tools you might like: Timeshift http://thesmallsecurity.weebly.com/linux/create-system-restore-points-for-ubuntulinux-mint-using-timeshift (This is what i’m currently using on my Laptops) https://aur.archlinux.org/packages/timeshift/ CloneZilla: http://clonezilla.org/clonezilla-live.php (This is what i’ve been using previously for my Laptops) rsnapshot (CLI) – uses rsync but keeps multiple revisions using hardlinks: http://rsnapshot.org/ (this is what i’m using to back up my servers) KBackup (GUI) will […]

Elementary OS “Freya”: Using touchegg to add three-finger-swipes between desktop spaces

check /usr/share/touchegg/touchegg.conf and /home/user/.config/touchegg/touchegg.conf to add the three-finger swipe between desktop spaces i’m using <gesture type=”DRAG” fingers=”3″ direction=”LEFT”> <action type=”SEND_KEYS”>Super+Left</action> </gesture> <gesture type=”DRAG” fingers=”3″ direction=”RIGHT”> <action type=”SEND_KEYS”>Super+Right</action> </gesture> this usually works everywhere except on empty desktop, to also make it work on the desktop, check this out: http://www.hongkiat.com/blog/elementary-os-luna-tips/ (key is running nautilus!)

MacBook Pro 9,1: Installing NVIDIA drivers on GNU/Linux Elementary OS without getting blank screen

To install proprietary NVIDIA driver: sudo add-apt-repository ppa:xorg-edgers/ppa sudo apt-get update sudo apt-get install nvidia-340 nvidia-settings sudo nvidia-xconfig sudo reboot — To go back to Nouveau driver #stop lightdm apt-get –remove purge nvidia* apt-get install –reinstall xserver-xorg-video-nouveau apt-get install –reinstall xserver-xorg-core update-grub reboot sudo apt-get install nouveau-firmware sudo dpkg-reconfigure xserver-xorg — Also have a look […]

Elementary OS “Freya” on Mid-2012 MacBook Pro 15″ – Improving battery life …

this blog entry is about elementary OS. #!/bin/bash echo ‘1’ > ‘/sys/devices/system/cpu/intel_pstate/no_turbo’; # disable turbo CPU speeds echo ‘1’ > ‘/sys/devices/system/cpu/intel_pstate/min_perf_pct’; # set minimum CPU speed echo ‘100’ > ‘/sys/devices/system/cpu/intel_pstate/max_perf_pct’; # set maximum CPU speed to 100% Screenshot: GNOME Power Statistics: #!/bin/bash echo ‘min_power’ > ‘/sys/class/scsi_host/host0/link_power_management_policy’; echo ‘1500’ > ‘/proc/sys/vm/dirty_writeback_centisecs’; echo ‘0’ > ‘/proc/sys/kernel/nmi_watchdog’; echo […]

Debian GNU/Linux: Setting up autofs/sshfs/rsync/rsnapshot for Hetzner Storagebox backups:

1) set up sshfs public key authentification (sshfs connect wihout password): http://wiki.hetzner.de/index.php/Backup_Space_SSH_Keys/en 2) set up sshfs, autofs + rsync http://blog.no-panic.at/2015/04/14/my-backup-strategy/ troubleshooting: autofs with sshfs is working nicely for me. automounting the loop image inside sshfs was buggy for me, but actually isn’t necessary at all. – i’m simply using autofs/sshfs for mounting the storagebox, then […]

Previous Posts Next posts