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

    capture minimum image?

    Scheduled Pinned Locked Moved
    General
    capture deploy image size netboot
    3
    15
    2.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.
    • K
      kylian @Sebastian Roth
      last edited by kylian

      @Sebastian-Roth thanks for the reply thats great to hear. what i though was you could capture the image but only deploy it on the same machine because of the hardware.
      what i meant by the capture only the minimum of the storage that is used like 8 gb does the partitioning need to have all unused space marked as unused currently it is just a normal install and the 2TB is mostly allocated to the home folder (i could shrink that down to the minimum really easily so that is no problem)

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

        @kylian Please run the command (as root) mentioned below 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

        K 2 Replies Last reply Reply Quote 0
        • K
          kylian @Sebastian Roth
          last edited by

          @Sebastian-Roth will do wen the capture is done in a litle bit. (already started it about 3 hours ago)

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

            @kylian said in capture minimum image?:

            already started it about 3 hours ago

            In this case I would think it captures in RAW… I would cancel the capture and try to see why it takes so long. A normal capture is done in less than an hour.

            Just switch off the machine capturing, cancel the task in the web UI and boot up your ARCH linux and run the following commands and post output here:

            mount
            lvscan
            sfdisk -d /dev/sda
            

            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
            • K
              kylian @Sebastian Roth
              last edited by

              @Sebastian-Roth

              label: dos
              label-id: 0x4ba3741d
              device: /dev/sda
              unit: sectors
              sector-size: 512
              
              /dev/sda1 : start=        2048, size=     2097152, type=83, bootable
              /dev/sda2 : start=     2099200, size=  1463048192, type=8e
              
              

              thats the output. but wen going to disks i see it is setup as LVM2 so thats the problem i supose (also 750gb thought this laptop was 2tb my bad)

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @kylian
                last edited by

                @kylian said in capture minimum image?:

                but wen going to disks i see it is setup as LVM2

                Yes if you want it to be resizable this needs to be a normal partition not a LVM container.

                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!

                K 1 Reply Last reply Reply Quote 0
                • K
                  kylian @george1421
                  last edited by

                  @george1421 al ride thanks for all help then all my questions are pretty much answered.
                  PS love fog project so far also a great community by the looks of it 🙂

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

                    @kylian Yes, unfortunately current versions of FOG can only capture LVM as RAW. So you’d need to do a fresh install of that system using a plain partitioning.

                    When you do this make sure you use GPT (not MBR) and if possible put the largest partition you want to be resizable as last.

                    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

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      kylian @Sebastian Roth
                      last edited by

                      @Sebastian-Roth oke i will do that the laptop was just installed so it dosnt matter much it needs a reinstall.
                      Also does btrsf work? i like it a lot for the snapshots

                      george1421G 1 Reply Last reply Reply Quote 0
                      • george1421G
                        george1421 Moderator @kylian
                        last edited by george1421

                        @kylian Let me double check but I believe that partclone supports btrfs. Partclone does support it I just need to see if FOG turns it on when compiling Partclone.

                        edit: These are the filesystems that FOG’s flavor of Partclone support

                        ./usr/sbin/partclone.info
                        ./usr/sbin/partclone.dd
                        ./usr/sbin/partclone.restore
                        ./usr/sbin/partclone.chkimg
                        ./usr/sbin/partclone.imager
                        ./usr/sbin/partclone.extfs
                        ./usr/sbin/partclone.hfsp
                        ./usr/sbin/partclone.apfs
                        ./usr/sbin/partclone.xfs
                        ./usr/sbin/partclone.fat
                        ./usr/sbin/partclone.ntfs
                        ./usr/sbin/partclone.btrfs
                        ./usr/sbin/partclone.ext2
                        ./usr/sbin/partclone.ext3
                        ./usr/sbin/partclone.ext4
                        ./usr/sbin/partclone.ext4dev
                        ./usr/sbin/partclone.hfs+
                        ./usr/sbin/partclone.hfsplus
                        ./usr/sbin/partclone.ntfsreloc
                        ./usr/sbin/partclone.fat12
                        ./usr/sbin/partclone.fat16
                        ./usr/sbin/partclone.fat32
                        ./usr/sbin/partclone.vfat
                        

                        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!

                        K 1 Reply Last reply Reply Quote 0
                        • K
                          kylian @george1421
                          last edited by

                          @george1421 alride thanks for the help. i will get to work then 🙂

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

                          142

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project