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

    Erasing current MBR/GPT tables.... taking about 5-10 minutes

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    16
    30
    8.8k
    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.
    • M
      matijn
      last edited by matijn

      I want to add to the above.
      You need to chmod 777 rights to /var/www/fog/service/ipxe , for succesvol installing (overwrite) another kernel.
      Can confirm 4.15.2 (32 + 64) kernels are instantly doing ‘Erasing current MBR/GPT tables’ !

      FTP incorrect error, check:
      https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP

      Credentials / Passwords
      There are a few places where all the credentials (on a standard install) should match exactly.
      Web Interface -> Storage Management -> [Your storage node] -> Management Username & Management Password
      Web Interface -> FOG Configuration -> FOG Settings -> TFTP Server -> FOG_TFTP_FTP_USERNAME & FOG_TFTP_FTP_PASSWORD
      All of those should match (again, on a standard installation).
      /opt/fog/.fogsettings (password in plain, should match)

      FTP upload class fix:
      chown fog -R /images
      chmod -R 777 /images

      1 Reply Last reply Reply Quote 0
      • B
        benc
        last edited by

        Please forgive my ignorance, but could someone point me to a guide on how to change kernels? I’m pretty sure I understand at least at a basic level what the kernel is and what it does, but I’ve never done this before and the googling I’ve done on installing new kernels has only confused me. In my case the step where FOG erases the MBR/GPT tables is taking 6+ minutes which is longer than the actual imaging process takes. As soon as I get past this current batch of laptops that must be imaged ASAP, I’ll be starting from scratch with a new hard drive in one of my fog servers and probably starting with Ubuntu Server 14 and not going any higher. So far, in my experience, upgrading one thing breaks other things and it just snowballs from there. Sorry for the long post but this has been a very difficult day.

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @benc
          last edited by

          @benc Its under fog settings -> kernels. Roll back your current kernel to 4.15.2 until the developers can get the issues with the current linux releases sorted out. You will need both the 64 bit and 32 bit kernels when you download them.

          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!

          B 1 Reply Last reply Reply Quote 0
          • B
            benc @george1421
            last edited by

            @george1421 Thanks, I will give that a try later today.

            1 Reply Last reply Reply Quote 0
            • A
              andreiv
              last edited by

              This issue is still there in 1.5.4. It isn’t a real problem as much as it is an annoyance.

              Q 1 Reply Last reply Reply Quote 0
              • Q
                Quazz Moderator @andreiv
                last edited by

                @andreiv Use kernel 4.15.2 for now.

                A lot of work has gone into tracking down the source of the problem, which we believe we have found. Now it’s just a matter of formulating a fix for it and getting it pushed.

                People are quite busy though, so unsure when that’s going to be, but it is being worked on still.

                A 1 Reply Last reply Reply Quote 0
                • A
                  andreiv @Quazz
                  last edited by

                  @Quazz Sure, I understand. Thanks for the solution. I replaced the kernel and it works perfectly.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Sebastian Roth Moderator
                    last edited by

                    @Lemeunier @andreiv @benc @matijn @dbettens @MCSDFog @JGallo @jclumbo33 @luco60 Good news to all of you, we have figured out what is causing the slowness and fixed it. It’s been a longer story [ref] - thanks again to @Quazz for doing lots of testing and finding very helpful stuff to figure this out!

                    As we have not had enough time to push for a new release yet you can simply update to the latest kernel and inits like this:

                    sudo -i
                    cd /var/www/fog/service/ipxe
                    mv bzImage bzImage.orig
                    wget https://fogproject.org/kernels/bzImage
                    mv bzImage32 bzImage32.orig
                    wget https://fogproject.org/kernels/bzImage32
                    mv init.xz init.xz.orig
                    wget https://fogproject.org/inits/init.xz
                    mv init_32.xz init_32.xz.orig
                    wget https://fogproject.org/inits/init_32.xz
                    

                    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
                      Foglalt @Sebastian Roth
                      last edited by

                      @Sebastian-Roth Hi! I am aware that it is an old post above mine, i was just curious if the state of this issue was finally “merged into patches”. I mean that i used the kernel of it since this post, and I somehow missed the mention of it in a later release.

                      Well, I wanted to know if the current release (1.5.5) contains the proper kernel, or should i use the one i already have downloaded.

                      Q 1 Reply Last reply Reply Quote 0
                      • Q
                        Quazz Moderator @Foglalt
                        last edited by Quazz

                        @Foglalt It’s slated for 1.5.6 I believe, but you can manually download them for the time being.

                        It’s just the init files you need I think.

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Foglalt @Quazz
                          last edited by

                          @Quazz ok, then i keep my already downloaded kernels/inits, and wait for next release for further tests.

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

                          212

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project