我已经试了好几个小时了,但到目前为止我还没能做到。
我有grub4dos on sda1 (vfat)、/boot syslinux on sda3 (ext2)和root on sda2 (btrfs)的USB接口。带有syslinux的ext2是引导分区。
菜单中有两个选项: 1.在btrfs上启动Arch。这个很好用。2.链加载到grub4dos (Easy2Boot)的sda1上。
我在grub2中使用了这个设置,但是现在我迁移到syslinux,我无法使用第二个选项。下面是最初的工作grub2条目:
menuentry "Live ISOs"{
set root='(hd0,1)'
linux /grub.exe
}现在,我尝试将它转换为syslinux,如下所示:
LABEL E2B
MENU LABEL Live ISOs
COM32 /chain.c32 hd0,1
APPEND ntldr=/grub.exe但它给了我“错误:不能读取引导文件”
而且,就像这样:
LABEL E2Bb
MENU LABEL Live ISOs
BOOT /grldr
APPEND root=/dev/sda1但这连一个错误都没有给我。只是屏幕闪光灯然后返回到syslinux菜单。
..。就像这样:
LABEL E2B
MENU LABEL Live ISOs
COM32 chain.c32
APPEND hd0 1 grldr=/grub.exe其结果是:
ERR: Option 'maps' requires a sector.我认为问题在于向syslinux显示要查找E2B引导文件的分区,也可能是选择正确的文件(grub.exe、grldr或其他什么),但我没有想法了。
发布于 2015-03-20 21:05:17
链加载-syslinux可以帮助你-它有一些例子
https://unix.stackexchange.com/questions/191512
复制相似问题