How to fix grub and install the osx86 driver

Source: Internet
Author: User
How to fix grub and how to install the osx86 driver-general Linux technology-Linux technology and application information. For more information, see the following. There are some important things that should not be forgotten in front of the computer. Here we will record them and give them some help.

1. After xp is reinstalled, the mbr is written by xp, causing grub to fail to work. solution:
Start Live CD and enter the desktop.
Open the terminal or switch to a tty (Ctrl + Alt + F1 ).
Enter "grub"
Enter "find/boot/grub/stage1"
Enter "root (hd0, x)" # enter the data fed back by the find command
Enter "setup (hd0)" # Write (hd0, x) If you want to use xp for multi-system boot)
Enter quit to exit grub.
Restart.

2. Modify grub to enable grub to boot multiple Windows xp, osx, and kubuntu (theoretically, you can boot 98,2000, xp, nt, vista, and so on at the same time)
Edit/boot/grub/menu. lst and add the following statement in the appropriate place (usually at the bottom, where multiple linux Startup configurations are available:

Title Mac OS X, Apple Inc # What do you want to write? You can also write fuck GFW.
Rootnoverify (hd0, 1) # Write to the operating system partition. I wonder if/dev/hda1 mode is supported.
Savedefault
Chainloader + 1

Save

The syntax for, or vista should be the same. However, if windows is the system, it is recommended that you add another line under savedefault.
Active
I don't know why it should be activated. I can see someone writing it like this.

3. Update the driver in osx:
First put the new driver file. kext into/System/Library/Extensions/, and then
Sudo chown-R root: wheel/System/Library/Extensions/
Sudo chmod-R 755/System/Library/Extensions/
Sudo rm/System/Library/Extension *
Kextload/System/Library/Extensions/
Kextcache-k/System/Library/Extensions/
Sudo diskutil RepairPermissions/
Then restart the instance. Generally, the instance is effective immediately without being restarted. We recommend that you restart the instance)
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.