At System Preferences > Startup Disk I select a disk with Mac OS X (10.5 or 10.6) installed, but when I click Restart I get this error message: You can’t change the startup disk to the selected disk. The bless tool was unable to set the current boot disk.

I have 10.6 installed on an internal hard drive and 10.5 on an external drive.

I have completely erased both disks from Disk Utility; done Verify Disk, Repair Disk, Verify Disk Permissions, Repair Disk Permissions; reinstalled Mac OS several times on both drives...

Update:

Looks like something is wrong with internal hdd. I have tried to restart the machine in target disk mode, but I got You can't start up with target disk mode. The nvram tool was unable to set a preference


Solution 1:

From the errors given, it sounds like it's more about setting the NVRAM than the startup disk itself. Clear the NVRAM (previously referred to as PRAM; reboot holding command-option-P-R until you hear a second chime) and see if the problem works itself out.

Solution 2:

  • Are you sure your volume has a valid bootable image? That will cause bless to fail - you may have to run the bless command in the terminal or look at the logs to discover this error.

  • What is the partition map on the drives set to? Disk Utility will give you three options: Apple Partition Map, GUID, and Master Boot Record. For any relatively recent Mac, you should always choose GUID. For PowerPC Macs, choose APM. If your disk is MBR, you will not be able to boot OS X from it.

When in doubt, these days, choose GUID. To change the partition map, you'll have to reformat the whole disk (including wiping all partitions).