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

Unable to Deploy Image

Scheduled Pinned Locked Moved
FOG Problems
5
26
9.1k
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.
  • J
    Junkhacker Developer
    last edited by Feb 9, 2015, 5:48 PM

    the computers that you’re trying to download images to, have the hard drives been initialized? are they brand new?

    signature:
    Junkhacker
    We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

    1 Reply Last reply Reply Quote 0
    • J
      Just10
      last edited by Feb 9, 2015, 5:57 PM

      Tom,

      When I noticed I had an issue, I upgraded to the Kernel - 3.14.2. I was then unable to pxe boot to the fog page (to register the client, memtest etc). I installed Kernel - 3.18.4 and resolved that issue.

      Here is the video (excuse the auto focus). I have a task set to download. The video ends at the point that the machine restarts back to the fog pxe menu and the tasks shows complete.

      [media=youtube]X29p6H78EXw[/media]

      1 Reply Last reply Reply Quote 0
      • J
        Just10
        last edited by Feb 9, 2015, 6:00 PM

        The machines were delivered to us from Dell w/ a french version on Win 7 installed - they have an OS loaded on them already.

        I’ve also attempted this using a laptop that I have imaged prior and receive the same outcome.

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 9, 2015, 6:07 PM

          This definitely sounds like what junkhacker states.

          Your drives are completely uninitialized and cannot find a partition to boot from.

          This isn’t a kernel issue. The unable to pxe boot sounds more like the file was just bad, not necessarily a direct problem with the kernel. This meaning, the kernel trying to load was wrong for the init and probably ended in a kernel panic, or in the case of memtest, the file memtest.bin was missing or not correct. My guess is you’ll still see issues with memtest of the file is bad as your redownloading of the kernel would have no affect on memtest directly.

          To fix the partition problem try the steps here:
          [url]http://fogproject.org/forum/threads/quick-format-to-ntfs-with-fog-for-noobs.10349/[/url]

          If this does not help, the other thing I’d think to check would be the format the mbr file is trying to push. If you do a download debug, it should pause you a whole bunch of times. When it gets to the No Extended Partitions point, ctrl + c out of it back to terminal.

          Once in debug - download, you’ll get terminal prompt. Type the command fog and wait for the no extended partitions point and ctrl+c out back to the terminal. Then run fdisk -l, what’s the output.

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          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
          • J
            Junkhacker Developer
            last edited by Feb 9, 2015, 6:21 PM

            do you mind upgrading to an svn version? there are a number of features that have been improved, and while i can’t guarantee that whatever is causing your problem has been “fixed” it is possible. at any rate, the debug mode in the newer versions lets you actually read what’s going on during a task instead of just blurring by.
            my production server is currently running svn 2948 and appears to be stable. normally i would recommend updating to the latest svn, but i know that tom is working on a few things pretty heavily right now and a few features might be disabled or broken.
            to update to version 2948:
            [CODE]cd ~
            mkdir svn
            cd svn
            svn checkout https://svn.code.sf.net/p/freeghost/code/trunk@2948
            cd trunk/bin
            sudo ./installfog.sh[/CODE]

            signature:
            Junkhacker
            We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Feb 9, 2015, 6:30 PM

              There’s only one feature that’s “broken/disabled” for right now.

              That’s the group page membership capability to change the image right from that particular screen. Everything else should be stable and functional.

              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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
              • J
                Just10
                last edited by Feb 9, 2015, 10:14 PM

                I am now running 2948. Same issue. Running through download debug now. I will report back shortly.

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Feb 10, 2015, 12:14 AM

                  How does your partition layout look like? Please run this command on one of your clients (e.g. bootup in debug mode):
                  [CODE]sfdisk -d /dev/sda[/CODE]
                  Which files do you have on your FOG server?
                  [CODE]ls -al /images/DellAllinOne8GBWIN764[/CODE]
                  What image type is configured? Single Disk Multiple Partitions?

                  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
                  • J
                    Just10
                    last edited by Feb 10, 2015, 2:46 PM

                    ls -al /images/DellAllinOne8GBWIN764 shows:
                    d1.mbr
                    d1p1.img
                    d1p2.img
                    The image is multiple partition - single disk.

                    sfdisk -d /dev/sda shows:
                    /dev/sda1/ : start= 2048, size= 204800, Id= 7, bootable
                    /dev/sda2/ : start= 206848, size= 976564224, Id= 7
                    /dev/sda3/ : start= 0, size=0, Id=0
                    /dev/sda4/ : start= 0, size=0, Id=0

                    1 Reply Last reply Reply Quote 0
                    • J
                      Just10
                      last edited by Feb 10, 2015, 3:04 PM

                      after typing that… I realize the image is probably larger than 40gb. If our techs put 40gb drives in these machines - I have a bigger problem.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jeff Findley
                        last edited by Feb 10, 2015, 5:15 PM

                        [quote=“Just10, post: 41992, member: 28415”]ls -al /images/DellAllinOne8GBWIN764 shows:
                        d1.mbr
                        d1p1.img
                        d1p2.img
                        The image is multiple partition - single disk.

                        Any more on this? I am in exactly the same situation. Win7 image that is multiple partition - single disk. TFTP is verified working. When I run a debug and look at my disk and partition(s) it looks fine. I run a debug deploy and everything is fine except it never actually downloads anything. As I step through the steps everything appears okay and then it says it’s finished.[/quote]

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jeff Findley
                          last edited by Feb 10, 2015, 5:28 PM

                          Oh, and another thing I can add is that if I let the download (either via debug or normally) run it creates the correct partition table and MBR on the disk. Once it reboots if I check it it has done exactly what I’d expect. Just no file download.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Feb 11, 2015, 1:16 AM

                            [quote=“Just10, post: 41995, member: 28415”]after typing that… I realize the image is probably larger than 40gb. If our techs put 40gb drives in these machines - I have a bigger problem.[/quote]
                            So is this causing the problem in your case??

                            Maybe we have another weird issue with partprobe again. Please run another debug download session. Type ‘fog’ and hit Enter till you see ‘Mounting File System . . .’ then press Ctrl+C to get back to the console.
                            [CODE]# dd if=/images/d1.mbr of=/dev/sda
                            …

                            fogpartinfo --list-parts /dev/sda

                            …

                            ls -al /dev/sda*

                            …

                            partprobe /dev/sda

                            fogpartinfo --list-parts /dev/sda

                            …

                            ls -al /dev/sda*

                            …
                            hdparm -z /dev/sda

                            fogpartinfo --list-parts /dev/sda

                            …

                            ls -al /dev/sda*

                            …[/CODE]
                            Sounds weird but I had a disk where device files were “missing” after running partprobe…

                            [B]By the way, which version of FOG are you running, Jeff??[/B]

                            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
                            • J
                              Jeff Findley
                              last edited by Feb 11, 2015, 2:25 PM

                              [quote=“Uncle Frank, post: 42045, member: 28116”]So is this causing the problem in your case??

                              [B]By the way, which version of FOG are you running, Jeff??[/B][/quote]

                              Uhh, I hate to admit it, but yes, my target disk was just slightly smaller than my original image. Interestingly, one reason I was confused and having issues after attempting to deploy an image was because FOG partitioned the disk with the desired size for the image. So when I ran a disk partitioning utility to check it the first thing I saw was an error because a partition was created beyond the limits of the disk. Weird it is even able to do that and not just error out.

                              So, replacing the target disk with a larger one resolved the issue for me. I need to go back and recreate my original image using a much smaller disk.

                              Running FOG 1.2.0

                              My suggestion for an added feature would be to do some sanity check for disk size and give some sort of feedback to the user if a target disk is too small.

                              Thanks for the help and the excellent cloning solution!

                              JF

                              1 Reply Last reply Reply Quote 0
                              • J
                                Junkhacker Developer
                                last edited by Feb 11, 2015, 2:28 PM

                                is there a reason you can’t use a resizeable image type?

                                signature:
                                Junkhacker
                                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                                1 Reply Last reply Reply Quote 0
                                • J
                                  Just10
                                  last edited by Feb 12, 2015, 2:00 PM

                                  I just wanted to chime in - my issue was the target disk was slightly smaller than the original as well (physical to ssd and assuming, without double-checking).

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                  • 2
                                  • 1 / 2
                                  1 / 2
                                  • First post
                                    20/26
                                    Last post

                                  201

                                  Online

                                  12.1k

                                  Users

                                  17.3k

                                  Topics

                                  155.3k

                                  Posts
                                  Copyright © 2012-2024 FOG Project