MacOS X使用ubuntu grub引导

服务器   发布日期:2023年05月29日   浏览次数:58

这是我可用的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
}

  

以上就是MacOS X使用ubuntu grub引导的详细内容,更多关于MacOS X使用ubuntu grub引导的资料请关注九品源码其它相关文章!