SOLVED Problem setting up DBAN menu item.

  • Hello.
    I have this interesting issue. I am trying to setup a FOG server to be able to image some PCs and also to wipe some PCs as well.
    I have FOG running on Hyper-V VM just fine. I have uploaded an image from one HOST just fine and even have imaged several test VMs and hardware PCs ok too.

    now I want to setup a PXE item for DBAN ISO so I can boot and wipe some computers when needed.
    I follow the directions on WiKi here
    as well as several HOW-TOs I found. I can see the dban folder in “/var/www/html/” like “/var/www/html/dban”
    when mounted I can see the files. the ISO is “/iso/dban.iso”
    I created the Menu Item on the webUI. but
    if I navigate to http://my-ip/dban it drops me to http://my-ip/fog/management page. nothing I have tried fixes the issue. thus the menu item simply ignored and drop me back to main menu.
    anyone here can help me ?


    EDIT 1 :

    found this thread here
    but still could not solve the issue on my server.

    my install is

    Linux FogDeb 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux
    Debian 9
    Fog 1.4.4

    normal stuff works I just can not make an ISO boot option.
    Dban is the first thing I need but I might need to have a Windows 10 ISO as well so would like to solve the problem.

  • Moderator

    @vl1969 the parameters need to be in two lines!

    kernel ...
    boot ...

  • @tom-elliott well, i am not sure how to post this. so here we go.

    this is my option parameters in WebUI.
    kernel ${boot-url}/dban/dban.bzi nuke="dwipe" silent vga=785 boot || goto MENU

    I have followed the how-to on WiKi and also try to move the /dban folder to “var/www” instead of “/var/www/html/”
    and mount it there.
    this is the mounted dir.
    even though I run “chown -R www-data:www-data /var/www/dban” it’s still show root as owner

    fogadmin@FogDeb:/var/www/dban$ ls -l
    total 15971
    -r-xr-xr-x 1 root root      853 Jun  4  2015 about.txt
    -r-xr-xr-x 1 root root 16318688 Jun  4  2015 dban.bzi
    -r-xr-xr-x 1 root root    24576 Jun  4  2015 isolinux.bin
    -r-xr-xr-x 1 root root     2048 Jun  4  2015
    -r-xr-xr-x 1 root root     4160 Jun  4  2015 isolinux.cfg
    -r-xr-xr-x 1 root root     1026 Jun  4  2015 quick.txt
    -r-xr-xr-x 1 root root      390 Jun  4  2015 raid.txt
    -r-xr-xr-x 1 root root      762 Jun  4  2015 warning.txt

    Kernel Versions
    DefaultMember FOG Version: (1.4.4)
    bzImage Version: 4.11.0
    bzImage32 Version: 4.11.0

    and I am not using UEFI boot. also I can boot from ISO directly as in attach ISO to VM and boot. so it is compatible.

  • @george1421 Hi there, I never said anything bad about FOG.
    I also understand that it is an extra feature, even though I believe it should be a totally viable feature/option for FOG.
    it is after all a very nice and useful PXE boot server, and that is what PXE boot servers do, boot special images over network.
    but since there is a how-to to do just what I want to do right on the FOG server WiKi, anyone would assume that the option should work as described. I am not the first person who need this and probably will not be the last one.
    all I ask is if anybody have managed to make this work, to help me do the same.

  • I should add that the mode of boot really matters a lot here.

    DBAN does not have a UEFI bootable setup, so if your machines are booting via EFI/UEFI, then chances are this is part of the problem.

    What version of FOG are you running? What does your current menu entry actually look like? What does your DBAN directory structure look like?

  • Moderator

    I can speak for dban (it should work). I do have to give the caveat here. You are doing things (i.e. pxe booting third party applications) using fog, that fog was not designed to do. Can it be done with fog, probably. Just understand it should not reflect bad on fog, just because it doesn’t work the way you think it should. I’m not suggesting you are saying anything to that matter. I just want to remind people that might find this thread later of the fact.

    As I said I can’t speak for deban, but I do have a tutorial on how to pxe boot into windows 7 setup (I might suspect that it will work for other MS Window’s OS too, but haven’t tried).

    If you want to pxe boot into a WinPE environment there is some info here:

  • ok, I have managed to make it work for me using post here

    this seems to be a good method for ISO booting. not native to FOG but it works;
    you can not run dban in autowipe mode, at least I didn’t find how to do that, but for me it is not important for me right now.
    so I guess we can close the thread as solved.