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

Move partitions on GPT layouts - need people to test

Scheduled Pinned Locked Moved
General
11
44
8.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.
  • L
    lebrun78 @Sebastian Roth
    last edited by Mar 26, 2021, 11:15 AM

    @sebastian-roth
    Hello Sebastian,
    Tried with your proposed modifications on a 1.5.9.63 testing server.
    I have got this error with an existing image on the server
    1616756682935.jpg

    Remove the image files on the server, it worked.

    Arnaud

    Fog Version: Fog 1.5.10
    Server OS: AlmaLinux release 8.8

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Mar 26, 2021, 12:26 PM

      @lebrun78 said in Move partitions on GPT layouts - need people to test:

      Tried with your proposed modifications on a 1.5.9.63 testing server.
      I have got this error with an existing image on the server

      I don’t understand what you mean with this. In the picture we see a capture what is most probably failing due to an unclean NTFS filesystem (hard to read the text at the top of the picture but looks like it). I would not expect the init-201114.xz to cause this problem.

      Remove the image files on the server, it worked.

      ??

      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

      L 1 Reply Last reply Mar 26, 2021, 1:23 PM Reply Quote 0
      • L
        lebrun78 @Sebastian Roth
        last edited by Mar 26, 2021, 1:23 PM

        @sebastian-roth
        Yes Youare right.
        I focused on the "corrupted size vs. and did not see previous message.
        A scan disk on the master and it works.

        Thanks.

        Fog Version: Fog 1.5.10
        Server OS: AlmaLinux release 8.8

        1 Reply Last reply Reply Quote 0
        • C
          clopezbelenguer
          last edited by Jun 24, 2021, 4:07 PM

          Hi,

          Sorry if i’m missing something but I’m experiencing the very one problem of having partitions at the end of the disk that make the image too big for smaller disk and i’m willing to try the beta init-201114 but I’m not entirely sure where can I get it.

          I upgraded to the latest dev-branch and tried to capture and check d1.s hoping that the latest init downloaded by the installer where the working ones but aparently they aren’t or I’m doing something wrong.
          In case they are updated in my instalation, Is it completely necessary to create a new image or can I capture and deploy again on a existing one??

          Thank you in advance and sorry to revive this old thread.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Jun 24, 2021, 4:20 PM

            @clopezbelenguer said in Move partitions on GPT layouts - need people to test:

            I upgraded to the latest dev-branch and tried to capture and check d1.s hoping that the latest init downloaded by the installer where the working ones but aparently they aren’t or I’m doing something wrong.

            I removed the download link for init-201114 as the latest dev-branch inits actually have this feature included. Don’t think you’ve done something wrong here. Might just be a slightly different issue you are facing. Not sure though, need more information. I think it’s best if you open a new topic and post the contents of your d1.minimum.partitions and d1.partitions text files that you find in the images directory.

            In case they are updated in my instalation, Is it completely necessary to create a new image or can I capture and deploy again on a existing one??

            There is no need to create a new image definition in the web UI. That was just meant for the early days when people test this new feature in case there was a problem so they still had their old image at hand. BUT you need to re-capture the image because most of the magic happens on capture!

            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

            C 1 Reply Last reply Jun 24, 2021, 4:27 PM Reply Quote 0
            • C
              clopezbelenguer @Sebastian Roth
              last edited by Jun 24, 2021, 4:27 PM

              @sebastian-roth ok thank you, that explains everything.

              Most probably i’m experiencing the same problem of this topic
              https://forums.fogproject.org/topic/15455/unable-to-restore-gpt-partition-tables-on-one-image
              Since is the same laptop, same gen, same 5 partitions layout, Latest fog.
              I’ll continue there then.

              Thank you again, for everything

              1 Reply Last reply Reply Quote 0
              • F
                fry_p Moderator @Sebastian Roth
                last edited by Jun 29, 2021, 6:01 PM

                @sebastian-roth Just a quick question, is there a place where I can get this init without moving to the dev branch? I am very compelled to stay on the stable branch at this time. Are the inits on fogproject.org this version, or the old stable ones?

                Like open source community computing? Why not do it for a good cause?
                Use your computer/server for humanitarian projects when it is idle!
                https://join.worldcommunitygrid.org?recruiterId=1026912

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sebastian Roth Jun 30, 2021, 10:57 PM Jun 29, 2021, 7:54 PM

                  @fry_p said in Move partitions on GPT layouts - need people to test:

                  Just a quick question, is there a place where I can get this init without moving to the dev branch?

                  Yes, you can manually download those: 64 bit and 32 bit

                  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 1
                  • G
                    gregfog @Sebastian Roth
                    last edited by gregfog Sep 15, 2021, 7:49 AM Sep 15, 2021, 1:48 PM

                    @sebastian-roth
                    I tried this solution with Windows 21H1 the image capture and deploy works without any problems from a 1 TB NVMe SSD to the 500 GB SATA SSD.

                    d1.minimum.partitions

                    cat d1.minimum.partitions
                    label: gpt
                    label-id: 32D055B8-40FD-4110-9551-5794A08735E8
                    device: /dev/nvme0n1
                    unit: sectors
                    first-lba: 34
                    last-lba: 2000409230
                    sector-size: 512
                    
                    /dev/nvme0n1p1 : start=        2048, size=      204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=28F8CABB-959B-4C15-986E-0F8640E4F0C7, name="EFI system partition", attrs="GUID:63"
                    /dev/nvme0n1p2 : start=      206848, size=       32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=ED9F8F39-E265-428D-8BE1-C2B7E4304D52, name="Microsoft reserved partition", attrs="GUID:63"
                    /dev/nvme0n1p3 : start=      239616, size=   291316922, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=05966690-06CD-4A69-BF88-376CC3EBFAC0, name="Basic data partition"
                    /dev/nvme0n1p4 : start=   291556864, size=     5639168, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=49569B35-41CE-42F5-82CB-6F68BA36C239, attrs="RequiredPartition GUID:63"
                    

                    d1.partitions

                    cat d1.partitions
                    label: gpt
                    label-id: 32D055B8-40FD-4110-9551-5794A08735E8
                    device: /dev/nvme0n1
                    unit: sectors
                    first-lba: 34
                    last-lba: 2000409230
                    sector-size: 512
                    
                    /dev/nvme0n1p1 : start=        2048, size=      204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=28F8CABB-959B-4C15-986E-0F8640E4F0C7, name="EFI system partition", attrs="GUID:63"
                    /dev/nvme0n1p2 : start=      206848, size=       32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=ED9F8F39-E265-428D-8BE1-C2B7E4304D52, name="Microsoft reserved partition", attrs="GUID:63"
                    /dev/nvme0n1p3 : start=      239616, size=  1994530304, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=05966690-06CD-4A69-BF88-376CC3EBFAC0, name="Basic data partition"
                    /dev/nvme0n1p4 : start=  1994769920, size=     5639168, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=49569B35-41CE-42F5-82CB-6F68BA36C239, attrs="RequiredPartition GUID:63"
                    
                    1 Reply Last reply Reply Quote 0
                    • B
                      btoffolon
                      last edited by Nov 8, 2021, 10:21 AM

                      Hi,
                      i have a bug when i tried to deploy. i don’t know if it’s link to the previous bug.
                      Here the vidéo with the error.

                      and the partition files :

                      d1.partitions

                      root@fog:/images/SalleTechnologieTest# cat d1.partitions
                      label: gpt
                      label-id: 79FE4766-EDD2-4DD0-826C-6DD816A2E7C6
                      device: /dev/sda
                      unit: sectors
                      first-lba: 34
                      last-lba: 500118158
                      sector-size: 512
                      
                      /dev/sda1 : start=        2048, size=      204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=5217DE87-4A45-4AC4-A4DD-0C8EB1C5CF5B, name="EFI system partition", attrs="GUID:63"
                      /dev/sda2 : start=      206848, size=       32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=15C5E73F-7855-4DA4-A464-4694B0E56628, name="Microsoft reserved partition", attrs="GUID:63"
                      /dev/sda3 : start=      239616, size=   498831872, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=E130C384-3F46-4D8F-AD25-B85FDB0127CD, name="Basic data partition"
                      /dev/sda4 : start=   499071488, size=     1046528, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=D3FA37D6-10A7-4303-976C-6D8F23C4258F, name="attrs=\x22RequiredPartition GUID:63", attrs="RequiredPartition GUID:63"
                      

                      d1.minimum.partitions

                      root@fog:/images/SalleTechnologieTest# cat d1.minimum.partitions
                      label: gpt
                      label-id: 79FE4766-EDD2-4DD0-826C-6DD816A2E7C6
                      device: /dev/sda
                      unit: sectors
                      first-lba: 34
                      last-lba: 500118158
                      sector-size: 512
                      
                      /dev/sda1 : start=        2048, size=      204800, type=C12A7328-F81F-11D2-BA4B-00A0C93EC93B, uuid=5217DE87-4A45-4AC4-A4DD-0C8EB1C5CF5B, name="EFI system partition", attrs="GUID:63"
                      /dev/sda2 : start=      206848, size=       32768, type=E3C9E316-0B5C-4DB8-817D-F92DF00215AE, uuid=15C5E73F-7855-4DA4-A464-4694B0E56628, name="Microsoft reserved partition", attrs="GUID:63"
                      /dev/sda3 : start=      239616, size=    85029512, type=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7, uuid=E130C384-3F46-4D8F-AD25-B85FDB0127CD, name="Basic data partition"
                      /dev/sda4 : start=   499071488, size=     1046528, type=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC, uuid=D3FA37D6-10A7-4303-976C-6D8F23C4258F, name="attrs=\x22RequiredPartition GUID:63", attrs="RequiredPartition GUID:63"
                      

                      Can you help me ?

                      Thank you

                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Nov 8, 2021, 12:25 PM

                        @btoffolon You are pretty lucky as I am sure I have fixed that issue already in the latest test init. Please download from github, put that in /var/www/html/fog/service/ipxe/, rename the original init.xz, put the new file in place.

                        Then you need to re-capture the image. Deploy should work then.

                        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
                        • B
                          btoffolon @Sebastian Roth
                          last edited by Nov 8, 2021, 3:15 PM

                          @sebastian-roth it’s working thank you !!

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

                          192

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project