level 1
yizg20
楼主
按照官方范例修改了ventoy_grub.cfg文件,错误提示找不到文件,有大佬知道修改其他硬盘路径应该怎么填写吗?
以下是我的示例,单独给硬盘分了一个区跟目录下放虚拟硬盘文件
menuentry "Ubuntu" {
set my_vdisk_path="(hd0,gpt3)/Ubuntu.vdi.vtoy"
if search -n -s vdiskhd -f "$my_vdisk_path"; then
vtoyboot_common_func "($vdiskhd)$my_vdisk_path"
else
echo "$my_vdisk_path not found"
fi
}
2020年10月17日 19点10分
1
以下是我的示例,单独给硬盘分了一个区跟目录下放虚拟硬盘文件
menuentry "Ubuntu" {
set my_vdisk_path="(hd0,gpt3)/Ubuntu.vdi.vtoy"
if search -n -s vdiskhd -f "$my_vdisk_path"; then
vtoyboot_common_func "($vdiskhd)$my_vdisk_path"
else
echo "$my_vdisk_path not found"
fi
}