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

    apfsclone.c: bitmap error when trying to capture mac OS drive

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    16
    1.3k
    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 @george1421
      last edited by Fog_Newb

      @george1421 Hello George,

      I was running a debug prior to posting this thread.

      pic

      This is the error (from OP) when trying to capture the APFS partition on the mac OS SSD, which is /dev/sdb.

      The Microsoft EFI boot files as well as the mac OS bootloader are located within the EFI partition on /dev/sdb, the mac OS drive.

      Here are the results of the fdisk on both sda and sdb

      fdisk results

      Green blocks - blocking my face in the reflection.

      Task - debug - host primary disk set to capture /dev/sdb. Image type is the following
      pic

      I also tried “Apple Mac Os” as the operating system instead of “Other” but got the same results.

      It captures the EFI on /dev/sdb fine

      pic

      But same error when it tries to capture the APFS partition

      pic

      For whatever reason there isn’t a partclone.log in /var/log/ this time either.

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

        @fog_newb Well it appears that parclone has “immature support” for apfs volumes. It looks like clonezilla has a similar issue: https://github.com/rescuezilla/rescuezilla/issues/65

        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 Reply Quote 0
        • F
          Fog_Newb @george1421
          last edited by

          @george1421 I guess it may be a while until partclone gets sorted. It looks like

          Should I capture as a raw image? Clonezilla live 3.0 claims to support apfs and at one time I was able to capture both drives on the laptop sort of recently. IDK

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

            @fog_newb The raw or dd version should capture everything, its going to be a bigger captured image and slower to capture it, but it should work. You will at least have a clone / backup of the system that way.

            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 Reply Quote 0
            • F
              Fog_Newb @george1421
              last edited by

              @george1421 .The problem is with partclone 3.13

              Version 3.20 appears to work.

              alt text

              I am using CloneZilla Live to get the mac drive copied to an external. Can you guys add partclone 3.20 for FOG?

              george1421G 2 Replies Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @Fog_Newb
                last edited by

                @fog_newb The short answer is maybe, depending on where the clonezilla guys got 3.20. I looked on the author’s web site and his is only 3.15. So someone must have forked his version and fixed stuff.

                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
                • george1421G
                  george1421 Moderator @Fog_Newb
                  last edited by

                  @fog_newb I think its possible to do it, with 3.20. I’ll have to rebuild the FOS operating system to make it happen. But I have a dev environment that I can get it done. Let me see what I can do over night. The output will be a new init.xz file for testing.

                  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 Reply Quote 0
                  • F
                    Fog_Newb @george1421
                    last edited by

                    @george1421 Cool, I can’t wait!

                    Both of my drives in that laptop are the same size and model
                    I noticed something weird about CloneZilla live. When I first booted from it, the Windows drive became /dev/sdb. I only noticed because I chose to back up from /sdb to the external and saw NTFS. No big deal, I rebooted again and chose to back up /sda to external, well guess what, it was the Windows drive again. I am not sure why it would change like that. It gave me flashback to having 2 NVMe drives where one may or may not initialize before the other.

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

                      @fog_newb I ran into some compile issues with partclone 0.3.20 tonight. Its giving me an error about a missing library that I can’t work around at the moment. I’ll have to pick this up tomorrow but I think I’m pretty close.

                      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 2 Replies Last reply Reply Quote 0
                      • F
                        Fog_Newb @george1421
                        last edited by

                        @george1421 That is great news. Thanks for all your help.

                        1 Reply Last reply Reply Quote 0
                        • F
                          Fog_Newb @george1421
                          last edited by Fog_Newb

                          @george1421 I mean, it is not great news that you ran into trouble with the libraries but great news you are working on it and far enough a long to ‘do things’ with the library. But I digress, I was half asleep when I made the first reply. I looked at it now and was like… I should explain

                          I am super excited to get the Hackintosh all backed up with FOG.

                          1 Reply Last reply Reply Quote 0
                          • F
                            Fog_Newb
                            last edited by

                            @george1421

                            Hello,

                            Any luck with incorporating the 0.3.20 into FOG? Also, is there something I can check or turn on the debug/partclone logs? Nothing ever shows up in /var/logs

                            Thanks

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

                            144

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project