* Put the AUTOISO back under the _ISO folder
the reason it is taken out of _ISO is so that the batch file for easy2boot does not have to search that menu - this takes time and is inefficient* Put the MAINMENU under the GRUB folder
why? isn't it more obvious under the root?* If possible put the firadisk and winvblock under one folder, like maybe named Util.
Best kept separate as one is for XP and the other for Vista+ - if I update other tutorials I want to keep it easy to update this one too and so keep same structure or could lead to mistakes and/or much extra editing each time they are updated.* Is it possible to put the ISO that we want on the MAINMENU to the TOP above the other stuff?
yes - I can swap them over* Add one more entry under the reboot entry on the main menu - HALT
I will add it in - why is it useful to hang the system rather than ctrl-alt-del or switch off?
* Is there some sort of variable that can be used inside the .MNU files that we create that can return the name of the .MNU file itself?
That way it can be used instead of keep repeating the .ISO name? Similar ISO's with similar needs in a .MNU file could just be done
by simply copying one.MNU file and renameing it to the same as the .ISO and viola! You're done, no need to even edit it.
I don't understand what you mean? The name of the mnu file can be anything (e.g. fred.mnu) it has no correlation with the payload file.
You don't need mnu files for most ISOs anyway???? Can you explain more what you mean...
Off for zzzzzzz.. now so will catch up in 8hrs!
Thanks for the explanations. HALT would just be nice as I occasionally need to actually HALT a machine rather than reboot and if a menu offers it, why not? I konda figured the other stuff was for speed an efficiency. I just really liked the forst versions lack f clutter, just an _ISO folder, grub folder and grldr file was all that was on the stick. No problem was just wondering.
The last item: I was wondering if grub had some sort of replaceable parameter that it could use INSIDE a menu.lst (or *.mnu) file that would reference it's own filename. I have 3 or 4 ISO's that I put in the MAIN MENU to appear at the start of the menu system, ALL of them (well with the exception of ONE) use an identical FILE.mnu with the only difference being that the NAME OF THE ISO (and therefore the name of the menu itself) called on the various lines inside the menu file. I thought it would be ingenious if grub had some sort of parameter built in to it that could substitute the name of the menu itself - like a parameter named %MENUNAME%. So I've got fred.iso, bob.iso and larry.iso, all 3 use identical .mnu files only difference is that the NAMES of the ISO's are in each menu. If I could simply make a copy of ONE .MNU and name it to match the name of the ISO then that's all that would be required. I just thought it would be a good idea if such a parameter existed.
Maybe like so:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
iftitle [if exist %MFOLDER%/MAINMENU/%MENUNAME%.ISO] Win 7 PE\nWindows 7 based PE disk
map %MFOLDER%/MAINMENU/%MENUNAME%.ISO (0xff) || map %MFOLDER%/MAINMENU/%MENUNAME%.ISO (0xff)
map --hook
root (0xff)
chainloader (0xff)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The above could be used by ANY ISO just by naming the menu file to match the ISO. But a parameter like %MENUNAME% needs to exist, I was asking if it does.
You are one of the handful of people in the world that truly understands the vagaries of the grub menu system and I am envious of your knowledge. I look at your code and my eyes glaze over It's just one of the things that I can USE but don't have a firm grasp on HOW it works. Thanks again for your terrific work.