无忧启动论坛

标题: Windows版grub2测试grub-install.exe安装错误提示 [打印本页]

作者: 2010haiven86    时间: 2020-9-9 15:26
标题: Windows版grub2测试grub-install.exe安装错误提示
grub2版本:Wintoflash的最新grub2.05:

测试用批处理命令:
grub-install.exe -v --target=x86_64-efi --boot-directory=R:\BOOT --efi-directory=R: --locales="zh_CN zh_TW" --install-modules="affs afs" --force --removable


结果,错误提示:
grub-install.exe: info: cannot open `R:\BOOT\grub/device.map': No such file or directory.
......
..省略N行..
......
grub-install.exe: info: copying `Z:\grub2-latest/x86_64-efi/po/zh_CN.mo' -> `R:\BOOT\grub/locale/zh_CN.mo'.
grub-install.exe: info: cannot open `Z:\grub2-latest/x86_64-efi/po/zh_CN.mo': The system cannot find the path specified..
grub-install.exe: info: copying `Z:\grub2-latest/locale/zh_CN/LC_MESSAGES/grub.mo' -> `R:\BOOT\grub/locale/zh_CN.mo'.
grub-install.exe: info: cannot open `Z:\grub2-latest/locale/zh_CN/LC_MESSAGES/grub.mo': The system cannot find the path specified..
grub-install.exe: error: cannot find locale `zh_CN'.



用grub2官方的2.04版也是同样的错误提示



作者: 2010haiven86    时间: 2020-9-9 15:29
本帖最后由 2010haiven86 于 2020-9-9 15:30 编辑

很明显的这些句子`R:\BOOT\grub/device.map'
Windows版的路径应该用反斜杠\,而这里一半是反斜杠\,一半是Linux下的正斜杠/
这样当然认不了路径,这是grub2程序本身的问题么?
作者: devilma    时间: 2020-9-10 20:22
路径问题




欢迎光临 无忧启动论坛 (http://bbs.c3.wuyou.net/) Powered by Discuz! X3.3