这是我可用的grub配置,保存以备用。

其中“14a2196bd826e8ed”是uuid,应当改成你自己的。在ubuntu中查看uuid,使用"sudo blkid /dev/sda*"。

 

menuentry 'Mac OS X (64-bit) (on /dev/sda11)' --class osx --class darwin --class os $menuentry_id_option 'osprober-xnu-64-14a2196bd826e8ed'  {
        insmod part_msdos
        insmod hfsplus
        set root='hd0,msdos11'
        if [ x$feature_platform_search_hint = xy ]; then
          search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos11 --hint-efi=hd0,msdos11 --hint-baremetal=ahci0,msdos11  14a2196bd826e8ed
        else
          search --no-floppy --fs-uuid --set=root 14a2196bd826e8ed
        fi
        multiboot /boot
}

  

相关文章:

  • 2022-12-23
  • 2021-08-09
  • 2021-11-04
  • 2021-04-24
  • 2021-09-17
  • 2021-07-03
猜你喜欢
  • 2022-12-23
  • 2021-11-25
  • 2021-08-18
  • 2021-10-01
  • 2021-09-21
  • 2021-12-28
  • 2022-12-23
相关资源
相似解决方案