[MAC] HowTo clone Ubuntu (14.x <) LVM2 disk to a larger disk (disk to disk) with Clonezilla & GParted & allocate free space within Ubuntu

How to clone Ubuntu 14.04.5 LTS (GNU/Linux 3.16.0-30-generic i686) to a larger disk? In the following I’ll go through the process of expanding a lvm2-pv image that holds ubuntu-root to a larger disk!   A Clonezilla — A1 Prepare LIVE USB (clone clonzilla http://clonezilla.org/downloads.php via etcher https://etcher.io to usb pendrive) A2 Boot your Clonezilla LIVE via … [Read more…]

[MAC] MATLAB (2017b) + CUDA (8.x, 9.x) + Macbook Pro (Mid. 2012) + OS X Sierra (10.12.6)*

No matter if you mess around with energy savings (“GPU auto switch”) or force your GPU to select either intern or discrete GPU mode (“gfxCardStatus” application): this thing will not work! Best way to use parallel computing in MATLAB though, uninstall CUDA and use MATLAB’s “parallel cpu toolbox”, or use an eGPU.         … [Read more…]

[MAC] How to uninstall Nvidia CUDA (here 8.x & 9.x) on OS X 10.12.6 Sierra

According to http://docs.nvidia.com/cuda/cuda-installation-guide-mac-os-x/index.html#uninstall  running just sudo /usr/bin/uninstall_cuda_drv.pl should be enough to uninstall any version of NVidia’s CUDA driver, but … it fails (there’s no such file at all)! So, I went through the following steps semi-manually to remove it successfully: sudo /Developer/NVIDIA/CUDA-8.0/bin/uninstall_cuda_8.0.pl sudo /Developer/NVIDIA/CUDA-9.0/bin/uninstall_cuda_9.0.pl sudo rm -rf /System/Library/Extensions/CUDA.kext sudo rm -rf /Library/Frameworks/CUDA.framework sudo rm -rf … [Read more…]