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

Deploy image not expanding partitions

Scheduled Pinned Locked Moved Unsolved
Linux Problems
3
40
10.6k
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.
  • T
    Tom Elliott
    last edited by Mar 1, 2017, 3:55 PM

    for clarity, this was done before FOG ran, but after clean install, right?

    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

    S 2 Replies Last reply Mar 1, 2017, 4:04 PM Reply Quote 0
    • S
      SuperMajestic @Tom Elliott
      last edited by Mar 1, 2017, 3:56 PM

      @Tom-Elliott Yes, sorry, sda3 is a swap partition.

      1 Reply Last reply Reply Quote 0
      • S
        SuperMajestic @Tom Elliott
        last edited by Mar 1, 2017, 4:04 PM

        @Tom-Elliott

        Yes.

        1. Without fog, I installed fresh installation of Centos 7. I see that it works. The installation is finished correctly, and I see the root login.
        2. I created the host on fog client and created the capture task.
        3. Reboot the server with force pxe.
        4. were Typed e2fsck -fp /dev/sda1
        5. I’m waiting your instructions before run “fog” command.
        1 Reply Last reply Reply Quote 0
        • S
          SuperMajestic @Tom Elliott
          last edited by SuperMajestic Mar 1, 2017, 10:24 AM Mar 1, 2017, 4:23 PM

          @Tom-Elliott More info, I print fdisk result:

          /dev/sda1 is a necessary partition to bios with GPT, type “BIOS boot”.
          /dev/sda2 is a boot partition
          /dev/sda3 swap
          /dev/sda4 /

          alt text

          1 Reply Last reply Reply Quote 0
          • S
            SuperMajestic
            last edited by Mar 1, 2017, 4:59 PM

            This is the last test. Now fsck is correct but crash in resizing sda2 (/boot).

            alt text

            1 Reply Last reply Reply Quote 0
            • S
              SuperMajestic
              last edited by SuperMajestic Mar 1, 2017, 11:09 AM Mar 1, 2017, 5:09 PM

              This is the content of generated d1.partitions

              alt text

              1 Reply Last reply Reply Quote 0
              • S
                SuperMajestic @SuperMajestic
                last edited by Mar 3, 2017, 12:23 PM

                @Tom-Elliott it’s incredible 😞 Now can’t capture nothing. gpt and mbr not works. Nothing :-S. Error in resizing sda1 even in two different hosts.

                T 1 Reply Last reply Mar 3, 2017, 12:33 PM Reply Quote 0
                • T
                  Tom Elliott @SuperMajestic
                  last edited by Mar 3, 2017, 12:33 PM

                  @SuperMajestic The capture logic hasn’t changed. Would you mind re-running the installer though?

                  Another dev found that there were two issues accidentally added to the capture. (But have been fixed for a bit).

                  The start position during our resizing was accidentally being shifted around (which could cause what you’re describing). I’ve tested capturing both gpt and mbr, and all is working from my side. I’ve tested deploying both gpt and mbr now and am fairly sure I’ve fixed the issues with the resizing now too.

                  So please, re-run the installer and hopefully things will go better.

                  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
                  • S
                    SuperMajestic
                    last edited by Mar 3, 2017, 12:38 PM

                    Hello, I downgrade to stable version (Running Version 1.3.4 SVN Revision: 6066) and don’t capture.
                    The error isn’t in resizing, is in checking.

                    Do you want I upgrade fog to latest version again?

                    T 1 Reply Last reply Mar 3, 2017, 12:40 PM Reply Quote 0
                    • T
                      Tom Elliott @SuperMajestic
                      last edited by Mar 3, 2017, 12:40 PM

                      @SuperMajestic Yes please.

                      I believe the issue was the start point was trying to be shifted around.

                      The resizing, at least for linux systems, has to try to get the data first. We have to see how far it can be shrunk.

                      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
                      • 1
                      • 2
                      • 2 / 2
                      2 / 2
                      • First post
                        40/40
                        Last post

                      120

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project