Variables in ventoy_grub.cfg - Printable Version +- Ventoy Forums (https://forums.ventoy.net) +-- Forum: Ventoy Plugin —— Ventoy 插件 (https://forums.ventoy.net/forumdisplay.php?fid=3) +--- Forum: Ventoy Plugin Forum (https://forums.ventoy.net/forumdisplay.php?fid=4) +--- Thread: Variables in ventoy_grub.cfg (/showthread.php?tid=1457) |
Variables in ventoy_grub.cfg - Steve2926 - 12-03-2020 How do I set the root to the correct partition in ventoy_grub.cfg ? Currently vtoy_iso_part = (hd0,msdos1) so set root=$vtoy_iso_part does not work It would be better to leave off the parentheses so we can set the root - or is there a better way? RE: Variables in ventoy_grub.cfg - longpanda - 12-04-2020 Which partition do you want to set? Currently vtoydev=hd0 Maybe you can use vtoydev as follows: Code: set root=$vtoydev RE: Variables in ventoy_grub.cfg - Steve2926 - 12-05-2020 Yes - that is what I have used. |