Yaboot is another boot program (for example, grub and Lilo are the more famous bootstrapper) for http://www.aliyun.com/zixun/aggregation/16759.html ">macintosh." Home: http://yaboot.ozlabs.org/
Set OS as the default operating system
This article assumes that you know how to access the basic operations such as terminals.
After installing Ubuntu, you will probably see a startup menu similar to the following when you start or restart your computer:
L-linux
X-macosx
C-cdrom
Here, Ubuntu is the default operating system, but you can change that. Simply change the configuration file. (If you've ever used grub, you may have changed menu.lst.) For example, you can enter
sudo cp/etc/yaboot.conf/etc/yaboot.conf.bckp
sudo editor/etc/yaboot.conf
Note that you can either completely follow the above input or replace editor with the name of Gedit or any text editor you like.
Find the following line:
macosx=/dev/hd**
The content varies depending on your situation.
Insert after:
Defaultos=macosx
Save and exit.
Next, (or at the end of the terminal), enter:
sudo ybin-v
OK, so OS is your default operating system.
/etc/yaboot.conf.backup is your original file and if anything goes wrong, you just have to restore it.