Yaboot a bootstrapper for Macintosh

Source: Internet
Author: User
Keywords Boot program for can OS if
Tags aliyun basic boot program default editor etc example get

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.