On the Mac, “installboot” is called “bless”. Try doing:

sudo bless –folder /System/Library/CoreServices –setBoot

This will write new boot blocks, and the “–setBoot” makes it set “boot-device” in the firmware for you.

You can check the contents of the boot blocks and the firmware:

% bless –info
finderinfo[0]: 3210 => Blessed System Folder is /System/Library/CoreServices
finderinfo[1]: 4482983 => Blessed System File is /System/Library/CoreServices/boot.efi
finderinfo[2]: 0 => Open-folder linked list empty
finderinfo[3]: 0 => No OS 9 + X blessed 9 folder
finderinfo[4]: 0 => Unused field unset
finderinfo[5]: 3210 => OS X blessed folder is /System/Library/CoreServices
64-bit VSDB volume id: 0x55CD4075943D044C

% bless –info –getBoot
/dev/disk0s2

Advertisements