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

Fast wipe in advanced menu

Scheduled Pinned Locked Moved
FOG Problems
5
10
4.4k
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
    aruhuno
    last edited by Apr 23, 2015, 1:25 PM

    Hello,

    I want to add a “Fast Wipe” option in my advanced menu, it’s possible ? If yes, can you explain me how ?

    Thanks a lot.

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

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Apr 23, 2015, 1:52 PM

      [code]
      :MENU
      menu
      item fog.fastwipe FastWipe in Advanced menu
      item return Return to main menu
      choose --default fog.fastwipe target && goto ${target}
      :fog.fastwipe
      kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00
      imgfetch init_32.xz
      :return
      chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU[/code]

      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

      1 Reply Last reply Reply Quote 0
      • A
        aruhuno
        last edited by Apr 23, 2015, 2:09 PM

        Not working : [url]http://pastebin.com/dEfyYT9F[/url]

        I’m using FOG 1.2.0 with iPXE in this configuration :
        [IMG]http://pix.toile-libre.org/upload/original/1429798133.png[/IMG]

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

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Apr 23, 2015, 3:03 PM

          Not working doesn’t tell us anything man. can you provide more details?

          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

          1 Reply Last reply Reply Quote 0
          • J
            Junkhacker Developer
            last edited by Apr 23, 2015, 3:16 PM

            try this
            [CODE]:MENU
            menu
            item fog.fastwipe FastWipe in Advanced menu
            item return Return to main menu
            choose --default fog.fastwipe target && goto ${target}
            :fog.fastwipe
            kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00
            imgfetch init_32.xz
            boot
            :return
            chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU[/CODE]

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

            1 Reply Last reply Reply Quote 1
            • A
              aruhuno
              last edited by May 11, 2015, 2:22 PM

              [quote=“Tom Elliott, post: 46061, member: 7271”]Not working doesn’t tell us anything man. can you provide more details?[/quote]
              Sorry, no boot with your file.

              [quote=“Junkhacker, post: 46063, member: 21583”]try this
              [CODE]:MENU
              menu
              item fog.fastwipe FastWipe in Advanced menu
              item return Return to main menu
              choose --default fog.fastwipe target && goto ${target}
              :fog.fastwipe
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00
              imgfetch init_32.xz
              boot
              :return
              chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || goto MENU[/CODE][/quote]
              Ok for boot but when wipe start, I see the following message on computer screen :
              [CODE]rm: cannot remove ‘co.txt’: No such file or directory
              cat: co.txt: No such file or directory[/CODE]

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

              1 Reply Last reply Reply Quote 0
              • A
                aruhuno
                last edited by May 12, 2015, 9:36 AM

                Indirectly solved by [URL=‘http://fogproject.org/forum/threads/fog-1-2-0-dban-advanced-pxe-boot-menu.11915/#post-47168’]this thread[/URL] ; thanks for your help!

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

                1 Reply Last reply Reply Quote 0
                • A
                  andy.king
                  last edited by Nov 11, 2015, 5:40 PM

                  What would need changing to allow the other wipe modes in the advanced menus ?

                  T 1 Reply Last reply Nov 11, 2015, 5:44 PM Reply Quote 0
                  • T
                    Tom Elliott @andy.king
                    last edited by Nov 11, 2015, 5:44 PM

                    @aruhuno said:

                    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00

                    This line:

                    kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 keymap= web=${fog-ip}/fog consoleblank=0 loglevel=4 capone=1 mode=wipe wipemode=fast mac=00:00:00:00:00:00
                    

                    Specifically the wipemode element, everything else is fine. Also you can change the BzImage and initrd lines to be whatever as well, though it’s probably safest to leave it as is.

                    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

                    1 Reply Last reply Reply Quote 0
                    • M
                      mitzayapa
                      last edited by May 19, 2018, 11:26 AM

                      So fog wipe gives you a timeout of 60 seconds (if you decide not to wipe the drive).

                      Changing it in the fog settings doesn’t make any difference. Any way to disable that timeout or change it ?

                      Then it gives an error about updating the database (even if the hdds partition table is zeroed), any way to disable that as well ? thanks alot.

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

                      195

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project