• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Fog 1.2.0 DBAN Advanced PXE Boot Menu

    Scheduled Pinned Locked Moved Solved
    Tutorials
    10
    18
    14.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      If anyone is following these instructions without success, be aware that the file name is case sensitive. I had specified ‘dban.bzi’, whereas the file extracted from my freshly-downloaded dban (v2.2.8 i586) iso was ‘DBAN.BZI’.

      Probably obvious for most people, but I thought I’d post in case it saved anyone else the few hours I wasted.

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • aruhunoA
          aruhuno
          last edited by Wayne Workman

          Big thanks for your post ChelIT !

          [quote=“ArchFan, post: 38406, member: 19266”]If you wanted simplify even more and save some typing, you could change both the owner and group with one command using the format:

          chown username:groupname filename (assuming you're already in the same directory as the desired file, otherwise use /path/to/file)
          

          [/quote]

          And more if username and groupname are similar :

          chown username: /path/to/file
          

          Mod corrected format to display properly in new forums.

          "Parce que la connaissance appartient à tout le monde", inios.fr

          1 Reply Last reply Reply Quote 0
          • F
            FoggyMemory
            last edited by FoggyMemory

            @ChelIT @tom-elliott

            Hi Everyone,

            Hopefully someone can help me – I’ve been trying unsuccessfully to add DBAN to my current FOG setup. I’ll try to be as detailed as possible, please let me know if anymore information is needed.

            OS: Ubuntu Server 12.04.5
            Error: Exec format error

            I followed the directions above, using the commands provided to give both the www-data user and www-data group ownership to the files located under var/www/fog/dban.

            Permissions:
            upload-dff3f79d-4c91-4c6d-a78a-d375e0b2651f

            Any idea what may be causing the error? Here is my current iPXE Advanced Configuration:

            :MENU
            
            menu
            
            item -- gap-- ---------------- iPXE boot menu ----------------
            
            item fog.local 		Boot from hard disk
            
            item img1 		<Created on 5-20-15>
            
            item dban 		Darik's Boot and Nuke
            
            item hostinfo        	Details About This Computer
            
            item return Return to main menu
            
            choose --default fog.local target && goto ${target}
            
            :fog.local
            
            sanboot --no-describe --drive 0x80 || goto MENU
            
            :img1
            
            kernel bzImage root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=[REDACTED] web=${fog-ip}/fog/ consoleblank=0 loglevel=4 type=down img=429Win7 ftp=${fog-ip} imgType=mps osid=5 storage=${fog-ip}:/home/images capone=1 imgFormat=0
            
            imgfetch init.xz
            
            boot || goto MENU
            
            :dban
            kernel ${boot_url}/fog/dban/dban.bzi nuke="dwipe --autonuke" silent vga=785
            boot
            
            :hostinfo
            
            echo This computer : ||
            
            echo MAC address....${net0/mac} ||
            
            echo IP address.....${ip} ||
            
            echo Netmask........${netmask} ||
            
            echo Serial.........${serial} ||
            
            echo Asset number...${asset} ||
            
            echo Manufacturer...${manufacturer} ||
            
            echo Product........${product} ||
            
            echo BIOS platform..${platform} ||
            
            echo ||
            
            echo press any key to return to Menu ||
            
            prompt
            
            goto MENU
            
            :return
            
            chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU
            
            
            
            autoboot
            

            Thanks!

            Tom ElliottT 1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott @FoggyMemory
              last edited by

              @FoggyMemory

              Have you verified the data is correct?

              https://forums.fogproject.org/topic/4069/fog-1-2-0-dban-advanced-pxe-boot-menu/9#

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              F 1 Reply Last reply Reply Quote 0
              • F
                FoggyMemory @Tom Elliott
                last edited by

                @Tom-Elliott

                Yes I’ve already performed those steps; I updated my post to show the path location.

                1 Reply Last reply Reply Quote 0
                • JunkhackerJ
                  Junkhacker Developer
                  last edited by

                  i had to use

                  kernel DBAN.BZI nuke=dwipe silent vga=785 ||
                  

                  without the quotes

                  signature:
                  Junkhacker
                  We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    FoggyMemory @Junkhacker
                    last edited by

                    @Junkhacker

                    Thank you for your quick reply and sorry for my late response, but I wanted to make sure I tried every alternative before I posted here to say this solution didn’t work for me either. The difference, however, is instead of throwing out an Exec error, instead instead says dban.bzi can’t be found. (And, of course, I made sure I had dban.bzi located in /var/www/). I didn’t change the ownership of the /var/www/ folder but dban.bzi had the owner/group changed.

                    JunkhackerJ 1 Reply Last reply Reply Quote 0
                    • JunkhackerJ
                      Junkhacker Developer @FoggyMemory
                      last edited by

                      @FoggyMemory have you made sure that the path is correct? the location is case-sensitive

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        FoggyMemory @Junkhacker
                        last edited by

                        @Junkhacker

                        Yes I’m certain.

                        1 Reply Last reply Reply Quote 0
                        • M
                          Mr.B
                          last edited by

                          Aside from the excellent information that is here, where can I find the actual instructions to implement DBAN into my pxe settings?

                          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman @Mr.B
                            last edited by

                            @Mr.B
                            https://wiki.fogproject.org/wiki/index.php/DBAN_(Darik's_Boot_and_Nuke)

                            That tutorial uses FOG Trunk. So, if you wanted to proceed, you’d need to upgrade to fog trunk.
                            Be aware that the trunk version is developmental and is in a constant state of change.
                            https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post

                            175

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project