|
|
本帖最后由 xuesfh007 于 2025-10-13 13:34 编辑
请问下,用NTloader来启动vhd文件,其中vhd文件里只安装了ventoy(MBR格式)
采用Legecy BIOS模式启动系统
系统文件目录为:
├─grub
└─ntloader
根目录下放置ventoyMBR.vhd文件
启动出错,怎么办
出错内容:
windows failed to start. A recent hardware or software change might be thecause. To fix the problem:
1. Insert your windows installation disc and restart your computer.2. choose your language settings, and then click "Next."
3. click "Repair your computer."
If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
File: \windows\system32\winload.exe
status: 0xc0oo0oof
Info: The application or operating system couldn't be loaded because a
required file is missing or contains errors.
D:\MyUserData\MyDocuments\Desktop\PixPin_2025-10-13_13-26-06.png
看提示,意思只能启动安装windows系统的vhd文件?如果是安装了ventoy系统的vhd有办法启动么?
grub2菜单如下:
menuentry "Boot VHD/VHDx" {
set vhd_path="/ventoyMBR.vhd"
set ntloader_path="/EFI/ntloader"
search -s -f $ntloader_path/ntloader
search -s dev -f $vhd_path
probe -s dev_uuid -u $dev
if [ "${grub_platform}" = "efi" ]; then
linux $ntloader_path/ntloader uuid=${dev_uuid} vhd=$vhd_path
initrd $ntloader_path/initrd.cpio
else
linux16 $ntloader_path/ntloader uuid=${dev_uuid} vhd=$vhd_path
initrd16 $ntloader_path/initrd.cpio
fi;
}
|
|