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

CryptoCoin NiceHash – nheqminer 5.0c for Mac OS (10.12)

Compiled the latest miner (cpu and gpu/cuda8 support) from the sources here https://github.com/nicehash/nheqminer. Provide the binaries for miners interested to mine coins on Apple hardware and software. All you have to do is, 1) install cuda 8 and 2) run the miner e.g.:  ./nheqminer-cpu -d 0 -t 16 -e 1 -l zec.suprnova.cc:2142 -u workername -p workerpassword Maybe you have to adjust (r)paths of the executables, or export path in the runtime environment: LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda/lib:/usr/local/cuda/lib/stubs" PATH="$PATH:/usr/local/cuda/" PATH="$PATH:/usr/local/cuda/bin" Download miner

1 Comment

QDirStat port: iDirStat monitors your disk space; QDirStat and WinDirStat for Mac OS

MAC OS X Sierra 10.12.X compatible disk space monitor and statistic user interface and editor (25.05.2017) Download Edited QDirStat: base at https://github.com/shundhammer/qdirstat which based on http://kdirstat.sourceforge.net Qt-based directory statistics: KDirStat without any KDE -- from the author of the original KDirStat. (c) 2015-2017 Stefan Hundhammer Stefan.Hundhammer@gmx.de Target Platforms: Linux, BSD, Unix-like systems, License: GPL V2, Updated: 2017-05-25 QDirStat is a graphical application to show where your disk space has gone and to help you to clean it up. This is a Qt-only port of the old Qt3/KDE3-based KDirStat, now based on the latest Qt 5. It does not need any KDE libs or infrastructure. It runs on every…

3 Comments

Fix Xcode 8.x.x (8.2.1) and Qt 5.x (5.6 and 5.7) project error: “Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild”

Solution for the following Qt Creator - Project ERROR: "Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild" Edit file: /<Qt.app path>/5.6/clang_64/mkspecs/features/mac/default_pre.prf Replace:  isEmpty($$list($$system("/usr/bin/xcrun -find xrun 2>/dev/null"))): \ By:            isEmpty($$list($$system("/usr/bin/xcrun -find xcodebuild 2>/dev/null"))): \

0 Comments

EyeTV with OSCAM and eyetvCamd (supports libusb, smartreader, smargo, USB, SSL, OS X 10.11.x, 64Bit) A Mac OS X Oscam server with USB support for external readers

OSCam with ssl, libusb support - os x changed its ssl library support - libusb must be installed for external usb cardreader support 1. I recommend "brew" to install openssl 1.1. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 1.2. brew install openssl 1.3. this will install openssl to /usr/local/Cellar/openssl/xxx/ 1.4. as oscam will look for openssl in /usr/local/include and /usr/local/lib you are welcome to link or copy it there manually 2. download libusb from here http://sourceforge.net/projects/libusb/files/libusb-1.0/libusb-1.0.9/libusb-1.0.9.tar.bz2 2.1 configure, make, make install it 3. build oscam with ssl and usb support 3.1. get scam sources here: svn checkout http://www.streamboard.tv/svn/oscam/trunk oscam-svn I recommend to checkout…

4 Comments