Boot Camp Assistant Innards: The "Other" OS

I downloaded Boot Camp yesterday, despite the fact that I don't have an Intel Mac and, therefore, cannot actually run the assistant. But I wanted to try, and I wanted to poke around to, just to see what I could see. The bulk of the Boot Camp Assistant's 80 MBs is taken up by the drivers needed for Windows to use the Mac's hardware, which live on a disk image called simply, "DiskImage.dmg." The rest of the dmg contains the usual binaries, plists and background images common to applications. But I did find one amusing — albeit only slightly — item: The Mac OS X logo image contained in the application is called "MacOSX.png;" the Windows logo is called "Other.png."

Don't know why, but it made me chuckle. Just a bit.


The Mac OS X Logo Inside the Boot Camp Assistant
(click for larger view)

That "Other" Logo
(click for larger view)

UPDATE:
A characteristically awesome article at one of my favorite blogs, Daring Fireball, also notes that the whitespace in the "Other" logo forms a subliminal "X." See, it's not just me.

Boot Camp and Partitioning: Cooler than You Think?

Today Apple released a beta software package called Boot Camp to facilitate running Windows XP on an Intel-based Mac. I'm practically speechless. Which doesn't happen too often.

Apple's Boot Camp Beta: Brilliant!
(click for larger view)

Now we all know a few weeks ago this nut was already cracked by some enterprising young hackers, so we all knew it was possible, and in fact probable that installing and booting Windows on Mac would become a fairly trivial and commonplace happening. There were even rumors that the next version of the Mac OS would provide "virtualization" software for running Windows in an emulated environment from within Mac OSX. But I have to admit I was quite taken aback by today's news. Official support from Apple for installing and running Windows on the Mac.

Brilliant!

Dual Booting
(click for larger view)

One of the best things about all this is the fact that Apple is providing Windows drivers for Mac-specific hardware. So you no longer need to search the internet to find them. But to me, coolest thing is the portion of the assistant that creates the partitions. Here, for the first time in Mac OS history (at least that I'm aware of), we see an Apple-branded utility that will partition your drive without erasing it. It's uber-smart of Apple to provide this functionality for people who want to test this out without the inconvenience of a full system reinstall. But it also has immensely cool implications if partitions are as important to you as they are to me, or if you happen to use an Xserve RAID. I'll explain.


Space Maker: The Caption Says it All
(click for larger view)

I use partitions on my systems to wall-off user data from system data. So I have one partition with all the system components and applications. Root. The boot drive. I try to keep this drive to as reasonable a size as I think I'll ever need, and then create a second partition with my user data: projects, mail, videos, music — everything else, essentially. This partitioning scheme works great, but it breaks down when someone like Apple decides to release a suite of applications that suddenly takes up eight times more space than the previous version. All of sudden, I no longer have enough space on my root drive for all of my applications. A partitioning system like mine fails when I am unable to accurately predict the amount of space all my apps will require, both now and in the future. And this is becoming increasingly common. A utility that would let me dynamically resize my partitions would be a godsend. Now I don't think the partitioner included in the Boot Camp Assistant does dynamic partition resizing, and it probably never will, and I'll just have to roll with it. But I can dream. And there is another area in which a utility like the one in Boot Camp would have immediate benefits.

I have a client who purchased on of Apple's Xserve RAID systems. This is a pretty cool beast. Fast. Stable. Very reliable. But there's a scalability problem, and it's one reason I won't buy one for my lab. When you read the datasheets and the manuals for the XRAID, you're told that drives can be dynamically added to the RAID in the future, should you ever require more storage. Add the new drive and the RAID will, theoretically, add it to the RAID set and you'll have that much more storage space. This is typical of enterprise-level RAIDs I'm told. It's one of the reasons you get them: scalability. But if you ever try to actually do this on an XRAID you'll run into a little snag. You see, while it is possible to add a drive to the RAID system and have the RAID recognize the new drive and add it to the set, the Mac OS host is responsible for partitioning the RAID. So what happens is, you add the drive, the XRAID sees it and adds it to the set automagically, but the Mac does not recognize the additional capacity. The Mac still sees the original partitioning scheme. I've read through the manuals and discussion forums — hell, I even talked to one of Apple's RAID specialists — and it turns out there is no way to grow the XRAID without repartitioning it from the host Mac. And as you're well aware, I'm sure, there's no way to repartition a Mac drive without wiping it. So, you want to grow your XRAID? Well, you'll have to wipe it. And that just sucks.

Boot Camp on PPC: No Boot Camp for You!
(click for larger view)

Apple's RAID specialist told me that they were working on a solution to this. That was about a year ago, and I've heard nothing since. But the partitioning utility in the Boot Camp Beta gives me great hope that a solution is indeed imminent. It may even be here already, if you have an Intel Mac that is. I've tried it, and no, the Boot Camp Beta will not run on a PPC Mac. No surprise there. But if the information on the Boot Camp page is any indication (Apple calls "Space Maker" the "most elegant hard drive utility ever"), a new and improved partitioning utility is on the horizon for the Mac. And I'm just as excited about this as I am at the prospect of booting Windows on my Mac. Maybe more.

It's been a long time coming.

UPDATE:
I'm told by a colleague that growing a filesystem (like on a RAID) and partitioning a filesystem (what the Boot Camp Assistant does) are two different things, growing being the harder and, according to him, requiring a grow-able filesystem, which HFS+ is not. So maybe this is a pipe dream.

Apple has a FAQ up about the Windows installation process for Intel Macs, and there are some interesting things there. Most notable in the context of this article is the fact that Boot Camp Assistant will only work on "an Intel-based Mac that has one hard disk partition." This does not bode well. Still, I remain hopeful that this utility is indicative of possible future utilities that would allow for more flexible, less destruct ive partitioning.

UPDATE 2:
I've been doing some hunting around on Apple's RAID capabilities and discovered that you can now (as of Tiger, I believe) use Disk Utility to create what called a Concatenated Disk Set (also referred to as JBOD, for Just a Bunch of Old Drives). These sets can be combined with other forms of RAIDs as well. Until yesterday I'd never even heard of Concatenated RAID, but apparently it's the oldest form of RAID. Concatenated RAID doesn't have the redundancy advantages of RAID 0 or the performance advantages of RAID 1. All Concatenated gives you is more contiguous disk space. I've read that Concatenated could be used to append a new drive on an XServe to the RAID set, though all it would do would be to add to the set's capacity and would not be a true member of the set. This is recommended as a stop-gap measure more than anything, and it's recommended that the reformat necessary to truly join the new disk to the set be performed later, at a more convenient time. Interestingly, this seems to suggest that a Concatenated RAID can be performed without wiping the disks in question, though I can't find any documentation that states this one way or the other. Also, the disks in a Concatenated RAIDs do not have to be identical, as with other forms of RAID. Concatenated RAID disks can be all different sizes, shapes and colors. As soon as I can find some drive to offer up as sacrifice, I will be testing out Concatenated RAID. I'll let you know what I find.

UPDATE 3:
It appears that a new verb for the diskutil command has been added in 10.4.6. The verb is resizeVolume and it's what allows the non-destructive partitioning done by the Boot Camp Assistant. Don't look for it in the man pages; it's not mentioned there. But if you just run the diskutil programsan arguments you'll see resizeVolume listed as an option. I first read about this on Daring Fireball, which links to a MacGeekery article that outlines, in-depth, the process of using the new option to non-destructively resize volumes. I don't know yet if this works on PPC Macs — the article suggests it's for Intel machines only. But I'm sure going to give it a whirl. I'll post a follow-up on all my partitioning experiments in the near future. Stay tuned!

When the Cure is Worse than the Disease: Mac Anti-Virus Software

Getting anti-virus software for the Mac is like getting chemotherapy for a cold. It's totally overkill and does way more harm than good. You're better off with the cold.

Via MacFixIt:
In yet another case of AntiVirus software causing serious issues while purporting to be identifying infected files, it appears that Sophos' AntiVirus software is generating false positives for the "OSX/Inqtana.B worm", invoking users to delete critical application and system files and causing serious issues.

Again, the virus being identified by Sophos AntiVirus is marked Inqtana.B -- apparently a variant of the Inqtana.A malware that likewise spreads by copying itself to other computers via a bluetooth connection.

As previously reported, OSX/Inqtana.A -- a Java based proof of concept bluetooth worm that affects older versions of Mac OS X 10.4.x (Tiger). The vulnerability does not affect Mac OS X 10.4.5, and has not been found in the wild.

Despite that, Sophos' software is identifying "infected" files -- sometimes numbering in the thousands -- on Mac OS X 10.4.5 systems.

The results of the false positives are, in some cases, disastrous...

...We currently recommend that users disable Sophos AntiVirus until further notice, and disallow the application to automatically delete any files it deems "infected."

That really says it all. The state of commercial Mac anti-virus software is pathetic. It seems like the developers of this software are desperately trying to drum up business with scare tactics for viruses that don't even exist in the wild while simultaneously writing code that damages people's systems. Fucked up? You betcha.

I'm all for virus protection, even on the Mac. But when anti-virus software is worse than the viruses it claims to protect against, it's no wonder no one's buying it.

Option-Arrow Word Movement in Terminal

Want to use the option-arrow key combo to move through text in Terminal just like you do in virtually every other Mac application on the planet? Boy, I sure did. Luckily, Allan Odgaard, the author of TextMate, has figured out how, and it's a breeze. In a nutshell (no pun intended):

  • Open Terminal
  • Open the Inspector (command-i)
  • Go to the "Keyboard" section
  • Add a new key binding by pressing the "Add" button
  • Set "Key:" to "cursor left"
  • Set "Modifier:" to "option"
  • Set "Action" to "send string to shell:"
  • In the text box, press the escape key to get the "\033" text, then hit the "b" key, for "back"
  • Click "OK"
  • Repeat this process for forward movement, using "cursor right" for the "Key:" setting, and "escape-f" for the forward key binding
  • Be sure to click "Use Settings as Defaults" if you want the change to be permanent

The Terminal Inspector: Finally Proper Word Movement

(click for larger view)

That's it! Now hitting option-left-arrow will move the cursor back one word in Terminal, and, of course, option-right-arrow will move it one word forward.

Sweet!

I Actually Bought iLife '06

I've always pooh-poohed the iLife suite as being oh-so-not-professional, and thus, mostly useless to me. But over the years I've found more and more reasons to like and use many of the apps in iLife. The latest incarnation of the suite actually found me shelling out my $79 bucks for it, which is seriously not a bad deal at all for everything you can do with it.


The iLife '06 Suite: I'm Done Pooh-Poohing

iMovie and iDVD
Now, I'm not a fan of iMovie or iDVD. These apps are great, I guess, if you need to do something quick or not that complicated, and if you didn't want to shell out the dough for Final Cut or DVD Studio Pro, they'd be a great value and plenty good for many personal projects. But I cut my teeth on the Pro Apps, and having done so, I find iMovie and iDVD far too limited — and even confusing sometimes — for my own use. For the money, these are amazing apps, but I can't really talk about them as I just don't use them. Suffice to say, it looks like the latest versions include some nice new features that long-time users will appreciate.

iPhoto
I've been using iPhoto for about a year now. It's fine for me. I'm not a pro photographer, and the vast majority of my photos come from my cell phone. This collection has grown fairly large in the last year, though, so I needed a way to organize it. iPhoto was the obvious solution as it came bundled with my G5. For my limited purposes it worked fine. The only major complaint I ever had was that iPhoto 5 takes all your images and organizes them in an arcane, completely non-sensical (to humans, at least), database-like folder structure. And it always makes copies of any image it imports. This sucked for two reasons: 1) Every picture in iPhoto 5 was a duplicate of the original, taking up extra disk space, and 2) the organization of images in iPhoto did not match what you saw in the Finder.

iPhoto 6 rectifies both these problems. When importing new photos, iPhoto 6 finally gives you the option to not copy your files to the iPhoto database. Which means you can have your photos wherever you want on disk. Nice. If you do choose to copy your photos, however, iPhoto 6 will organize them on disk exactly as they are in iPhoto. So if you have a film roll called "Pets" in iPhoto, it will correspond to a folder in the Finder called "Pets." 'Bout frickin' time. Was that so hard?

iPhoto 6's new editing mode takes some interface cues from Aperture, and is pretty nice too. Check it out.

GarageBand
My latest love, and the real reason I bought the suite, is GarageBand. I recently discovered GarageBand when I wanted to record a demo song quickly, easily, and with very little actual physical equipment. I own a ProTools MBox system, but I have to tell you, GarageBand's ease-of-use, and its wonderful collection of amp simulators made me think twice about ever using ProTools again. I was able to plug my guitar and mic into my mixer, plug the mixer directly into the Mac, and go to town, recording and mixing my demo three times in two days (and not full days, mind you, this was in the evenings after work). The great thing was that I needed no amps, which I can't really use in my apartment because of noise and space constraints. Using GarageBand's included amp simulations and built-in effects, though, was good enough, and in two days I was able to produce a demo that sounded as good if not sometimes better than stuff that took weeks to mix in ProTools. Color me amazed. If GarageBand had support for 24 bit sound — or for that matter, the MBox hardware — I'd probably switch to it altogether.

At this point I've only toyed with the latest version. But it looks to be quite nice. The instruments, effects and simulations all appear in a new, integrated, sidebar-like media manager, rather than in a new dedicated window, and switching instruments will toggle the settings in the sidebar. There's also, now, support for video, which is great, and a much welcome addition to the app.

The only problem I had was using the "Musical Typing" feature, which allows you to use your computer's keyboard as a MIDI input device. In the new version using the keyboard to record MIDI exhibited a great deal of latency and resulted in horribly offbeat recordings. It was basically unusable. Using a proper MIDI keyboard, however, worked fine. This was not a problem in the previous version of GarageBand.

That said, I'm really looking forward to playing with this new version. There are all sorts of features aimed at podcasters that could be really useful for general sound production as well, particularly the "ducking" feature. All-in-all, I'm far happier with GarageBand than I ever thought I would be.

iWeb
I'll just say it. I hate iWeb. I don't know that it's necessarily a bad program per se, but It's really not a program geared toward someone like me. iWeb is almost completely template driven, and barely customizable. You can't even change the color of links on your page. I'd call it a web publishing app more than a web design app, because Apple apparently expects you to largely use their designs, with perhaps minor modifications. If that's all you want to do, and you like their templates (which are very nice, as usual) then you might like iWeb. I prefer a bit more control than iWeb offers, and I will never use it.

As you can see, I only use two of the iLife applications. Two. Out of five. Am I bothered by the fact that I spent $80 bucks on the iLife suite? Nope. Not a bit. This package is such a good deal, and does so much for the money, I'd pay $80 bucks for one of these apps without a blink. And if you happen to use all five, iLife is easily one of the best deals going in software anywhere, ever.