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

    Unable to deploy image -> Logical Partition Error

    Scheduled Pinned Locked Moved
    Linux Problems
    2
    2
    921
    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.
    • M
      mxc
      last edited by

      Hi all,

      We have an image with an extended and some logical partitions. This image can deploy on some machines ok but on another, even with the same specs, it would not. This was with Fog 1.2. The error that would flash by was something along the line of “Invalid logical partition number”.

      To try and fix this we upgraded to FOG 1.3 from Git. The installation now fails with a different error about the logical partition but this time mention partclone as the utility that failed.

      From what we can gather this may have something to do with GPT/MBR drives. The image is MBR but the drives were previously partitions with GPT, although this step in the process seems to go fine according to the console messages. (Again the message disappear to quickly for us to note them down accurately and we are unaware of how to find the log related to them.).

      In the end we overcame the problem by creating a new image and using physical partitions only. It would be good to know where to begin to start unraveling this problem. i.e its is generally hard to troubleshoot problems with fog. Is there some check list somewhere?

      thanks

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @mxc Logical partitions were an issue with FOG 1.2.0 when OS type was set to Windows as far as I can remember.

        Best to debug things is to start the job/task in debug mode. When creating a capture/deploy task there is a checkbox “Schedule task as a debug task”. Starting the client you’ll get to a linux shell and you can start the task running the command fog from there (description will be displayed as well). Then you can step through the whole process by hitting ENTER. As well taking a picture or video (slow motion!) is always a great way to find out what’s going wrong. When reporting an error we need the exact error message (plus FOG version, server OS, image type and OS type) to be able to understand and reproduce the error.

        GPT/MBR is a big chapter. GPT often leaves traces on the disk that might cause an issue. There is a tool called fixparts that you can use from the debug shell as well.

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

        151

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project