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

Raw image dd fail - BUG?

Scheduled Pinned Locked Moved Solved
Bug Reports
2
7
839
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.
  • G
    gn_ro
    last edited by Jul 15, 2021, 11:47 AM

    Hi,

    I’m having the error described here when trying to capture.

    The machine is some embedded old linux booting with LILO on a drive without any partition, the cause of the error.

    I think setting the image type to raw image sector by sector should avoid reading the partition layout and proceed to the image.

    I somehow solved the problem by adding a 1kb partition to the end of the drive.

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jul 15, 2021, 8:44 PM

      @gn_ro said in Raw image dd fail - BUG?:

      embedded old linux booting with LILO on a drive without any partition

      Whoooo, that’s a pretty rare setup I would say.

      Though on the other hand I can see your argument about raw mode not needing to capture the partition layout at all. I will have a look at the code over the weekend to see why it’s implemented this way.

      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
        Sebastian Roth Moderator
        last edited by Sebastian Roth Jul 17, 2021, 5:56 AM Jul 17, 2021, 11:13 AM

        @gn_ro Not too much of a change in the FOS init scripts. Just pushed a fix so capture of drives without a (valid) partition table works.

        As we had a few changes in the inits lately and also updates of the Linux kernel I let it do a fresh build including this change. Give it a few more days until the new inits are build and updated. Then you can update to the latest dev-branch version and use it.

        Mods note: Moved the topic to bug reports.

        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 Jul 18, 2021, 10:13 AM Reply Quote 0
        • G
          gn_ro @Sebastian Roth
          last edited by Jul 18, 2021, 10:13 AM

          @sebastian-roth Thank you!
          Hope you checked the deployment too, as I imaged a computer with a corrupt ntfs partition (still working, windows is booting fine from it) and the imaging works but the deploy completes fine until the end where it throws an error about the “problem” partition then reboots after 1 min.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Jul 18, 2021, 8:19 PM

            @gn_ro Yes I did test deployment with the change I made. Should work.

            What you describe sounds like a different issue. Can you take a picture of the error and post that in a new topic?

            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
              Sebastian Roth Moderator
              last edited by Jul 26, 2021, 6:07 AM

              @gn_ro Official inits are now updated. Pull the latest dev-branch to get those.

              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 Jul 26, 2021, 4:38 PM Reply Quote 0
              • G
                gn_ro @Sebastian Roth
                last edited by Jul 26, 2021, 4:38 PM

                @sebastian-roth Thank you! I hope will help others too.

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

                252

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project