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

    Grub2 et fog 1.0.1

    Scheduled Pinned Locked Moved
    Linux Problems
    5
    24
    10.3k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      FOG’s imaging process does not work well with logical partitions. I’m sorry about that. It’s only aware of the primary partitions. I don’t know of any cloning software that works well with logical partitions. Though if you must use logical parts, then I’d recommend using the RAW imaging type so everything is completely maintained. It may take a while longer but it should keep everything.

      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
      • R
        raumin
        last edited by

        Thank you for your responses. Ok i understand why it failed.

        Yes, there are 3 logical volumes for Ubuntu. But maybe i can bypass this by using LVM in the third primary partition.

        • sda1 for windows 7 recovery
        • sda2 for c:\
        • sda3 for LVM

        Tom, before FOG, i used DRBL/Clonezilla and if i remember correctly, everything worked properly about logical partitions.

        Thank you, i’ll try it !

        FOG trunk

        1 Reply Last reply Reply Quote 0
        • F
          fractal13 Developer
          last edited by

          I’ve made updates to the fog.download and fog.upload scripts that use sfdisk to save/restore logical partitions. It appears to be working on my test scenarios. I’ll post them to the developer forum, in case you want to use them.

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

            [quote=“fractal13, post: 27826, member: 24300”]I’ve made updates to the fog.download and fog.upload scripts that use sfdisk to save/restore logical partitions. It appears to be working on my test scenarios. I’ll post them to the developer forum, in case you want to use them.[/quote]

            Can this be used to backup MBR?

            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
            • F
              fractal13 Developer
              last edited by

              sfdisk is used to save and restore the partition table layout, in addition to the dd commands to save and restore the MBR.

              So, my changes only deal with MBR style partitions, and leave the MBR bootloader backup as is.

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

                Added in svn trunk.

                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
                • R
                  raumin
                  last edited by

                  Cool fractal13, Tom, these modifications are already implemented ? I updated this morning, i tried to image a machine with logical volume but no success.

                  i let Linux as operating system and put multiple partitions image - single disk.

                  Thank you

                  FOG trunk

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

                    [quote=“raumin, post: 28024, member: 22348”]Cool fractal13, Tom, these modifications are already implemented ? I updated this morning, i tried to image a machine with logical volume but no success.

                    i let Linux as operating system and put multiple partitions image - single disk.

                    Thank you[/quote]

                    I’m absolutely certain they’re included.

                    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
                    • F
                      fractal13 Developer
                      last edited by

                      raumin,

                      Check the /images/YOURIMAGE directory. If there is a d1.partitions file, then the partitions were saved during the upload. If not, did you pull from svn, or download the tar.gz file to update?

                      Thanks.

                      1 Reply Last reply Reply Quote 0
                      • R
                        raumin
                        last edited by

                        Hi, i update this morning, the imaging works great but when the pc restart, a dash is blinking and that’s all. No grub loading.

                        d1.mbr is well present, all my partitions are presents and have the correct size.

                        During the pxe boot, i get a message :

                        [CODE]esas2r : driver will no be loaded because no ATTO esas2r devices were found i2c-parport-light adaptater type unspecified[/CODE]

                        Is this important ?

                        FOG trunk

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

                          [quote=“raumin, post: 28195, member: 22348”]Hi, i update this morning, the imaging works great but when the pc restart, a dash is blinking and that’s all. No grub loading.

                          d1.mbr is well present, all my partitions are presents and have the correct size.

                          During the pxe boot, i get a message :

                          [CODE]esas2r : driver will no be loaded because no ATTO esas2r devices were found i2c-parport-light adaptater type unspecified[/CODE]

                          Is this important ?[/quote]

                          No, this is because your system most likely has either of those two devices. It may be a problem if your systems actually DO have these devices and these errors still are present.

                          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
                          • R
                            raumin
                            last edited by

                            Ok, i just dont know what it is. i2c is a sensor no?

                            FOG trunk

                            1 Reply Last reply Reply Quote 0
                            • F
                              fractal13 Developer
                              last edited by

                              raumin.

                              Are you still having grub2 problems? I just found some more information that could cause grub2 imaging to fail in some common cases. I’m working on a patch now that appears to be promising.

                              1 Reply Last reply Reply Quote 0
                              • F
                                fractal13 Developer
                                last edited by

                                I’ve submitted scripts that improve the grub2 deployment:

                                [url]http://fogproject.org/forum/threads/improved-grub2-solution-proposal.10674/[/url]

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

                                  I’m working on rebuilding my build system(s) as needed after my transition from this weekend.

                                  That said, I’ve added the code base for this into svn. I have not rebuilt the init’s yet, but that will come shortly.

                                  Thank you,

                                  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
                                  • R
                                    raumin
                                    last edited by

                                    Hi,
                                    @fractal13, i didnt retry with logical partition…i put everything in primary.
                                    @Tom, ok !!

                                    But i’ll give it a try ! Thank your support !!

                                    FOG trunk

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

                                      [quote=“raumin, post: 28958, member: 22348”]Hi,
                                      @fractal13, i didnt retry with logical partition…i put everything in primary.
                                      @Tom, ok !!

                                      But i’ll give it a try ! Thank your support !![/quote]

                                      I’m rebuilding the init’s as we speak. Due to my switchover it’s taking a little longer than I’m used to, but it should be completed sometime today.

                                      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
                                      • M
                                        marted @fractal13
                                        last edited by

                                        @fractal13 I can not see your script solution for grub2. I think it was moved or deleted. the link is not working.

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

                                          @marted Thry this link: https://forums.fogproject.org/topic/2976/improved-grub2-solution-proposal

                                          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

                                          183

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project