baumi's blog

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

January, 2017

I’ve sold my mac. Really. – One month with GNU/Linux

In december 2016 i’ve purchased a Thinkpad t450s i7/FHD and maxx’d it out (1TB flash, 20GB ram) running GNU/Linux (Elementary OS). Both Windows and OSX are running inside VMware workstation, as i have to test and develop all kinds of websites on all platforms. – So i didn’t have to sacrify much compared to OSX […]

gdb cheat sheet

This is just a small list i’ve collected for myself. Not meant to be complete … set disassembly-flavor intel …. obligatory life saver 😉 x/100bs $rsp ……. ASCII dump stack (byte-wise) x/100ws $rsp ……. ASCII dump stack (lower word-bytes only) x/80x $rsp ………. HEX dump stack x/80xb 0x7fffffffd880 ….. HEX dump memory address xxd from […]

LENOVO Thinkpad X1 T450s X250: BIOS update with GNU/Linux – create bootable USB drive (create bootable USB drive with geteltorito)

—– NEW METHOD —– sudo fwupdmgr refresh sudo fwupdmgr get-updates sudo fwupdmgr update Im BIOS muss “Windows BIOS/UEFI Update” aktiviert sein … —– OLD METHOD —– GUI Alternativen: “Laufwerke” von Linux -> (rechts oben im Menü) Laufwerksabbild Wiederherstellen und .img oder .iso aussuchen https://www.fossmint.com/woeusb-create-bootable-windows-usb-sticks-from-linux/ balenaEtcher: https://www.balena.io/etcher/ CLI: 1. Download bootable “BIOS Update (bootable CD)” from […]

Elementary OS: disable ecryptfs home folder encryption, or: manually mounting ecryptfs encrypted homedir (e.g. from backup)

UPDATE – Better, easier way taken from http://askubuntu.com/questions/4950/how-to-stop-using-built-in-home-directory-encryption 1 .Backup the home directory while you are logged in sudo cp -rp /home/user /home/user.backup 1.1. Check that your home backup has everything!!! 2. reboot into single user mode via grub (shift during boot, edit, add “single” as a parameter. for details see https://www.cyberciti.biz/faq/grub-boot-into-single-user-mode/) 3. Delete your […]

GNU/Linux: optimizing system settings for SSD disks

Usually every file read access also produces writes to the SSD, because the system updates the file atime (access time). For most systems you can safely turn it off, which will not only give a small speed increase but also prolong the lifetime of your SSD: sudo vi /etc/fstab # [file system] [mount point] [type] […]

Previous Posts