lanzuan 发表于 2011-11-2 09:41

怎样修改grub.cfg 使其能 加载 SMBIOS.plist

本帖最后由 lanzuan 于 2011-11-2 09:44 编辑

这是ubuntu10.04 下 引导 mac的 语句
能加载DSDT.aml   怎样修改 能加载SMBIOS文件

menuentry "Mac OS X (64-bit) (on /dev/sda5)" {
    insmod hfsplus
    set root='(hd0,5)'
    search --no-floppy --fs-uuid --set 2e2454f792ad5f54
      insmod vbe
      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 2e2454f792ad5f54 uuid
         if [ -f /Extra/DSDT.aml ]; then
            acpi -e /Extra/DSDT.aml
         fi
         xnu_kernel64 /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
}

lanzuan 发表于 2011-11-3 09:18

怎么没人回答呢{:5_265:}
页: [1]
查看完整版本: 怎样修改grub.cfg 使其能 加载 SMBIOS.plist