After a hard disk failure that finally rendered MacBook Air #2 unable to boot (or even formatted so as to boot), I’ve set up its replacement MacBook Air, MrRoboto, to be as “automatic” as possible. Things should “just work”. This particular blog post is about automatic tunnelling. If you don’t know what
ssh or a local/remote tunnel is, this post is not for you. It’s also aimed at Mac users.
Continue reading “MrRoboto: Part 1— Automatic tunnelling on a Mac”
(Mac users only) Have you messed up an important system file that prevents you from running sudo to fix them? Or have you accidentally trashed some system files from the Finder that have broken the authentication system (that asks for your password when doing certain privileged operations)? Macs have two different systems for managing delicate operations — the system that powers the underlying UNIX-y bits and the stuff for nice Mac-y applications. The upshot is that you can sometimes perform brain surgery on your computer without any anesthetic: some problems can be fixed without rebooting into single-user mode. Continue reading “Oops… was that file important?”
I woke my computer up from sleep and tried to run ssh. Surprise alligators! I encountered the odd error message “You don’t exist! go away!” It turns out that my dying hard drive had trashed some very important system files containing my computer login and password information. Trying to start up Terminal, I got the error “The administrator has set your shell to an illegal value”. I couldn’t access a large chunk of my files (due to lack of permissions) and my Dock was totally trashed. Solution? Start X11 from your utilities folder.
Yes, I’m still using the same nonereliable hard drive that resulted in frequent beach balling. On Sunday, it had some more surprise alligators in store for me and decided to render my hard drive unbootable by corrupting the file system journal used to recover from sudden crashes/loss of power. My first instinct was to run the Disk Utility repair feature on the drive, but this was a no-go because, firstly, I was using Filevault 2, Apple’s full-disk encryption software.
Continue reading “Recovering from more hard drive woes”
Do you have a Mac that beach balls (colourful pinwheels that produce colourful language) for 30-60 seconds at a time when you’re not running a computationally intensive task? Your hard drive could be dying. I hope you’re backing up. But I’m not writing this blog post to convince you that backing up your data regularly is a good idea (but it is, though). Instead, I’m going to show you how to see if that is indeed what is causing the beach balling and, if so, how to keep on tempting fate by keeping your failing hard drive chugging along while reducing your unwanted trips to the beach
Continue reading “When life is a beach ball”