Ubuntu10.10GRUB2 fix and guide SnowLeopard Configuration

Source: Internet
Author: User
I used to take over the MBR directly and guide the three systems. However, since the snow leopard is not the main partition, it cannot continue after boot0 is started, so I switched back to GRUB2 for guidance. There is a difference between GRUB2 boot and GRUB. I remember that the last sentence was chainloader + 1, but it is not working now (Windows is still possible). I used livecd to fix it. This is post-repair, you can also use CD to automatically fix the problem. First, check the Ubuntu Partition Number on the hard disk, mount it, And then install grub. First, I planned to take over the MBR directly with the chameleon and guide the three systems, however, since snow leopard is not the primary partition, it cannot continue after boot0 is started, so it is switched back to GRUB2 boot. There is a difference between using GRUB2 to guide and GRUB. Remember that the last sentence was chainloader + 1, but it is not working now (Windows is still possible)

I first use livecd to fix it. This is post-fix, or I can use CD to automatically fix it.

First check the Ubuntu Partition Number on the hard disk, mount it, and install grub2 to specify the root directory.


Modify the startup Item below,

Method 1: You can use sudo update-grub to automatically detect and generate data without the guidance of chameleon.
Menuentry "Mac OS X (32-bit) (on/dev/sda6 )"{
Insmod part_msdos
Insmod hfsplus
Set root = '(hd0, msdos6 )'
Search -- no-floppy -- fs-uuid -- set f30fe7ea85757bd6
Load_video
Set do_resume = 0
If [/var/vm/sleepimage-nt10/]; then
If xnu_resume/var/vm/sleepimage; then
Set do_resume = 1
Fi
Fi
If [$ do_resume = 0]; then
Xnu_uuid f30fe7ea85757bd6 uuid
If [-f/Extra/DSDT. aml]; then
Acpi-e/Extra/DSDT. aml
Fi
Xnu_kernel/mach_kernel boot-uuid =$ {uuid} rd = * uuid
If [/System/Library/Extensions. mkext-nt/System/Library/Extensions]; then
Xnu_mkext/System/Library/Extensions. mkext
Else
Xnu_kextdir/System/Library/Extensions
Fi
If [-f/Extra/Extensions. mkext]; then
Xnu_mkext/Extra/Extensions. mkext
Fi
If [-d/Extra/Extensions]; then
Xnu_kextdir/Extra/Extensions
Fi
If [-f/Extra/devprop. bin]; then
Xnu_devprop_load/Extra/devprop. bin
Fi
If [-f/Extra/splash.jpg]; then
Insmod jpeg
Xnu_splash/Extra/splash.jpg
Fi
If [-f/Extra/splash.png]; then
Insmod png
Xnu_splash/Extra/splash.png
Fi
If [-f/Extra/splash. tga]; then
Insmod tga
Xnu_splash/Extra/splash. tga
Fi
Fi
}

Method 2: change it to the following: Call the color-changing boot/boot command. Pay attention to the root partition. Here is 6.
Menuentry "Snow Leopard "{
Insmod hfsplus
Set root = (hd0, 6)
Multiboot/boot
}
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.