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)

GUI Alternativen: “Laufwerke” von Linux -> (rechts oben im Menü) Laufwerksabbild Wiederherstellen und .img oder .iso aussuchen WoeUSB – Create Bootable Windows USB Sticks from Linux balenaEtcher: https://www.balena.io/etcher/ CLI: 1. Download bootable “BIOS Update (bootable CD)” from Lenovo: http://support.lenovo.com/at/en/products/Laptops-and-netbooks/ThinkPad-T-Series-laptops/ThinkPad-T450s/20BX?tabName=Downloads&linkTrack=Mast:SubNav:Support:Drivers%20and%20Software|Drivers%20and%20Software&beta=false BIOS for Thinkpad X250: http://pcsupport.lenovo.com/at/en/products/LAPTOPS-AND-NETBOOKS/THINKPAD-X-SERIES-LAPTOPS/THINKPAD-X250/20CL/S02000/downloads/DS102289 lsblk and see your 2. Get “geteltorito” from here: https://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito/ 3. […]

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