How to Split Your Mac Hard Drive into 2 Partitions

If you’re like me, then you’re probably trying to figure out how to install OS X Lion on your Mac. The first requirement is that you have an extra partition on your Mac. Follow the instructions below to add a new partition to your Mac on the fly without formatting anything.

**WARNING: It should go without saying, but just in case, you should ABSOLUTELY TAKE A BACKUP before attempting any of the steps below.**

1. List Disks

Open the Terminal App and list your available disks by running:

diskutil list

Output:

Apple_HFS Macintosh HD            249.7 GB   disk0s2

2. Find Disk Identifier

The one you will split is probably called “Macintosh HD”, as shown above, although there will be 3 entries if you have a single partition. Each disk will have a disk identifier. Mine is disk0s2.

3. Check Min/Max Disk Size

Query your disk to find it’s min and max sizes by running this command and replacing “disk0s2” with your disk identifier:

diskutil resizevolume disk0s2 limits

Output:

For device disk0s2 Macintosh HD:
Current size:  249.7 GB (249715376128
Minimum size:  122.5 GB (122549932032 Bytes)
Maximum size:  249.7 GB (249715376128 Bytes)

4. Split your Boot Disc

Split your disk and make sure you don’t set your boot disk to less than the minimum. This can be run as many times as you want until you run out of space. In other words, if you want 3 disks instead of two split the disk again using the disk identifier of the newly created disk.

I want to make my boot disk 200GB and my Second (Lion) partition take up the rest of the space, about 50GB:

diskutil resizevolume disk0s2 200GB JHFS+ Lion 48G

The command causes the second partition to use the rest of the space on the disk, so just make sure that you specify a number, 48GB, that is less than the total available disk space after the split.

5. Dealing with Errors.

If you get an error like this then you should boot off your Mac’s startup disk, Open Disk Utility and click Repair Disk. Then re-run the command. You can even run it from terminal while booted off the install disc.

Started partitioning on disk0s2 Macintosh HD Verifying diskError: -9915: 
Could not modify partition map because filesystem verification failed

7. Now when I run diskutil list I see a new drive:

2:                  Apple_HFS Macintosh HD            200.0 GB   disk0s2
3:                  Apple_HFS Lion                     49.6 GB    disk0s3

8. If you have access to Mac OS X Lion you can now use this partition to install it.

Organize your dock by adding spacers in Snow Leopard

There is nothing like a shiny new mac and if you are like me, then you start with a fresh install rather then cloning your old machine. Since the dock on the new machine was not setup the way I like it a had to make a few changes and one of them is to add separators between applications. I do this to group like applications together. So to get started the first thing you will need to do is open Terminal on your Mac.

This is what my dock currently looks like.

Terminal can be found in: Applications > Utilities

To add a separator to the left side of the dock

defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'

To add a separator to the right side of the dock

defaults write com.apple.dock persistent-others -array-add '{tile-data={}; tile-type="spacer-tile";}'

Each time you run one of the commands above it will create a new separator but you need to restart the dock to see them. To do this just type this into Terminal:

killall Dock

Backblaze Icon Missing from Menu Bar in Snow Leopard

Long story short, Backblaze is awesome!  Up until I lost my Backblaze icon from the menu bar in Mac OSX Snow Leopard.  I researched online a little and couldn’t find an easy method of fixing the issue.  With that nifty little icon missing, I worried if it were working at all – all those precious photos, video and digital memories gone?

By going into the Backblaze settings in your System Preferences, you can select the check box next to “Show Backblaze icon in the menu bar.”  However, every time I checked the box, the icon would not come back.  And upon return to the preferences, the box remained unchecked.  A mystery?  Yes, indeed.

Therefore, I contacted customer support and they gave me a quick and easy solution that made my day.  Try the following steps below to fix the mysteriously missing Backblaze icon from the menu bar in Snow Leopard.

  1. Click on the Finder
  2. Press Command + Shift + G
  3. Enter /Library/Backblaze in the text field and press “Go”
  4. Right click on the folder “bzdata” and Get Info (or press command + i)
  5. Change the permissions, so that all users have “Read & Write” permissions.
  6. Then click the gear icon and select “Apply to enclosed items..”
  7. If the Backblaze icon doesn’t show up on the menu bar, follow steps 1-3 again and this time double click “bzbmenu” and this will place the icon in the right spot.