Add Microsoft DaRT to FOG Menu



  • I’d like to add a Microsoft Diagnostics and Recovery Toolset (DaRT) image to the FOG menu; probably under Advanced Menu so I can force a username and password input.

    Is this possible? Never tried loading another .iso from FOG before.



  • Hi,

    i boot all my iso’s that way:

    initrd http://${fog-ip}/iso/acronis2017.iso
    chain memdisk iso raw ||
    goto MENU
    :easeuspms
    initrd http://${fog-ip}/iso/easeuspms.iso
    chain memdisk iso raw ||
    goto MENU
    :aomeipau
    initrd http://${fog-ip}/iso/aomeipau.iso
    chain memdisk iso raw ||
    goto MENU
    :veeam
    initrd http://${fog-ip}/iso/veeam.iso
    chain memdisk iso raw ||
    goto MENU
    :erd2005
    initrd http://${fog-ip}/iso/erd2005.iso
    chain memdisk iso raw ||
    goto MENU
    :dart7
    initrd http://${fog-ip}/iso/dart7.iso
    chain memdisk iso raw ||
    goto MENU
    :dart8
    initrd http://${fog-ip}/iso/dart8.iso
    chain memdisk iso raw ||
    goto MENU
    :dart81
    initrd http://${fog-ip}/iso/dart81.iso
    chain memdisk iso raw ||
    goto MENU
    :dart10
    initrd http://${fog-ip}/iso/dart10.iso
    chain memdisk iso raw ||
    goto MENU
    :dban
    initrd http://${fog-ip}/iso/dban_2.3.0.iso
    chain memdisk iso raw ||
    goto MENU
    

    Here is my complete menu: https://pastebin.com/zWBnT5c0



  • @Quazz @Avaryan
    I tried it with the windows 10 DART iso and that didn’t work for me. Throws an error. I will try the other method.


  • Moderator

    Just want to weigh in that for me personally, with DaRT iso, I don’t have to unpack it. It’s generally wise to do so as it tends to work better on average, however.

    initrd ${msdart-url}/MSDaRT8.1x64.iso
    chain memdisk iso raw
    

    Has worked so far for me.



  • My FOG server is running on Ubuntu with apache2. So if you’re running something else the directions may be different.

    At this point I assume you’ve downloaded and installed DaRT and opened the ‘DaRT Recovery Image’ tool and created a custom .iso.

    Next you’ll need to either mount, burn, or extract the files inside the .iso. Copy everything to /var/www/html/DaRT7 on your folder.

    You’ll also want to download and extract wimboot and place those files inside the DaRT folder. The inside of your folder should look like this:
    alt text

    Link to wimboot.

    Next go to the web side of your FOG server.
    FOG Configuration --> iPXE Boot Menu

    Scroll all the way down and click the ‘Advanced configuration options’ to expand the menu. Copy/paste/save into the box.

    :MENU
    menu
    item --gap -- ---------------- iPXE Advanced Boot Menu ----------------
    item dart7 Microsoft Diagnostics and Recovery Toolset (DaRT7)
    item return Return to Previous Menu
    choose --default return --timeout 15000 target && goto ${target}
    :dart7
    kernel http://${fog-ip}/DaRT7/wimboot
    initrd http://${fog-ip}/DaRT7/boot/bcd BCD
    initrd http://${fog-ip}/DaRT7/boot/boot.sdi boot.sdi
    initrd http://${fog-ip}/DaRT7/sources/boot.wim boot.wim
    boot
    :return
    chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} ||
    prompt
    goto MENU
    autoboot
    

    Go to FOG Configuration --> iPXE Menu Customization
    Click on fog.advanced. Change ‘Menu Show with:’ to ‘Advanced Options’. Save changes.
    Click on fog.advancedlogin. Change ‘Menu Show with:’ to ‘All Hosts’. Save changes.

    Grab and computer. PXE boot to the FOG Menu. You should have an Advanced Menu option towards the bottom. Click on it. It should prompt for your FOG username/password.

    That’s it.



  • @Avaryan
    I’m special, ignore the last. Still will wait for you to reply so that I can try this out. Seems extremely helpful.



  • @BedCruncher said in Add Microsoft DaRT to FOG Menu:

    @Avaryan
    I was thinking about adding this to my fog menu as well, can you provide me some links on how you got that built? I’ve got the MDOP downloading now, but help from someone who has conquered that particular beast would be much appreciated.

    Thanks

    Sure. I did this on Windows 7 and MDOP version for it. Newer OS’s use the newer version. Instructions are probaly the same or similar.

    The first step is, obviously, to install the version that corresponds to your OS.
    After that is installed hit the Start button. Type in ‘dart’. Click the ‘DaRT Recovery Image’ option. You’ll need a Windows DVD or mounted .iso.

    Follow the instructions to customize your build. I just selected everything.

    And… I have a meeting in 20 minutes. Will continue this afterwards.



  • @Avaryan
    I was thinking about adding this to my fog menu as well, can you provide me some links on how you got that built? I’ve got the MDOP downloading now, but help from someone who has conquered that particular beast would be much appreciated.

    Thanks



  • @rbasart Wimboot is for booting from a .wim (Windows Imaging Format). I doubt that Mobscene uses that.

    Anyway, I just copied from the wimboot files into the root of the directory I placed my DaRT files into.

    http://ipxe.org/wimboot



  • @Avaryan I’m thinking I need the wimboot stuff to make my Mobscene boot. What did you do to get wimboot installed?



  • @Tom-Elliott Where is the advanced script located?


  • Senior Developer

    @Avaryan A couple methods, use hidden menu, which will use a key sequence. This, when pressed, will force a login to view the menu. Or move the items into the advanced script and use the advanced login methodology.



  • Now… how to make it prompt for a password before loading? I know there is something with the Advanced Menu, but that’s not something I’ve messed with (yet).



  • I got it to work. :)

    alt text

    Just needed to download and add the wimboot files.


Log in to reply
 

441
Online

39003
Users

10717
Topics

101763
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.