Thursday, November 3, 2016

Reset PRAM in Mac OS without holding keys at startup


This command is the functional equivalent of holding down command-option-p-r at start up.  It resets the machine's PRAM. 

% sudo nvram boot-args='-p -r'

My 2009 Mac mini was having problems starting up (light on but no ding or gray apple screen).  I have not seen this startup problem since resetting the PRAM.  Hopefully this fixes the problem.

Wednesday, September 7, 2016

Setting up IE VM images in VirtualBox on Mac


Get images from here:
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

Extract the zip File

VirtualBox > File > Import Appliance  , select the .ovf file

Settings > System > Base Memory > 2048 MB
2 CPU

Snapshot now, so it's easy to restore when the license expires.  If you do this later, snapshot restore may not be sufficient to relicense the install.

In WIN7

Network Location: Home

Virtual Box > Devices > Install Guest Additions CD

Virtual Box> Devices > Shared Clipboard > Bidirectional
Virtual Box> Devices > Drag and Drop > Bidirectional

WIN7 > Explorer > Run Guest Additions.exe , will restart

WIN7 Edit C:\Windows\System32\drivers\etc\hosts
add entry for host os:
    ifconfig to get the Default Gateway IP
 

Test ping
Test IE


Friday, June 17, 2016

Update spotlight index


http://osxdaily.com/2012/02/02/reindex-spotlight-from-the-command-line/
sudo mdutil -E /

Change the UID of files

Occasionally, the Centrify client on my corporate mac changes the UID associated with my username.  This breaks nearly everthing.  Solution is to do the following as root:

identify the old uid with %ls -ln
identify the new uid with %id -u


% find / -user -exec chown -vh {} ;