Mount a dd Disk Image with Partition Table inside

Posted by: gdelmatto  :  Category: Debian GNU/Linux, Operating Systems, RHEL

After making a backup from a hard disk ta a disk image using plain old ‘dd’, I was just looking into mounting it using the Linux loopback device.

If you ‘dd’ a single partition into an image file, then this is very straight forward. But if your image file contains multiple partition partitions including the partition table itself, then you need to take additional steps.
Read more…

Install Icinga with MySQL and IDOUtils on FreeBSD

Posted by: gdelmatto  :  Category: FreeBSD, Networking, Operating Systems, Utilities

It’s not hard to install Icinga on FreeBSD, at least if you’re satisfied with default options.
Should you however require Icinga with IDOUtils and MySQL support, then you need to take additional steps.

Read more…

TimeMachine mobile backup eats up disk space if backup drive unavailable

Posted by: gdelmatto  :  Category: OS X, Operating Systems

Apple introduced a new feature called “mobile backups” with OS X Lion.
The idea behind that: Use a temporary part of the local hard drive to store backups until the backup drive is connected again.

True, this is a good feature for most. But if you can spare some backups, because you – let’s say – store your files to a dropbox folder, which is synchronized to a cloud service, then you may not need the mobile backup feature of OS X.
In fact, you may notice running out of disk space, that you could use otherwise.
Read more…

VpnInit AppleScript: Override and Restore Default VPN-Routes on OS X

Posted by: gdelmatto  :  Category: Networking, OS X, Operating Systems, Programming, Scripting, Utilities

Years ago I wrote a small script to restore local default route after connecting the RAS VPN on Windows.

Now, I made up a similar script to do the same on OS X.
Read more…

Automating MakeMKV with AppleScript

Posted by: admin  :  Category: OS X, Operating Systems, Programming, Scripting

It’s only days since I wrote about a custom script action upon inserting a DVD in OS X, allowing me have either run the DVD Player or MakeMKV to rip the DVDs.

Now I was digging around if I could do some automation on the GUI part, which indeed turned out to work … at least to a certain degree.
Read more…

Make OS X run custom actions upon DVD insert

Posted by: gdelmatto  :  Category: OS X, Operating Systems, Programming, Scripting

I’m currently ripping my complete DVD collection off to MKV (Matroska) format, so I can stream them across my home network.

So I sought a way to have my OS X give me the choice to either start DVD Player or MakeMKV upon inserting a DVD.
Read more…

Deleting old TimeMachine Backups

Posted by: gdelmatto  :  Category: OS X, Operating Systems

Are you using an external hard drive for TimeMachine backup?
Are you using it to store other data as well?
Didn’t you divide your hard drive it into a data and TimeMachine partition? (Hell No …!)
Now you’re running out of free disk space and need more room? (Hell Yes …!)

Solution #1: Buy another (bigger) hard drive.

Solution #2: Remove some old TimeMachine backups to recover some space.
Read more…

Shutting Speakers on OS X when Screen Saver runs

Posted by: gdelmatto  :  Category: OS X, Scripting

Why for God’s sake would anyone even think about shutting speakers while the screen saver runs?
Don’t these thingies provide an internal mute switch to stay quiet?

Well, yes, most of the time, they do. Though in my case, I run that nice and decent System47 LCARS-style screen saver. And while it provides indeed a mute switch, it yet refuses to honor that flag and will always revert to non-muted operations. This drives me crazy, at least during the night time.

So here’s my solution to shut it quiet — really handy when I’m not along and forgot to turn volume down …
Read more…

Convert RAW partition to VDI image with VirtualBox on OS X

Posted by: gdelmatto  :  Category: OS X, VirtualBox

Some time ago, I set up a multi-boot environment on my Mac, where I could use my BootCamp-Partition for both booting Windows natively on the Mac as well as virtualized from within VirtualBox.

Now, I wanted to create a clone of the RAW partition to do some testing.
Read more…

36 Hours of OS X “Lion”: A Review

Posted by: gdelmatto  :  Category: OS X, Operating Systems

So OS X “Lion” is out now for over 36 hours. It’s time for a review of the minor troubles and glitches I had with it so far.
Read more…