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

    Grub2 et fog 1.0.1

    Scheduled Pinned Locked Moved
    Linux Problems
    5
    24
    10.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.
    • R
      raumin
      last edited by

      Ok, i think Grub2 is not guilty…

      I noticed that my ext4 partitions are not properly imaged ! the / partition should be around 10Gb but the file is 246MB…So Grub2 cannot boot on an non existing FS…

      SO, question…is ext4 well supported with partclone ? I tried with a machine test, all is the same, i just changed the FS with ext3 and the image works great ! I’ll start soon the download on another client…

      FOG trunk

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

        Ok, so everything works great with ext3…a bit disappointed 😢

        FOG trunk

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

          [quote=“raumin, post: 27659, member: 22348”]Ok, i think Grub2 is not guilty…

          I noticed that my ext4 partitions are not properly imaged ! the / partition should be around 10Gb but the file is 246MB…So Grub2 cannot boot on an non existing FS…

          SO, question…is ext4 well supported with partclone ? I tried with a machine test, all is the same, i just changed the FS with ext3 and the image works great ! I’ll start soon the download on another client…[/quote]

          ext4 support IS supported with partclone.

          The File size isn’t the determining factor. If on your server the file size is 246 MB, what’s the actual Data Size in use on the system?

          Ext3 should also be the same. It uses the exact same method to image ext3, for 4 so nothing should change between them.

          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

            Did your Ubuntu installation go to logical or primary partitions? I’ve got a demo client system with windows 7 (primary partitions 1 & 2), and ubuntu 14.04 (primary partition 3 = /, 4 = swap), using grub 2. It appears to be working well. I did have problems when I did the default install, which put the ubuntu partitions as logical (5,6), since it appears these partitions are not cloned correctly.

            1 Reply Last reply Reply Quote 0
            • 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
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            160

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project