Clone (disk to disk) Ubuntu (14.x) LVM2 to a larger harddisk with Clonezilla and GParted and 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 USB A3 Clonezilla live (Default settings, VGA 800x600) Choose language Choose keyboard layout Choose "Start Clonezilla" Choose "device-device" (work directly...) Choose "Beginner" Choose "disk_to_local_disk" Choose source disk Choose target disk Choose -sfsck Choose -pa choose Start Cloning (accept confirmations) Choose poweroff   B Gparted ---…

0 Comments

CUDA (8.x, 9.x) problems with MATLAB (2017b) and Mac OS (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.         *This only holds for Apple MacBooks with an internal discrete GPU e.g. NVidia GT650M or GT750M (so models before 2016)

0 Comments

Uninstall Nvidia CUDA (8.x, 9.x) on Mac OS 10.x

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 /Library/LaunchAgents/com.nvidia.CUDASoftwareUpdate.plist sudo rm -rf /Library/PreferencePanes/CUDA/Preferences.prefPane sudo rm -rf /System/Library/StartupItems/CUDA sudo rm -rf /Developer/NVIDIA/CUDA* sudo rm -rf /usr/local/cuda Restart your system and "right-click" and remove the CUDA preference icon in the system control app.

0 Comments