Hi guys. I'm having hard time trying to understand the twisted semantics of grub4dos' menu.lst. Could you please help me a bit?
I have 3 partitions on my HD (I have installed grub4dos as default bootmgr entry on active partition (hd0,0)):
hd0,0 - system reserved, active hd0,1 - windows hd0,2 - windows
Now what I'm trying to achieve is:
1. Do not display any menus, instead display blank screen with text "Please enter password: ".
2. Take action as described by following pseudocode:
if(password==123456) { if(not hidden(partition 2)) hide partition 2 if(hidden(partition 1)) unhide partition 1 boot partition 1 } else { if(not hidden(partition 1)) hide partition 1 if(hidden(partition 2)) unhide partition 2 boot partition 2 }
3. Optionally:
-Set 10 sec timeout (i.e if no key is pressed, then do the second part).
-If ESC key is pressed, then do the second part.
Is it even possible to configure grub4dos this way? Thanks for your time.
Edited by forsajt, 12 March 2015 - 02:32 PM.