装完FreeBSD10的安装,安装完退出之后,发现启动项里面只剩下fedora的启动项,我的电脑是Fedora20+FreeBSD双系统,想用GRUB引导修复freeBSD的启动项,网上搜了一堆方法。但是都不可行。
我的FreeBSD是装在gpt5中
修改/ect/grub.d/40-custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the ‘exec tail‘ line above.
menuentry "FreeBSD"{
set root=‘(hd0,gpt5)‘
insmod ufs2
chainloader +1
boot
}
更新后的grub2文件中的一部分
这是更改后的/ect/grub2-efi.cfg中的一部分
menuentry ‘FreeBSD‘ --class freeBSD --class os $menuentry_id_option ‘gnulinux-0-rescue-d219eaf0ce324416bfbf0f089cbfe1b1-advanced-4b58fea1-5a7c-4a2f-9f45-09a45b3c8715‘ {
load_video
insmod gzio
insmod part_gpt
insmod ufs2
set root=‘hd0,gpt5‘
启动后发现提示是
invalid EFI file path
you need to load kernel first
请问是否有大神解决了这个问题???
急求!!!
http://zhidao.baidu.com/question/936859236758454452.html?quesup2&oldq=1
在Fedora20用grub引导freeBSD10,布布扣,bubuko.com
原文地址:http://blog.csdn.net/qq844352155/article/details/38353327