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

    Error deploying old image with partimage

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    13
    1.2k
    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
      jmeyer @Sebastian Roth
      last edited by

      @sebastian-roth It’s an old image so i am not sure but I think it is one.

      Tom ElliottT 1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @jmeyer
        last edited by

        @jmeyer Has this image been able to be deployed to this same type of hdd in the past?

        Based on the size difference (less than a megabyte) it seems to me the HDD of the receiving drive is just a TINY bit smaller than what was to be expected. It also appears the hdd is about 250GB? Just guessing here.

        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

        J 1 Reply Last reply Reply Quote 0
        • J
          jmeyer @Tom Elliott
          last edited by

          @tom-elliott It’s a new HDD. I have tried on a VM with a 300GB HDD and I think image is corrupt because it doesn’t boot after deploy.

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

            @jmeyer So it does deploy to the 300 GB VM disk? No partimage error?

            What do you see on screen when trying to start the VM? I guess that might be a driver issue. It’s not as easy as deploying an image to any machine or even VM.

            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

            J 1 Reply Last reply Reply Quote 0
            • J
              jmeyer @Sebastian Roth
              last edited by

              @sebastian-roth It deploy fine on the 300GB VM drive or a 1 TB drive.
              I have a black screen with a blinking underscore on the VM.
              On a computer, It’s write “A disk read error occured”.

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

                @jmeyer As I don’t know which VM software you use (virtualbox, vmware, hyper-v, xenserver, kvm, …) I can’t give specific information. What I mean is VMs usually emulate specific disk controllers and other things that most probably differ from what you have as hardware in your physical client. So the drivers in your windows installation fail to work.

                For VMware for example there is a software called “VMware vCenter Converter Standalone” that helps you in moving from a physical machine to a virtual machine.

                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

                J 1 Reply Last reply Reply Quote 0
                • J
                  jmeyer @Sebastian Roth
                  last edited by

                  @sebastian-roth HDD size is one problem link to hardware but I think OS boot is more about first sector of the partition.
                  I remember that my old Windows 7 image were build as windows XP and doesn’t start at 2048 but 63.
                  Thomas had fixed this before but I think he has probably reverted changes.

                  How can i check this ?

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jmeyer @jmeyer
                    last edited by jmeyer

                    I tried setting 63 as first sector using command “fdisk -c=dos /dev/sda” in debug but it’s not working at the end. I must have missed something.

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      jmeyer @jmeyer
                      last edited by jmeyer

                      @sebastian-roth I don’t think to go in the wrong direction about the 63s.
                      Here is what I have from command line on working computer :

                      DISKPART> detail partition
                      
                      Partition 1
                      Type   : 07
                      Masqué : Non
                      Active : Oui
                      Décalage en octets : 32256
                      
                        N° volume   Ltr  Nom          Fs     Type        Taille   Statut     Info
                        ----------  ---  -----------  -----  ----------  -------  ---------  --------
                      * Volume 1     C                NTFS   Partition    232 G   Sain       Système
                      

                      How I can get same result from debug task ?
                      I tried making the partition with parted (mkpart primary 63s 100%) but without success on booting computer.

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

                        @jmeyer I don’t seem to be able to explain this properly. I am not talking about disk size and start sectors although this might be an issue as well. But even if you get this right it still might not be able to boot in the VM as of difference in (virtual) hardware.

                        By the way, is your image UEFI or legacy MBR? Configure your VM accordingly.

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

                        136

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.3k

                        Posts
                        Copyright © 2012-2024 FOG Project