SOLVED problems Loading Windows iso in advanced menu.

  • Hey guys.

    I am currently in a company with a fog server and i would like to load some windows iso.

    This is the code im using.

    item --gap – ------------- Advanced Menu --------------
    item windows7 windows
    item RETURN Return to the Top Menu
    choose --default RETURN --timeout 30000 target && goto ${target}
    initrd http://${fog-ip}/fog/iso/windows7x64.iso	
    chain memdisk
    goto MENU
    boot http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
    goto MENU

    and this is the error i get.


    Any Help is greatly appreciated.

    thanks !

  • Hello guys.

    Finally, with wimboot systems work fine in all computer.

    This was the code:

       #!ipxe cpuid --ext 29 && set arch amd64 || set arch x86
       kernel http://${fog-ip}/iso/asus/133/wimboot
       initrd http://${fog-ip}/iso/asus/133/BOOT/BCD BCD
       initrd http://${fog-ip}/iso/asus/133/BOOT/BOOT.SDI boot.sdi
       initrd -n boot.wim http://${fog-ip}/iso/asus/133/SOURCES/BOOT.WIM boot.wim

    Thank all, a lot.

  • @george1421

    Thanks you guys, I appreciate your advice, I will change the path of the iso folder, adopt wimboot system, and will check it tonight.

    THX a lot !!!

  • Moderator

    @Rayco said in problems Loading Windows iso in advanced menu.:


    Just hacking your file name here. So all of these systems you are pxe booting are in uefi mode? If so we have seen some pretty flaky uefi firmware especially on Lenovo systems. I’m not saying this is your issue, just we have seen the issue. It is the handoff between either PXE rom and iPXE or between iPXE and FOS.

    There is also another way to pxe boot instead of an iso image (I understand that is desirable for portability). In the link I previously posted, there is an second method for pxe booting into WinPE: I’m not suggesting this will fix your issue, but its something you could try.

  • Moderator

    @Rayco I would try the wimboot way that’s listed on iPXE website if I were you. I find it this is far more successful to boot WinPE than trying to boot the ISO

  • Moderator

    @Rayco said in problems Loading Windows iso in advanced menu.:

    initrd http://${fog-ip}/fog/service/ipxe/iso/asus/TOOL_NB64_W10GPT_V1.3.3.iso

    Not specifically related to your issue, but I wouldn’t place your files in the FOG package path if you want your files to survive an update. I would recommend you move the iso director to a root level directory on your fog server. i.e. http://${fog-ip}/fog/service/ipxe/iso -> http://${fog-ip}/iso

  • @Quazz

     initrd http://${fog-ip}/fog/service/ipxe/iso/asus/TOOL_NB64_W10GPT_V1.3.3.iso
     chain memdisk iso raw ||
     goto MENU

    This is a config menu.

    If some computers work well, I must think that those that do not work is by the configuration of ipxe?

    I will check it, in few hours I answer you.

  • Moderator

    @Rayco Can you share the PXE boot commands you have?

  • @Rayco I don’t know how you created the menu, but maybe this can help:

  • @Tom-Elliott

    If one model fail, all of this models fails too. But if burned in to bootable cd, work fine.

    Thank you a lot.

  • @Rayco If One model is broken, does all of the same model also fail? (Or multiples of the same model more accurately.)

  • @george1421 Thanks for your interest.

    We have one WinPE for each Laptop model. In some models work fine, in other not, but in one cd bootable work fine in all.
    Each one has his own WinPE, some models use the same WinPE.
    Yes, they have the same size in bytes.
    When one model work fine, work fine in all of the same model.
    We think the problem is on some hardwares configurations.

    I will test your suggestion of remove bootfix.bin.

  • Moderator

    @Rayco This is an interesting puzzle.

    1. The system boots one some and not other systems.
    2. You are using the same WinPE image for all
    3. I assume you’ve confirmed that the iso image on the FOG server is exactly the same as in your windows environment by using md5sum utility in both environments and compared signatures??

    Do you have 2 computers of the same model where 1 works and 1 doesn’t?
    If so have you compared the firmware settings?
    Are these systems all uefi or bios (legacy) format?
    Are the systems with error in one geographic network location?
    Any other times you can think of where we could draw a conclusion?

    On a side note (not related to your problem) you can eliminate the pause at the bottom of the boot (as in your picture) by removing a file from your iso image. If you remove /boot/bootfix.bin the iso image will boot without the pause of “Press any key to boot from CD or DVD…”

  • @george1421 Thank you for ur fast answer.

    All computers have bios updated and WinPE’s has drivers incluided.

    I got a screenshot with the trouble. I think we have a problem with a trunked image when go to mapped in memory. (But not all computers fails, several do it nice)

    alt text

    Maybe we have a problem with image or drivers?

    Thank you a lot.

  • Moderator

    @Rayco I have a tutorial for loading the winpe iso image, let me link it in here.

    The other thing you need to be aware of with your winpe image is that you have all of the winpe hardware drivers embedded into the iso image or some systems may fail to boot. You also need to be mindful of the bios (firmware) settings to ensure they are the same between the winpe booting devices.

  • Hi, I have the same problem, but not in all computers.

    Some computers work fine, and load WinPE correctly.

    But others computers loaded at 100% iso file, and did a self restart.

    Someone with a idea ?

    I cheked cables and switches too.

  • @Wayne-Workman Noice. Tell me if you need more info. im not the best at documenting.

  • @sacha-marin I’ll be working on converting this to a WiKi article in the future. Excellent work, Bravo!

  • Moderator

    Great work, thanks for testing and reporting it here! 👍

  • @sacha-marin

    To boot directly to a menu batch file you have to follow the instruction here : article : Customising Windows PE

    tldr : mount the boot.wim in command line with imagex, add your code, unmount it, use Winiso to open it and change the old boot.wim to the new and save it, boot on it and a menu will appear, you also have to manually create the folder from the command. Im talking about the temp folder and the folder in it.

    here is the code for my menu.

    @echo off
    ECHO ...............................................
    ECHO Its dangerous to go alone, take these windows                                                
    ECHO ...............................................
    ECHO 1 - Windows 7 English
    ECHO 2 - Windows 7 French
    ECHO 3 - Windows xp english
    ECHO 4 - Free donuts.
    ECHO 5 - EXIT
    SET /P M=Type 1, 2, 3, or 4 then press ENTER:
    IF %M%==1 GOTO winen
    IF %M%==2 GOTO winfr
    IF %M%==3 GOTO winxpen
    IF %M%==4 GOTO donut
    IF %M%==5 GOTO EOF
    net use w: \\mtl-nt-apps\apps\iso\winpe\win7eng /user:username@domain password
    net use w: \\mtl-nt-apps\apps\iso\winpe\win7fr /user:username@domain password
    net use w: \\mtl-nt-apps\apps\iso\winpe\winxpen /user:sacham@paradox qwerqwer1
    echo              _ _,---._ 
    echo           ,-','       `-.___ 
    echo          /-;'               `._ 
    echo         /\/          ._   _,'o \ 
    echo        ( /\       _,--'\,','"`. ) 
    echo         ^|\      ,'o     \'    //\ 
    echo         ^|      \        /   ,--'""`-. 
    echo         :       \_    _/ ,-'         `-._ 
    echo          \        `--'  /                ) 
    echo           `.  \`._    ,'     ________,',' 
    echo             .--`     ,'  ,--` __\___,;' 
    echo              \`.,-- ,' ,`_)--'  /`.,' 
    echo               \^( ;  ^| ^| )      ^(`-/ 
    echo                 `--'^| ^|^)       ^|-/ 
    echo                   ^| ^| ^|        ^| ^| 
    echo                   ^| ^| ^|,.,-.   ^| ^|_ 
    echo                   ^| `./ /   )---`  ) 
    echo                  _^|  /    ,',   ,-' 
    echo                 ,'^|_(    /-^<._,' ^|--, 
    echo                 ^|    `--'---.     \/ \ 
    echo                 ^|          / \    /\  \ 
    echo               ,-^---._     ^|  \  /  \  \ 
    echo            ,-'        \----'   \/    \--`. 
    echo           /            \              \   \ 
    echo			HMMM DONUTS.

    Windows xp is not working and homer is funny but useless.

    ps: winen is win7english and winfr is for the french version