Completely Delete USB Flash Drive Partition in MacOS using diskutil

You may want to completely erase the partition table of your USB flash drive including the boot record. In macOS you do easily do that using diskutil. During this COVID-19 lockdown in Malaysia, I wanted to use my weekend time in installing Linux on an old laptop. It turns out that old laptop only support […]

Continue Reading…

How to disable macOS System Integrity Protection

Sometimes, we are working on advance software operation that require us to disable macOS system integrity protection temporarily. Steps: Restart your macOS system Hold down Command+R to go into recovery mode Inside recovery mode click Utilities Select terminal In the terminal type csrutil disable and press enter Restart the system To enable back the System […]

Continue Reading…

Fix xcrun: invalid active developer path

Fix xcrun: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun After recently updating my MacOS I encountered an error message xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun To resolve that we will need to reinstall xcode necessary components xcode-select –install […]

Continue Reading…