![]() |
[SOLVED] Windows (7-->11) iso boot on uefi in hdd, error iso driver - Printable Version +- Ventoy Forums (https://forums.ventoy.net) +-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1) +--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2) +--- Thread: [SOLVED] Windows (7-->11) iso boot on uefi in hdd, error iso driver (/showthread.php?tid=1894) Pages:
1
2
|
[SOLVED] Windows (7-->11) iso boot on uefi in hdd, error iso driver - nguyen ha thai trong - 11-24-2021 When booting windows iso in uefi mode on the hard drive using ventoy.vhd, an error message appears as shown in the screenshot below.This error appears with ventoy versions from 1.0.44 to 1.0.61, while ventoy version 1.0.43 does not have the above error. RE: windows (7-->11) iso boot on uefi in hdd, error iso driver - longpanda - 11-25-2021 What about boot the same ISO file in afficial Ventoy USB stick (not ventoy.vhd)? RE: windows (7-->11) iso boot on uefi in hdd, error iso driver - nguyen ha thai trong - 11-25-2021 Boot same ISO file in smart USB Ventoy stick then ok. But why ventoy(1.0.32-->1.0.43) boot in both cases (USB and ventoy.vhd) are ok, and ventoy (1.0.44-->1.0.61) get that error When using grub.cfg of ventoy1.0.43 instead of grub.cfg of ventoy1.0.61, now ventoy1061.vhd boot windows iso from another hdd/ssd, no error like above. I have compared grub.cfg of 2 versions above, did not find any lines of code to be removed from 1.0.43, only additional lines of code to expand the features of ventoy1.0.61. So just ask for help from LongPanda RE: windows (7-->11) iso boot on uefi in hdd, error iso driver [solved] - nguyen ha thai trong - 11-26-2021 I have found that the cause of the above error is due to the change of the function vt_check_compatible_pe.In ventoy1.0.61 there is function vt_check_compatible_pe { #Check for PE without external tools #set compatible if ISO file is less than 80MB if [ $vt_chosen_size -gt 33554432 -a $vt_chosen_size -le 83886080 ]; then set ventoy_compatible=YES elif [ -e $1/WEPE/WEPE.INI ]; then set ventoy_compatible=YES fi return } Replace to function vt_check_compatible_pe { if [ -f "$1/HBCD_PE.ini" ]; then set ventoy_compatible=YES fi } of ventoy1.0.43 RE: windows (7-->11) iso boot on uefi in hdd, error iso driver [solved] - longpanda - 11-26-2021 The ISO file you boot is less than 80MB ? RE: windows (7-->11) iso boot on uefi in hdd, error iso driver [solved] - nguyen ha thai trong - 11-26-2021 (11-26-2021, 06:25 AM)longpanda Wrote: The ISO file you boot is less than 80MB ?I think it is necessary to control well the statement "set ventoy_compatible=".Windows iso that I mentioned is the standard version downloaded from the microsoft website RE: windows (7-->11) iso boot on uefi in hdd, error iso driver [solved] - longpanda - 11-26-2021 If the iso file is not less than 80MB, the vt_check_compatible_pe is actually the same for 1.0.43 and 1.0.61. I don't known why. You can add echo $vt_chosen_size to see the value of vt_chosen_size RE: windows (7-->11) iso boot on uefi in hdd, error iso driver [solved] - nguyen ha thai trong - 11-26-2021 (11-26-2021, 02:05 PM)longpanda Wrote: If the iso file is not less than 80MB, the vt_check_compatible_pe is actually the same for 1.0.43 and 1.0.61. I don't known why.ok, let me follow you echo $vt_chosen_size Appears on the notification screen as attached image I think that's why the "vt_check_compatible_pe (loop)" statement is stopped and the uefi_windows_menu_func, uefi_iso_menu_func this functions are not executed RE: windows (7-->11) iso boot on uefi in hdd, error iso driver [solved] - longpanda - 11-27-2021 OK. Anyway this is not official Ventoy environment. So don't expect it will work OK all the time. RE: windows (7-->11) iso boot on uefi in hdd, error iso driver [solved] - nguyen ha thai trong - 11-27-2021 (11-27-2021, 11:34 AM)longpanda Wrote: OK. ![]() ![]() ![]() ![]() ![]() ![]() ![]() |