I have multiple hardware configurations at my site, and I need to check my computer's RAM. In case the memory is less than or equal to 2GB, I have to run “Hiren Boot 10”. And if the memory is more than or equal to 4GB, I have to run "Hiren Boot 11".
ventoy can do that ? if the answer is yes
i need Any ideas or help to do this?
Press F5 and select Hardware Information
You could maybe make a F6 menu item to display $grub_total_ram variable
create a new file: \ventoy\ventoy_grub.cfg
contents:
menuentry 'Total Memory' --class=custom {
echo $grub_total_ram MB
read
clear
}
menuentry '<-- Return to Ventoy menu [Esc]' --class=vtoyret VTOY_RET {
echo 'Return ...'
}
You would have to create your own F6 menu to do this
You can test memory but then you would need to run the ISO using ventoy
e.g.
if [ $grub_total_ram -ge 4000 ] ; then xxxx; fi
if [ $grub_total_ram -le 4000 ] ; then yyyy; fi
where xxx and yyy would run different ISOs.
but the developer does not support this
https://forums.ventoy.net/showthread.php...on#pid4397