What I had to do to get Snow Leopard to install on my MacBook

I was getting this message:

Mac OS X cannot be installed on “silver”, because this disk cannot be used to start up your computer.

The problem turns out to be that the Mac OS really wants 128MB of unused space after your main Mac OS partition. If your partitions are back to back then you will get this message. The fix seemed like it would be easy. But unfortunately it was not. When I tried using Disk Utility to tweak my partition around it would immediately get the error “MediaKit reports no such partition”. Great. So I booted into the Snow Leopard CD, launched terminal and ran the following command:

$ diskutil list

This let me figure out what my disk partition number and what the new size should be. Here is my output:

/dev/disk0
   #:                       TYPE NAME         SIZE       IDENTIFIER
   0:      GUID_partition_scheme             *500.1 GB   disk0
   1:                        EFI              209.7 MB   disk0s1
   2:                  Apple_HFS silver       452.8 GB   disk0s2
   3:       Microsoft Basic Data              21.7 GB    disk0s3
   4:       Microsoft Basic Data NO NAME      21.5 GB    disk0s4
   5:                 Linux Swap              3.8 GB     disk0s5

So my OS X disk is “silver”. I took 452.8 and subtracted 128MB which is basically .1 and then subtracted another .1 for good measure. Then I ran the disk resizing command like this:

$ diskutil resizevolume /dev/disk0s2 452.6GB

This went through and did an fsck (verified the disk format) and spit cool little text progress bars at me (I’ve never seen a barbershop pole in text before, thanks Apple). When it was finished checking the disk it went ahead and shrunk my partition. Yay for command line tools that actually work!

After resizing my partition the Snow Leopard installer magically decided it was bootable and I was able to install.

My brother had this exact same thing happen to him except his Disk Utility (and even diskutil) told him that there wasn’t enough space on his disk when he tried to resize it. So I had him grab a disk defrag utility and check out the disk. It appears he had some stuff at the end of the disk and we are theorizing that Disk Utility doesn’t move files around in order to shrink the disk. So he started up a defrag process and went to bed while it chugs along. I’ll update later and report whether that fixes his problem or not. I have high hopes though.

Update: His defrag finished and he was able to resize his partition in Disk Utility and after that Snow Leopard let him install.

8 thoughts on “What I had to do to get Snow Leopard to install on my MacBook”

  1. My stupid install had the exact same issue, except I couldn’t just simply resize the partition. I had to defrag my disk cause I had a file written at the end of the partition, and that kept the partition from being resizable. Lame!

  2. THANKYOU SO MUCH! (:
    I found this site through goodgle, and I followed your instructions. IT WORKED! THANK YOU SO MUCH!

  3. Thank you! Totally worked! Thought I was going to have to reformat my whole drive after uninstalling reFIt and not being able to upgrade to SL.

  4. Thanks! The command-line resize worked. I’d tried resizing with the gui disk utility, and I tried verifying and fixing the disk.

    Nice to finally have it install.

  5. Thanks, worked fine on my MBP with Bootcamp and Linux partitions.
    I reduced the size of the startup disk by 0.2 GB, but then got an error message:
    “Error: -9899: The partition cannot be resized.”
    But somehow it worked anyway, the (Mountain) Lion installer was happy and let me select the disk.

Leave a Reply

Your email address will not be published. Required fields are marked *

Last Modified on: Dec 31, 2014 18:59pm