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

Include partclone 3.20?

Scheduled Pinned Locked Moved
General
4
36
5.7k
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.
  • F
    Fog_Newb
    last edited by Jul 11, 2022, 9:48 PM

    3.13 that comes on the latest dev-branch as of today has issues with APFS on my laptop.

    pic

    3.20 x64 does not

    pic

    1 Reply Last reply Reply Quote 1
    • S
      Sebastian Roth Moderator
      last edited by Sep 12, 2022, 10:15 PM

      @Fog_Newb Sorry for the delay. I just started a test build with partclone 0.3.20. Probably needs some extensive testing before it’s considered to be added to the official inits - though this is a start.

      Please check the FOS init releases page in a few hours and you should see a most recent Testing release: https://github.com/FOGProject/fos/releases

      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 Sep 13, 2022, 4:27 PM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Sebastian Roth Sep 12, 2022, 6:16 PM Sep 12, 2022, 11:15 PM

        @Fog_Newb Spoke too early. When I tried to build the FOS inits with partclone 0.3.20 I got some pretty ugly linking errors which I need more time to look into. Seems like some major change that needs to be addressed.

        EDIT:
        This commit in partclone added a dependency to openssl library libcrypto: https://github.com/Thomas-Tsai/partclone/commit/d4fb2259088268f1314b9246240bf45cbe7ed300

        Now it looks like libcrypto is not build fully static in our FOS inits (default buildroot) and that makes it fail when linking the partclone binaries.

        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

        G 1 Reply Last reply Sep 13, 2022, 1:22 AM Reply Quote 0
        • G
          george1421 Moderator @Sebastian Roth
          last edited by Sep 13, 2022, 1:22 AM

          @sebastian-roth said in Include partclone 3.20?:

          Now it looks like libcrypto is not build fully static in our FOS inits (default buildroot) and that makes it fail when linking the partclone binaries.

          I have been banging my head on this for two weeks. I’m not smart enough to fix it. But I did see it failing when trying to link to libcrypto. I was even thinking about taking .0.3.13 and just applying the apple file system code to it and see if it would compile. Not a nice solution but…

          Clonezilla got around it by using the native ubuntu .deb files. As far as I can tell there is a conflict between the version of buidroot/libcrypto and partclone 0.3.20.

          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!

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Sep 13, 2022, 3:26 PM

            @george1421 I am sure we can get it compiled, either by switching buildroot to building all libs as static only (tried that but ran into other issues that would need to be fixed first) or we need to add some magic (patch, sed, buildroot-specific mk-foo) to make the linker happy.

            Most probably going down the later path is way easier. I was able to manually link one of the binaries by adding -ldl to the linker command. So it’s more or less a matter of adding this to partclone’s compilation per se. I will look into this some time this week.

            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

            G 1 Reply Last reply Sep 13, 2022, 3:36 PM Reply Quote 0
            • G
              george1421 Moderator @Sebastian Roth
              last edited by Sep 13, 2022, 3:36 PM

              @sebastian-roth said in Include partclone 3.20?:

              I was able to manually link one of the binaries by adding -ldl

              This is the path I was going down too when researching the error they just said put -ldl as the last library in the linker. The question was where (ignorance of buildroot)? The other thing I thought is update the version of buildroot to current, maybe a later release of build root would have a compatible version of the crypto lib.

              The other thing I found is that ubuntu has 0.3.20 with some kind of patch level beyond 0.3.20 but I couldn’t find the source files to see if building that had fixed the crypto lib errors.

              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!

              1 Reply Last reply Reply Quote 0
              • F
                Fog_Newb @Sebastian Roth
                last edited by Fog_Newb Sep 13, 2022, 1:42 PM Sep 13, 2022, 4:27 PM

                @sebastian-roth Ok thanks, I will try it out and report back. These inits, they just go on the FOG server right? Or do I also need to add something to the mac OS Grub/FOS boot stick?

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Sep 13, 2022, 9:14 PM

                  @fog_newb said in Include partclone 3.20?:

                  Or do I also need to add something to the mac OS Grub/FOS boot stick?

                  Which way did you create that boot stick?

                  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 G 4 Replies Last reply Sep 14, 2022, 12:40 AM Reply Quote 0
                  • F
                    Fog_Newb @Sebastian Roth
                    last edited by Sep 14, 2022, 12:40 AM

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • F
                      Fog_Newb @Sebastian Roth
                      last edited by Sep 14, 2022, 12:42 AM

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • F
                        Fog_Newb @Sebastian Roth
                        last edited by Fog_Newb Sep 13, 2022, 6:50 PM Sep 14, 2022, 12:49 AM

                        @sebastian-roth Uhm… @george1421 can probably answer that better than I can.

                        Sorry for deleting and reposting the replies. The way the thread looks after replying, it looks like I replied to the OP and not to another reply.

                        1 Reply Last reply Reply Quote 0
                        • G
                          george1421 Moderator @Sebastian Roth
                          last edited by Sep 14, 2022, 1:15 AM

                          @sebastian-roth said in Include partclone 3.20?:

                          Which way did you create that boot stick?

                          The OP used the tutorial I created to boot into grub and then into fos linux on a usb stick. But it sill uses the standard bzImage and init.xz. So no difference there. We still need buildroot to compile correctly.

                          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!

                          F 1 Reply Last reply Sep 14, 2022, 11:27 AM Reply Quote 0
                          • F
                            Fog_Newb @george1421
                            last edited by Sep 14, 2022, 11:27 AM

                            @george1421

                            Thanks, I wasn’t sure how this one was made. I downloaded the img and used rufus to write it onto a USB. It works great by the way.

                            G 1 Reply Last reply Sep 14, 2022, 7:53 PM Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Sebastian Roth Sep 14, 2022, 1:04 PM Sep 14, 2022, 7:03 PM

                              @Fog_Newb There you go: https://github.com/FOGProject/fos/releases/tag/testing

                              Just download init.xz and put in /var/www/html/fog/service/ipxe/ in your FOG server - rename the original file instead of overwriting it!

                              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 2 Replies Last reply Sep 15, 2022, 12:44 AM Reply Quote 1
                              • G
                                george1421 Moderator @Fog_Newb
                                last edited by Sep 14, 2022, 7:53 PM

                                @fog_newb FWIW: the testing init.xz goes onto the flash drive if you are booting with that. /var/www/html/fog/service/ipxe/ is used when pxe booting via iPXE into the FOG menu.

                                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!

                                1 Reply Last reply Reply Quote 0
                                • F
                                  Fog_Newb @Sebastian Roth
                                  last edited by Sep 15, 2022, 12:44 AM

                                  @sebastian-roth @george1421 Good news!

                                  So far so good. I was able to capture the APFS drive on the real mac using the USB stick and the updated init.xy. I put the updated init.xy on both the stick and the server.

                                  I was also able to capture both drives APFS and NTFS on the hackintosh laptop. Now I have to figure out how to back up the data in case deploying the images goes sideways.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Sebastian Roth Sep 15, 2022, 4:18 AM Sep 15, 2022, 10:17 AM

                                    @fog_newb Thanks for testing and the quick feedback.

                                    Now I have to figure out how to back up the data in case deploying the images goes sideways.

                                    Which data do you mean? On the device? Probably using Clonezilla to have a backup at hand?!?

                                    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 Sep 15, 2022, 11:22 AM Reply Quote 0
                                    • F
                                      Fog_Newb @Sebastian Roth
                                      last edited by Sep 15, 2022, 11:22 AM

                                      @sebastian-roth Yes, Clonezilla but I need to get some more SSDs/HDDs.

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        Fog_Newb @Sebastian Roth
                                        last edited by Fog_Newb Sep 20, 2022, 3:35 AM Sep 20, 2022, 9:34 AM

                                        @sebastian-roth Does 1.5.9.163 have these new inits?

                                        I read the dev-branch info but wasn’t sure. I never know what most of that stuff means.

                                        https://imgur.com/V9EZOmH.jpg

                                        G 1 Reply Last reply Sep 20, 2022, 11:50 AM Reply Quote 0
                                        • G
                                          george1421 Moderator @Fog_Newb
                                          last edited by Sep 20, 2022, 11:50 AM

                                          @fog_newb said in Include partclone 3.20?:

                                          Does 1.5.9.163 have these new inits?

                                          No these inits are still in testing phase. Since partclone is at the heart of FOG imaging and the versions jumped from 0.3.13 to 0.3.20 these inits must have more testing with people before they are added to the dev branch and then onto the 1.5.10 when its released. They might work great with your hardware but fail on some genericly assembled computer.

                                          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!

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

                                          229

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project