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

    FOG Image options when saving an image on a PC that has 2 hard disks?

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    24
    2.9k
    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
      Jim Holcomb @Jim Holcomb
      last edited by

      @Jim-Holcomb Any thoughts here?

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

        @Jim-Holcomb said in FOG Image options when saving an image on a PC that has 2 hard disks?:

        Fog says it cannot find any disks,

        I just remembered we have made some changes to the multi disk code last year. While I can’t promise this will fix your issue I still need to ask you to update to the latest init as this is what we are working on. You can grab a copy of the latest inits (64 bit and 32 bit) and just put that in /var/www/html/fog/service/ipxe/ directory (renaming the original ones just in cast).

        And if it’s still not working I ask you to take a picture of that actual error and post here. Makes it a lot easier to debug when we see where it actually fails. Otherwise it’s a lot of guessing and asking (possibly wrong questions).

        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
          Jim Holcomb @Sebastian Roth
          last edited by

          @Sebastian-Roth Unable. I get this message when clicking on your 32 and 64 bit links:
          Not Found
          You seem to have stumbled upon a page that does not exist. Return to the home page.

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

            @Jim-Holcomb Real sorry, I forgot https:// at the beginning of the links and though they got interpreted as relative URIs. I fixed the URLs just now.

            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
              Jim Holcomb @Sebastian Roth
              last edited by

              @Sebastian-Roth Did what you requested, still same error, no disks found, even though lsblk shows the two hard drives and all the proper partitions.

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

                @Jim-Holcomb I will just quote what I have said before:

                And if it’s still not working I ask you to take a picture of that actual error and post here. Makes it a lot easier to debug when we see where it actually fails. Otherwise it’s a lot of guessing and asking (possibly wrong questions).

                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
                  Jim Holcomb @Sebastian Roth
                  last edited by

                  @Sebastian-Roth It’s the same picture as before, but here you go20200608_105403.jpg

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

                    @Jim-Holcomb The Init version: ... in the picture is still exactly the same as before. Something must have gone wrong when you updated the inits. Please run the following commands and post output here:

                    ls -al /var/www
                    ls -al /var/www/html
                    ls -al /var/www/html/fog
                    ls -al /var/www/html/fog/service/ipxe
                    

                    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
                      Jim Holcomb @Sebastian Roth
                      last edited by Sebastian Roth

                      @Sebastian-Roth said in FOG Image options when saving an image on a PC that has 2 hard disks?:

                      ls -al /var/www
                      ls -al /var/www/html
                      ls -al /var/www/html/fog
                      ls -al /var/www/html/fog/service/ipxe

                      ls -al /var/www
                      root@fog:~# ls -al /var/www
                      total 20
                      drwxr-xr-x  5 root     root     4096 Sep  9  2019 .
                      drwxr-xr-x 16 root     root     4096 Sep  5  2017 ..
                      drwxr-xr-x 10 www-data www-data 4096 Sep  9  2019 fog
                      drwxr-xr-x 10 www-data www-data 4096 Feb 16  2018 fog_1.5.4
                      drwxr-xr-x  2 root     root     4096 Dec  7  2018 html
                      
                      ls -al /var/www/html
                      root@fog:~# ls -al /var/www/html
                      total 20
                      drwxr-xr-x 2 root root  4096 Dec  7  2018 .
                      drwxr-xr-x 5 root root  4096 Sep  9  2019 ..
                      lrwxrwxrwx 1 root root    13 Aug  4  2017 fog -> /var/www/fog/
                      -rw-r--r-- 1 root root 10701 Dec  7  2018 index.html
                      
                      ls -al /var/www/html/fog
                      root@fog:~# ls -al /var/www/html/fog
                      lrwxrwxrwx 1 root root 13 Aug  4  2017 /var/www/html/fog -> /var/www/fog/
                      
                      ls -al /var/www/html/fog/service/ipxe
                      root@fog:~# ls -al /var/www/html/fog/service/ipxe
                      total 94976
                      drwxr-xr-x 2 fogproject www-data     4096 Jun  8 17:55 .
                      drwxr-xr-x 3 www-data   www-data     4096 Sep  9  2019 ..
                      -rw-r--r-- 1 fogproject www-data     1943 Sep  9  2019 advanced.php
                      -rw-r--r-- 1 fogproject www-data    16272 Sep  9  2019 bgdark.png
                      -rw-r--r-- 1 fogproject www-data    21280 Sep  9  2019 bg.png
                      -rw-r--r-- 1 fogproject www-data     1134 Sep  9  2019 boot.php
                      -rw-r--r-- 1 fogproject www-data  8409760 Sep  9  2019 bzImage
                      -rw-r--r-- 1 fogproject www-data  7820576 Sep  9  2019 bzImage32
                      -rw-r--r-- 1 fogproject www-data       76 Sep  9  2019 bzImage32.sha256
                      -rw-r--r-- 1 fogproject www-data       74 Sep  9  2019 bzImage.sha256
                      -rw-r--r-- 1 fogproject www-data   234697 Sep  9  2019 grub.exe
                      -rw-r--r-- 1 fogproject www-data      592 Sep  9  2019 index.php
                      -rw-rw-r-- 1 jimh       jimh     20317908 Jun  8 17:52 init_32.xz
                      -rw-r--r-- 1 fogproject www-data 18862496 Sep  9  2019 init_32.xz.bak
                      -rw-rw-r-- 1 jimh       jimh     20889900 Jun  8 17:50 init.xz
                      -rw-r--r-- 1 fogproject www-data 19689360 Sep  9  2019 init.xz.bak
                      -rw-r--r-- 1 fogproject www-data    25340 Sep  9  2019 memdisk
                      -rw-r--r-- 1 fogproject www-data  1839104 Sep  9  2019 memtest.bin
                      -rw-r--r-- 1 fogproject www-data    29701 Sep  9  2019 refind.conf
                      -rw-r--r-- 1 fogproject www-data   262592 Sep  9  2019 refind.efi
                      -rw-r--r-- 1 fogproject www-data   201600 Sep  9  2019 refind_ia32.efi
                      -rw-r--r-- 1 fogproject www-data   208776 Sep  9  2019 refind_x64.efi
                      
                      1 Reply Last reply Reply Quote 0
                      • S
                        Sebastian Roth Moderator
                        last edited by Sebastian Roth

                        @Jim-Holcomb Ok, seems like you have the new init files in place. Do you see it print a more current Init version: on screen when it boots to a task?

                        If you still see the old version I’d ask you to run the command find /var/www -type f -name "init.xz" and post output here.

                        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
                          Jim Holcomb @Sebastian Roth
                          last edited by

                          @Sebastian-Roth root@fog:/images/m78win10# find /var/www -type f -name “init.xz”
                          /var/www/fog/service/ipxe/init.xz
                          /var/www/fog_1.5.4/service/ipxe/init.xz
                          20200609_151443.jpg

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

                            @Jim-Holcomb Ohhhh well, now that I have looked at the code in detail and checked your pictures over and over again I noticed the kernel parameter fdrive=/dev/nvme0n1 which you have set as Host Primary Disk for when you were imaging only one drive. Setting this will cause the multi disk upload to fail. I know this is not great but really, what do you expect to happen if you force a primary disk setting and still want it to enumerate your two disks on it’s own. This can’t work.

                            Please clear the Host Primary Disk setting from the host and capture again. I am very sure it will find your two disks. If it then fails at a different stop I need you to take a fresh picture and post that here.

                            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 2 Replies Last reply Reply Quote 0
                            • J
                              Jim Holcomb @Sebastian Roth
                              last edited by

                              @Sebastian-Roth Okay will do

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

                                @Sebastian-Roth Gosh darn it, that worked!!! What ultimately was done was what you suggested. Someone else had suggested the primary disk change, that was removed. But there was also some custominit.xz or something like that listed as well, so I changed that to init.xz. Can’t believe it, but that worked! Now going to try and deploy this same image to exact same hardware on different PC. I’ll let you know how the deploy goes. Sebestian (and team) thanks so much for your hard work and diligence on this. -Jim

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

                                  @Jim-Holcomb Great to hear! Keep us posted. I won’t be online much in the next two days though…

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

                                  170

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project