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

    Deploying Resizable UEFI linux disk

    Scheduled Pinned Locked Moved Solved
    General
    4
    14
    3.8k
    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.
    • mm EkimiaM
      mm Ekimia
      last edited by

      thanks !

      I meant standard as most of the machines are UEFI now. but you are right I don’t now if it’s really feasible to restore and grow with this layout.

      Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

      1 Reply Last reply Reply Quote 0
      • JunkhackerJ
        Junkhacker Developer
        last edited by

        most machines are UEFI now, but everyone i know (who knows what they’re doing, anyway) runs them in legacy mode.

        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
        • mm EkimiaM
          mm Ekimia
          last edited by

          [quote=“Junkhacker, post: 39232, member: 21583”]most machines are UEFI now, but everyone i know (who knows what they’re doing, anyway) runs them in legacy mode.[/quote]

          Well, We actually know what we are doing as well 🙂

          The point is that we don’t use Fog to handle a classroom or a bunch of company computers but we use it for Linux preinstalled laptops Business.

          This lead us to want to keep using EFI for now but you’re right maybe we’ll finally hit a wall and go back to legacy bu that I’m afraid that legacy mode won’t be supported forever in a few years on new machines .

          I didn’t dig the master branch of FOG yet but I guess this might be something like :

          • I found a partition of type EFI : don’t resize
          • I found a swap partition : don’t resize ( and reuse the UUID as it’s already done now in legacy mode )
          • I found a root partition : resize it to the maximum the disk can handle ( as it’s already done now in legacy mode )

          So the gap does not seems to hard but I’m not expert in this area.

          Will be happy to sumbit a patch if my skills allow it.

          Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

          1 Reply Last reply Reply Quote 0
          • JunkhackerJ
            Junkhacker Developer
            last edited by

            i believe that we actually already have this all functional in the SVN trunk (i personally haven’t tested these features), the biggest holdup so far has been booting into the fog kernel over the network with UEFI computers. so far it can’t be done without some manual interaction at the computer, as i understand it.

            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
            • mm EkimiaM
              mm Ekimia
              last edited by

              Hi I forgot to end this thread.

              We solve this problem by going full Legacy bios on all machines. restoring a singledisk multipartition works great (root partition resizing included)

              Thanks everybody for this great project.

              Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

              ch3iC 1 Reply Last reply Reply Quote 2
              • ch3iC
                ch3i Moderator @mm Ekimia
                last edited by

                @mm-Ekimia said:

                Hi I forgot to end this thread.

                We solve this problem by going full Legacy bios on all machines. restoring a singledisk multipartition works great (root partition resizing included)

                Thanks everybody for this great project.

                Hehe, Thank you for the update 😉

                1 Reply Last reply Reply Quote 1
                • mm EkimiaM
                  mm Ekimia
                  last edited by

                  Hello , even if it was 4 years ago I answer my thread because we now use 1.5.0 which works great .

                  I can now restore a Full EFI Layout ( EFI + Root + Swap) ( However I restore on a BIOS legacy machine as Booting UEFI PXe is still not setup correctly on my side)

                  But Now When I deploy image to a Twice Bigger disk ( either SATA or PCIE ) I get :

                  • EFI partition : 512 MB same size
                  • Root partition ext4 : Twice Bigger ( proportionnaly)
                  • Swap Partition : Twice Bigger

                  Then I wonder if I could avoid that the Swap is twice Bigger ? Because when drive will be 4 times bigger , that will be a Big swap.

                  Thanks

                  Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

                  Tom ElliottT 1 Reply Last reply Reply Quote 1
                  • Tom ElliottT
                    Tom Elliott @mm Ekimia
                    last edited by

                    @mm-ekimia if you know the number of the swap partition, typically 5, add it to the d1.fixed_size_partitions. I believe it does swap as fixed size automatically now too.

                    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

                    mm EkimiaM 1 Reply Last reply Reply Quote 0
                    • mm EkimiaM
                      mm Ekimia @Tom Elliott
                      last edited by

                      Thanks tom , You mean trunk would fix this ?

                      You mean Trunk would detect automatically Fixed size the swap partition ?

                      Even when a SATA captured ( sda3 ) is restored on a PCIE devices ( /dev/nvme1n1p3 )

                      it was working perfectly when the partition scheme was Legacy but with EFI scheme it seems to behave differently

                      Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

                      1 Reply Last reply Reply Quote 0
                      • mm EkimiaM
                        mm Ekimia
                        last edited by

                        Forget my last post 🙂

                        So yes fixed partitions was initialized with :1:3

                        So it seems that the third partition (swap here) should not be resized proportionnaly as I understood.

                        Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

                        1 Reply Last reply Reply Quote 0
                        • mm EkimiaM
                          mm Ekimia
                          last edited by

                          Hi ,

                          just to say that I deployed the same Image to a new SATA disk and the 3rd partition (Swap) had a fixed size as Expected.

                          So I guess that was a mistake on my side.

                          Problem solved !

                          Using Fog 1.5.0 to Preinstall Ubuntu Linux on Desktop and laptops, shipping from France. http://shop.ekimia.fr

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

                          171

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project